scsw_cmd_is_valid_cstat(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ scsw_cmd_is_valid_cstat(9) πŸŽ€

okay bestie, welcome to the Kernel API Manual β€” this one is short, cute, and very β€œdoes this field pass the vibe check?” energy. no cap, it’s a tiny validity checker and it ate. πŸ’…


✨ NAME ✨

scsw_cmd_is_valid_cstat β€” check cstat field validity


🌸 SYNOPSIS 🌸

int scsw_cmd_is_valid_cstat (union scsw *scsw );

🫢 ARGUMENTS 🫢

  • scsw β€” pointer to scsw

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically: return non-zero if the cstat field of the specified command mode scsw is valid, and zero otherwise. that’s the whole plot. iconic, honestly. ✨


πŸ’– SEE ALSO πŸ’–

the kernel file is ./arch/s390/include/asm/scsw.h β€” go read it, iykyk. and here’s the whole reference posse, no cap:


xoxo from your kernel bestie πŸ’… β€” source/version: ./arch/s390/include/asm, date: October 2026 🫢✨

πŸ“¦ where this page comes from