cpacf_prno(9)
π cpacf_prno β executes the PRNO (PERFORM RANDOM NUMBER OPERATION) instruction
okay bestie, so this is cpacf_prno from the Kernel API Manual, section 9 β yes, that's the s390 kernel-side of things, and yes it's iconic. Basically this little function is your backstage pass to the PRNO instruction, aka PERFORM RANDOM NUMBER OPERATION. It literally does the thing the name says. No cap. π²β¨
β¨ SYNOPSIS β¨
void cpacf_prno (unsigned long func , void *param , u8 *dest , unsigned
long dest_len , const u8 *seed , unsigned long seed_len );
she takes six arguments and gives you nothing back (it's a void, bestie, she's giving mysterious main character energy π«Ά).
π ARGUMENTS π
funcβ the function code that gets passed straight to PRNO. head over to theCPACF_PRNO_xxxdefines for the menu of options, k? iykyk πparamβ the address of the parameter block. eachfunchas its own lil details, and the POP has the full tea on all of them πβ¨destβ the address of the destination memory area, aka where the output goes to live πΈdest_lenβ the size of that destination memory area, measured in bytes πseedβ the address of the seed data πseed_lenβ the size of the seed data, in bytes π±
ngl, every single one of those six is doing its job and we love that for them. no skipped assignments, no "oops forgot the length" β the lengths are unsigned long and they matter, okay?? π
π¦ SEE ALSO π¦
the whole friend group shows up here, zero gatekeeping:
- Kernel file
./arch/s390/include/asm/cpacf.h cpacf_query(9)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_trng(9)cpacf_pcc(9)cpacf_pckmo(9)cpacf_kma(9)
and that's the whole page, bestie β every argument, every define reference, every sibling function, all accounted for. periodt. π
mwah π this has been cpacf_prno(9) from ./arch/s390/include/asm, dated October 2026 β catch you in the kernel headers, love u, bye ππ§
π¦ 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