STRUCT AP_CONFIG_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ struct ap_config_info(9) πŸ‘‘

okay bestie, welcome to the Kernel API Manual ✨ β€” yes this is the real manual name, no cap, and today's main character is a little struct called struct ap_config_info πŸ’…


🌸 NAME 🌸

struct ap_config_info β€” a convenience struct for AP crypto config info as returned by the ap_qci() function 🫢

like literally, it's just here to make your life easier when ap_qci() hands you the config deets πŸ’–


✨ SYNOPSIS ✨

struct ap_config_info {
    union {
      unsigned int flags;
      struct {
        unsigned int apsc        : 1;
        unsigned int apxa        : 1;
        unsigned int qact        : 1;
        unsigned int rc8a        : 1;
        unsigned int             : 4;
        unsigned int apsb        : 1;
        unsigned int             : 23;
      };
    };
    unsigned char na;
    unsigned char nd;
    unsigned char _reserved0[10];
    unsigned int apm[8];
    unsigned int aqm[8];
    unsigned int adm[8];
    unsigned char _reserved1[16];
 };

no notes, she's iconic πŸ’… look at those bitfields β€” apsc, apxa, qact, rc8a, then a lil anonymous : 4 gap, then apsb, then an anonymous : 23 gap to round out the unsigned int. the way that padding just sits there doing nothing? mood πŸ™ˆ

and yes, _reserved0[10] and _reserved1[16] are literally reserved, bestie β€” hands off 🚫 don't be touching those, they're not for you πŸŽ€


πŸ¦‹ Members πŸ¦‹

  • {unnamed_union} β€” anonymous πŸ‘»
  • {unnamed_struct} β€” anonymous πŸ‘»

(they're the lil anonymous buddies nested inside the outer union, just vibing with no name of their own β€” iykyk ✨)


πŸ”₯ SEE ALSO πŸ”₯

fr fr go read those next, they're all part of the same s390 AP friend group 🫢🌈


πŸŽ€ quick vibe check: everything above is exactly what the page says β€” every flag, every field, every _reserved, every reference. nothing added, nothing skipped. slay πŸ’–

and that's the whole page babes ✨ this one lives in ./arch/s390/include/asm, dated October 2026, and it's still struct ap_config_info(9) in the Kernel API Manual β€” periodt πŸ’…πŸ‘‘

πŸ“¦ where this page comes from