STRUCT ZCRYPT_DEVICE_STATUS_EXT(9)
π 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, andcin 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
- 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