cpacf_query(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 to struct 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:


xoxo, this one's from source/version ./arch/s390/include/asm, dated October 2026. mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from