papr_rtas_se...le_interface(9)
π papr_rtas_setup_file_interface(9) β the Kernel API Manual glow-up β¨
Okay bestie, welcome to the Kernel API Manual page for papr_rtas_setup_file_interface (the header up top gets truncated to papr_rtas_se...le_interface(9) which is honestly giving haircut-gone-wrong, but we move πββοΈ). Sit down, hydrate, and let's get into it π«Ά
πΈ NAME πΈ
papr_rtas_setup_file_interface β it finishes off the whole sequence for you, grabs the data, and exports it out to user space using fd-based handles. Then user space just goes and gets the data with a read() handle. That's it, that's the vibe π
β¨ SYNOPSIS β¨
long papr_rtas_setup_file_interface (struct papr_rtas_sequence *seq ,
const struct file_operations *fops , char *name );
Look at her. Three args, one long return, zero notes. Iconic β¨
π ARGUMENTS π
seqβ the RTAS call specific functions that actually go get the data for you π₯fopsβ the RTAS call specific file operations, likeread. You know, the fun stuff πnameβ the RTAS call specific char device node π§
π¦ RETURN π¦
An FD handle for consumption by user space π That's the whole snack, hand-delivered.
π SEE ALSO π
- Kernel file
./arch/powerpc/platforms/pseries/papr-rtas-common.cβ go read the source, iykyk π papr_rtas_blob_extend(9)papr_rtas_blob_generate(9)papr_rtas_run_sequence(9)papr_rtas_retrieve(9)
All of them fr fr part of the same little friend group π
Lowkey a reminder that the synopsis line above is literal β copy it exactly, don't get creative with the types, bestie π
That's the whole page, bestie!! This lil gem lives in ./arch/powerpc/platforms/pseries and it's dated October 2026 β so yes, it's a time traveler, we stan a futurist ππ¦ Thanks for reading, 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