scsw_cmd_is_valid_pno(9)
π scsw_cmd_is_valid_pno(9) β like, the Kernel API Manual page, bestie π
okay so picture this: it's a Kernel API Manual page, the function is literally called scsw_cmd_is_valid_pno, and it's here to do one (1) glorious thing. Let's get into it π«Ά
β¨ NAME β¨
scsw_cmd_is_valid_pno β check pno field validity π
Yeah. That's the whole job. It checks if the pno field is valid. Main character behavior, honestly.
πΈ SYNOPSIS πΈ
int scsw_cmd_is_valid_pno (union scsw *scsw );
That's it. That's the whole vibe check. β¨
π ARGUMENTS π
scswβ pointer toscsw. that's the tea, that's the whole argument, she's a pointer to anunion scswand she's doing her best π
π¦ DESCRIPTION π¦
okay so here's the deal, no cap: this function returns non-zero if the pno field of the specified command mode scsw is valid, and zero otherwise. That's it!! That's the entire function!! She's a little boolean gremlin and we love her for it ππ
like, that's the whole thing. is pno valid? yes or no. iconic. periodt. π
π SEE ALSO π
bestie there are SO many siblings in this family, buckle up π§ββοΈ first off, the Kernel file:
./arch/s390/include/asm/scsw.h
and then the whole extended friend group:
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_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_dstat(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)
iykyk π«
okay that's the whole page!! mwah π this little baddie lives in ./arch/s390/include/asm and this version is dated October 2026 β check the source for the freshest tea, bestie πβ¨
π¦ 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