ccw_device_set_options_mask(9)
β¨ ccw_device_set_options_mask(9) β¨
okay so bestie, welcome to the Kernel API Manual, section 9 β this is the ccw_device_set_options_mask page and honestly it's a little icon of a function. it's giving "choose your own adventure but the flags are the adventure" π
πΈ NAME πΈ
ccw_device_set_options_mask β set some options and unset the rest. yes that's the whole vibe: some in, some out, main character energy for the ones you picked π
π¦ SYNOPSIS π¦
int ccw_device_set_options_mask (struct ccw_device *cdev , unsigned long
flags );
literally exactly that, no cap. β¨
π ARGUMENTS π
cdevβ the device for which the options are to be set. this is the little guy we're doing all this for π«Άflagsβ the options to be set. these are the ones getting the yes, the spotlight, the crown π
π DESCRIPTION π
okay so here's the entire lore: all flags specified in flags are set, and all flags not specified in flags are cleared. that's it. that's the function. it's giving "if you're not on the list you're not getting in" π the ones you name get in, everyone else gets uninvited. periodt.
β RETURN β
0on success β we ate, no crumbs π₯-EINVALon an invalid flag combination β not the combo slaying, bestie π
π SEE ALSO π
Kernel file ./drivers/s390/cio/device_ops.c β and the whole friend group:
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_path_mask(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 bestie, read the whole squad β iykyk π
and that's the page fr fr π§ from ./drivers/s390/cio, dated October 2026, signed off with love as ccw_device_set_options_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