scsw_tm_is_valid_dstat(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 mode scsw we're talking about here β€” that's the whole reason the tm is in the name πŸ’…

πŸŽ€ SEE ALSO

okay this section is a WHOLE friend group, buckle up 🧚

Kernel file ./arch/s390/include/asm/scsw.h, then:


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