STRUCT ZCRYPT_DEVICE_STATUS_EXT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct zcrypt_device_status_ext(9) β€” Kernel API Manual ✨

okay bestie, sit down, because we're about to read a whole struct together and honestly? it's giving "small but mighty." this is <pink>struct zcrypt_device_status_ext</pink> from the Kernel API Manual (section 9, kernel-space girlies only πŸ’–), and there's genuinely no long description for it β€” the NAME line is literally just the struct name with a lil dash and nothing after it. mysterious. iconic. moving on to the good part πŸŽ€


🌸 SYNOPSIS 🌸

struct zcrypt_device_status_ext {
    unsigned int hwtype:8;
    unsigned int qid:16;
    unsigned int online:1;
    unsigned int functions:6;
    unsigned int reserved:1;
 };

look at those bit widths, bestie β€” <cyan>8</cyan>, <cyan>16</cyan>, <cyan>1</cyan>, <cyan>6</cyan>, <cyan>1</cyan>. she's packed. she's precise. she does not waste a single bit, no cap πŸ”₯


πŸ¦‹ Members πŸ¦‹

here's the vibe check on every single field, and yes i'm doing all of them, we don't skip πŸ’…

  • hwtype β€” the raw hardware type. raw. unprocessed. straight off the hardware, no filter, no edit πŸ’€
  • qid β€” the device index and the domain, and the split is exactly this: <yellow>8 bit</yellow> device index, <yellow>8 bit</yellow> domain. two halves, one field, main character energy πŸ‘‘
  • functions β€” the AP device function bit field, written out as <purple>'abcdef'</purple>. here's the legend:
    • a, b, c = reserved πŸ™ˆ
    • d = CCA coprocessor πŸ’œ
    • e = Accelerator ⚑
    • f = EP11 coprocessor ✨
  • online β€” the online status. that's it, that's the field. is she online or is she not 🌈
  • reserved β€” reserved. reserved is reserved. we respect her privacy 🫢
fr fr though: a, b, and c in that 'abcdef' bit field are reserved, so don't go putting your own little secrets in there, bestie 😭

⭐ SEE ALSO ⭐

  • kernel file ./arch/s390/include/uapi/asm/zcrypt.h πŸ“
  • struct ica_rsa_modexpo(9)
  • struct ica_rsa_modexpo_crt(9)
  • struct ep11_cprb(9)
  • struct ep11_target_dev(9)
  • struct ep11_urb(9)

go read those too, i believe in you 🧚


that's the whole page, bestie β€” no more, no less, every bit accounted for πŸ’–

sign-off szn πŸŽ€ this little love letter lives in ./arch/s390/include/uapi/asm, dated October 2026, and it's filed under struct zcrypt_device_status_ext(9) because of course it is. slay, stay online, and don't touch the reserved bits πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from