scsw_tm_is_valid_dstat(9)
π scsw_tm_is_valid_dstat β a kernel API manual moment
okay so bestie, we're in the scsw_tm_is_valid_dstat(9) era β that's the page name AND the manual section, and honestly it's giving "very specific kernel helper that you'll be so glad exists." It lives in the Kernel API Manual, section 9, and it's about to make your whole dstat situation make sense β¨
π¦ NAME
scsw_tm_is_valid_dstat β check dstat field validity
like, literally just a vibe check for one specific field. no cap π«Ά
β¨ SYNOPSIS
int scsw_tm_is_valid_dstat (union scsw *scsw );
yeah that's it. one function, one argument, one int coming back at you π
πΈ ARGUMENTS
scswβ pointer to scsw. that's the whole thing. a pointer, to an scsw. iconic of it honestly π
π₯ DESCRIPTION
Return non-zero if the dstat field of the specified transport mode scsw is valid, zero otherwise.
so bestie, quick translation: you hand this function your scsw pointer, and it tells you whether the dstat field on that transport mode scsw is valid. valid? you get non-zero. not valid? you get zero. that's the entire plot, and honestly we love a single-purpose function with no side quests π
ngl, remember it's specifically the transport modescswwe're talking about here β that's the whole reason thetmis in the name π
π SEE ALSO
okay this section is a WHOLE friend group, buckle up π§
Kernel file ./arch/s390/include/asm/scsw.h, then:
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_cstat(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_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)
and that's the page, bestie!! π tysm for reading, mwah π
this absolute icon of a manpage ships from ./arch/s390/include/asm, dated October 2026 β go forth and validate those dstat fields, you gorgeous kernel gremlin π¦ππ
π¦ 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