scsw_is_valid_dstat(9)
π
scsw_is_valid_dstat β the scsw filesystem-CSW field-inspector page, from the Kernel API Manual β¨
okay so bestie, welcome to the scsw_is_valid_dstat manual page π this one lives over in the Kernel API Manual and it's short, sweet, and honestly kinda iconic for it. we're checking whether one little field is valid. that's the whole vibe. no cap.
πΈ NAME πΈ
scsw_is_valid_dstat β check dstat field validity π
β¨ SYNOPSIS β¨
int scsw_is_valid_dstat (union scsw *scsw );
π«Ά ARGUMENTS π«Ά
scswβ pointer toscsw. that's it, that's the argument. she points, we check π
π DESCRIPTION π
so here's the tea β this function returns non-zero if the dstat field of the specified scsw is valid β and the way it does not care whether it's a transport mode scsw or a command mode scsw is honestly main character energy π like, valid is valid, periodt.
it returns zero if the field does not contain a valid value π that's the vibe check failing, bestie.
fr fr: non-zero = valid dstat, zero = not valid. both modes welcomed, no gatekeeping π¦
π₯ SEE ALSO π₯
okay this list is long long, so buckle up π’ everything below is a real reference and we're not skipping a single one, iykyk:
- Kernel file
./arch/s390/include/asm/scsw.h - struct
cmd_scsw(9), structtm_scsw(9), structeadm_scsw(9), unionscsw(9)
the field accessors:
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_cstat(9)
the command-mode validity crew:
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)
the transport-mode validity crew:
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)
the mode-agnostic validity crew:
scsw_is_valid_actl(9),scsw_is_valid_cc(9),scsw_is_valid_cstat(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)
and the solicited squad:
that's the whole page, bestie β short and slay π this one's from ./arch/s390/include/asm and it's dated October 2026, so go forth and validate those dstat fields, no cap π§β
π¦ 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