cpacf_query(9)
π cpacf_query(9) π
πΈ NAME πΈ
okay so bestie, this is cpacf_query from the Kernel API Manual β the little icon whose whole job is: Query the function code mask for this CPACF opcode. π literally that. no cap.
β¨ SYNOPSIS β¨
int cpacf_query (unsigned int opcode , cpacf_mask_t *mask );
π ARGUMENTS π
opcodeβ the opcode of the crypto instruction π’maskβ ptr tostruct cpacf_mask_tπ«Ά
π DESCRIPTION π
Executes the query function for the given crypto instruction opcode and checks if func is available. periodt. β¨
On success, 1 is returned and the mask is filled with the function code mask for this CPACF opcode. Otherwise, 0 is returned. that's the whole return-value tea: 1 = success + filled mask, 0 = not today. π
π SEE ALSO π
Kernel file ./arch/s390/include/asm/cpacf.h is the home base π β and bestie, go say hi to these too:
cpacf_qai(9)cpacf_km(9)cpacf_kmc(9)cpacf_kimd(9)cpacf_klmd(9)_cpacf_kmac(9)cpacf_kmac(9)cpacf_kmctr(9)cpacf_prno(9)cpacf_trng(9)cpacf_pcc(9)cpacf_pckmo(9)cpacf_kma(9)
xoxo, this one's from source/version ./arch/s390/include/asm, dated October 2026. mwah ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms