scsw_tm_is_valid_fcxs(9)
β¨ scsw_tm_is_valid_fcxs(9) β¨
okay so bestie, welcome to the Kernel API Manual β this little cutie is scsw_tm_is_valid_fcxs(9) and it's lowkey one of the most straightforward functions you'll ever meet. no cap. it does exactly one thing and it does it slayfully π
π NAME π
scsw_tm_is_valid_fcxs β check fcxs field validity π
like, it's literally a vibe check for one single field. that's it. that's the whole job.
β¨ SYNOPSIS β¨
int scsw_tm_is_valid_fcxs (union scsw *scsw );
one function, one argument, returns an int. iconic minimalism honestly π¦
πΈ ARGUMENTS πΈ
scswβ pointer to scsw π«Ά that's yourunion scsw *, bestie. hand it over and let the function do its thing.
π DESCRIPTION π
so here's the tea β β this function looks at the fcxs field of the transport mode scsw you passed in, and:
- returns non-zero if that
fcxsfield is valid β - returns zero otherwise β
that's the whole entire plot. no side quests, no surprises, no hidden lore. it's giving "small function, big main character energy" π and honestly? we respect it.
ngl the wording matters here: non-zero means valid, zero means not valid. don't flip it, bestie, or your validity checks will be a whole mess π
π¦ SEE ALSO π¦
okay this is the part where the friend group gets HUGE β literally the whole scsw extended universe shows up. every single one of these, no skipping π
- Kernel file
./arch/s390/include/asm/scsw.h 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_dstat(9)scsw_tm_is_valid_cstat(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)
like I said. the whole group chat π
and that's the page, bestie!! π this lil guy lives in ./arch/s390/include/asm and the version tag on it is October 2026 β so jot that down, drink some water, and go validate those fcxs fields with confidence πβ¨π«Ά
π¦ 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