STRUCT ERW(9)
π¦ struct erw(9) π¦
okay so bestie, we're deep in the kernel API manual today β this is struct erw(9), the extended report word. yes it's giving main-character energy in <arch/s390/include/asm> land, and yes i'm obsessed π
β¨ NAME β¨
struct erw β the extended report word, fr fr π
πΈ SYNOPSIS πΈ
struct erw {
__u32 res0 : 3;
__u32 auth : 1;
__u32 pvrf : 1;
__u32 cpt : 1;
__u32 fsavf : 1;
__u32 cons : 1;
__u32 scavf : 1;
__u32 fsaf : 1;
__u32 scnt : 6;
__u32 res16 : 16;
};
likeβ¦ look at her. all bitfields, all iconic, no notes π (yes, the closing brace has a lil extra space before it in the original β we keep it exactly, periodt)
π Members π
ok so here's the bit-by-bit breakdown, and ngl every single one matters:
res0β reserved π«Ά (not yours, don't touch)authβ authorization checkpvrfβ path-verification-required flagcptβ channel-path timeoutfsavfβ failing storage address validity flagconsβ concurrent sensescavfβ secondary ccw address validity flagfsafβ failing storage address formatscntβ sense count, but only ifcons == 1π (read the room, bestie β it's conditional)res16β reserved, again π (also not yours)
π₯ SEE ALSO π₯
go read the whole friend group, they're all linked from Kernel file ./arch/s390/include/asm/cio.h:
struct ccw1(9)struct ccw0(9)struct erw_eadm(9)struct sublog(9)struct esw0(9)struct esw1(9)struct esw2(9)struct esw3(9)struct esw_eadm(9)struct irb(9)struct ciw(9)struct ccw_dev_id(9)ccw_dev_id_is_equal(9)pathmask_to_pos(9)
like genuinely a whole squad β say hi to all of them for me π
β and that's the whole vibe check! every field, every flag, every see-also, nothing skipped. iykyk π
okay bye bestie, mwah π this little page came to you from ./arch/s390/include/asm, dated October 2026, and it's still out here living its best struct erw(9) life π¦β¨πΈ
π¦ 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