scsw_cstat(9)
π
scsw_cstat β the scsw_cstat(9) glow-up
okay so real talk, bestie: we're in the Kernel API Manual, and this page is about one tiny little function that's lowkey carrying the whole cstat situation. no cap. let's go π«Ά
β¨ NAME β¨
scsw_cstat β bestie, it returns the scsw cstat field. that's it. that's the whole job. and she ate π
πΈ SYNOPSIS πΈ
u32 scsw_cstat (union scsw *scsw );
like, look at her. one argument. no drama. returns a u32. iconic.
π ARGUMENTS π
scswβ a pointer toscsw, obviously. literally just hand her the pointer and she'll do the rest. she's not nosy, she's helpful π
π¦ DESCRIPTION π¦
okay so this is the part where it gets cute: scsw_cstat returns the value of the cstat field of the specified scsw, regardless of whether it's a transport mode or command mode scsw β¨
read that again. regardless. she does not care which mode you're in, she is not doing a vibe check on your struct, she's just giving you the cstat value. periodt. π
π SEE ALSO π
the group chat, aka everybody she knows:
- kernel file
./arch/s390/include/asm/scsw.hπ struct cmd_scsw(9)struct tm_scsw(9)struct eadm_scsw(9)union scsw(9)scsw_is_tm(9)scsw_key(9)scsw_eswf(9)scsw_cc(9)scsw_ectl(9)scsw_pno(9)scsw_fctl(9)scsw_actl(9)scsw_stctl(9)scsw_dstat(9)scsw_cmd_is_valid_key(9)scsw_cmd_is_valid_sctl(9)scsw_cmd_is_valid_eswf(9)scsw_cmd_is_valid_cc(9)scsw_cmd_is_valid_fmt(9)scsw_cmd_is_valid_pfch(9)scsw_cmd_is_valid_isic(9)scsw_cmd_is_valid_alcc(9)scsw_cmd_is_valid_ssi(9)scsw_cmd_is_valid_zcc(9)scsw_cmd_is_valid_ectl(9)scsw_cmd_is_valid_pno(9)scsw_cmd_is_valid_fctl(9)scsw_cmd_is_valid_actl(9)scsw_cmd_is_valid_stctl(9)scsw_cmd_is_valid_dstat(9)scsw_cmd_is_valid_cstat(9)scsw_tm_is_valid_key(9)scsw_tm_is_valid_eswf(9)scsw_tm_is_valid_cc(9)scsw_tm_is_valid_fmt(9)scsw_tm_is_valid_x(9)scsw_tm_is_valid_q(9)scsw_tm_is_valid_ectl(9)scsw_tm_is_valid_pno(9)scsw_tm_is_valid_fctl(9)scsw_tm_is_valid_actl(9)scsw_tm_is_valid_stctl(9)scsw_tm_is_valid_dstat(9)scsw_tm_is_valid_cstat(9)scsw_tm_is_valid_fcxs(9)scsw_tm_is_valid_schxs(9)scsw_is_valid_actl(9)scsw_is_valid_cc(9)scsw_is_valid_cstat(9)scsw_is_valid_dstat(9)scsw_is_valid_ectl(9)scsw_is_valid_eswf(9)scsw_is_valid_fctl(9)scsw_is_valid_key(9)scsw_is_valid_pno(9)scsw_is_valid_stctl(9)scsw_cmd_is_solicited(9)scsw_tm_is_solicited(9)scsw_is_solicited(9)
like I said. the whole group chat. she knows everyone π
ngl there is no warning on this page, she's a good girl, she just returns a u32 and minds her business π§
sign-off time bestie π this little page lives at ./arch/s390/include/asm, the version/date vibe on it is October 2026, and the manual it's chilling in is scsw_cstat(9). mwah. go forth and read your cstat field ππΈβ¨
π¦ 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