ccw_device_get_path_mask(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 0 if 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 πŸ¦‹

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