ccw_device_get_path_mask(9)
π ccw_device_get_path_mask β a kernel API manual moment
okay so bestie, welcome to the Kernel API Manual entry for ccw_device_get_path_mask(9) β¨ this one's a lil cutie β it's short, it's sweet, and it tells you which paths are currently out here being available. let's get into it π
β¨ NAME β¨
ccw_device_get_path_mask β get currently available paths π
like, literally that's the whole job. it hands you the mask of paths that are available right now π«Ά
β¨ SYNOPSIS β¨
__u8 ccw_device_get_path_mask (struct ccw_device *cdev );
that's it. one argument, one __u8 coming back at you π
β¨ ARGUMENTS β¨
cdevβ the ccw device you're querying π like, the one you want the tea about. this is the device to be queried, periodt.
β¨ RETURN β¨
okay so the return value is giving two moods π
- it returns
0if there's, like, no subchannel available for the device π (sad but valid) - otherwise it returns the mask of currently available paths for the ccw device's subchannel β¨π₯
so: 0 = nothing to work with, anything else = your path mask, slay π
β¨ SEE ALSO β¨
bestie there are SO many friends in this group chat, buckle up π¦
- Kernel file
./drivers/s390/cio/device_ops.cπ ccw_device_set_options_mask(9)ccw_device_set_options(9)ccw_device_clear_options(9)ccw_device_is_pathgroup(9)ccw_device_is_multipath(9)ccw_device_clear(9)ccw_device_start_timeout_key(9)ccw_device_start_key(9)ccw_device_start(9)ccw_device_start_timeout(9)ccw_device_halt(9)ccw_device_resume(9)ccw_device_get_ciw(9)ccw_device_get_chp_desc(9)ccw_device_get_util_str(9)ccw_device_get_id(9)ccw_device_tm_start_timeout_key(9)ccw_device_tm_start_key(9)ccw_device_tm_start(9)ccw_device_tm_start_timeout(9)ccw_device_get_mdc(9)ccw_device_tm_intrg(9)ccw_device_get_schid(9)ccw_device_pnso(9)ccw_device_get_cssid(9)ccw_device_get_iid(9)ccw_device_get_chpid(9)ccw_device_get_chid(9)
ngl that's a whole friend group and every single one of them is iconic π go read them all, iykyk π
π‘ friendly reminder: this page lives under ./drivers/s390/cio β that's the neighborhood π‘
and that's the whole page, bestie! you ate that πΈ
kisses from the Kernel API Manual, sourced from ./drivers/s390/cio, dated October 2026, page ccw_device_get_path_mask(9) π§ββοΈπ
π¦ 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