scsw_cc(9)
π scsw_cc β return scsw cc field
okay bestie, welcome to the scsw_cc(9) page from the Kernel API Manual β yes it's a section 9 kernel-internals situation, don't panic, we got this π«Ά
β¨ NAME β¨
scsw_cc β return scsw cc field. that's it. that's the whole job. iconic minimalism honestly π
πΈ SYNOPSIS πΈ
u32 scsw_cc (union scsw *scsw );
π ARGUMENTS π
scswβ pointer to scsw. like, a pointer to aunion scsw. that's your whole input, she's low-maintenance π
π¦ DESCRIPTION π¦
so what does she actually do? she returns the value of the cc field of the specified scsw.
and here's the slay part: it does not care whether that scsw is a transport mode scsw or a command mode scsw β either way, you get the cc field back. no mode-checking, no drama, no "sorry bestie wrong variant." she just hands you the value π₯
π SEE ALSO π
the link-up section, aka the whole extended friend group that lives in the 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_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_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)
ngl, if you're digging through s390 channel-subsystem-word internals, you already have main character energy. go read the scsw_is_valid_* family next, bestie, they're all right there π
that's the whole page fr fr π β this little love letter lives in ./arch/s390/include/asm, and it's dated October 2026, from the Kernel API Manual. bye bestie, go read your status fields πβ¨
π¦ 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