scsw_is_valid_stctl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the scsw_is_valid_stctl(9) page from the Kernel API Manual β€” it's giving quick validity-check energy and we're gonna get into it. πŸ’–

NAME πŸ’…

scsw_is_valid_stctl β€” check stctl field validity. periodt.


SYNOPSIS ✨

int scsw_is_valid_stctl (union scsw *scsw );

ARGUMENTS 🫢

  • scsw β€” pointer to scsw. literally the scsw you're checking, bestie.

DESCRIPTION πŸ¦‹

okay so this one is simple: it returns non-zero if the stctl field of the specified scsw is valid β€” and that's true regardless of whether it's a transport mode or command mode scsw. no cap.

if the field does not contain a valid value, you get zero back. that's the whole vibe check. πŸ’…

SEE ALSO 🌈

start with the kernel file ./arch/s390/include/asm/scsw.h, then the whole scsw friend group:


mwah πŸ’‹ this cutie lives in ./arch/s390/include/asm, dated October 2026, and the page is scsw_is_valid_stctl(9) β€” bye bestie! 🫢

πŸ“¦ where this page comes from