ccw_device_clear(9)
π ccw_device_clear(9) β the Kernel API Manual era
okay so bestie, welcome to ccw_device_clear(9) from the Kernel API Manual β¨ this one's a lil shortie but she's important, so let's get into it π
πΈ NAME πΈ
ccw_device_clear β terminate I/O request processing π
literally the "ok we're DONE here" of I/O requests
β¨ SYNOPSIS β¨
int ccw_device_clear (struct ccw_device *cdev , unsigned long intparm );
π¦ ARGUMENTS π¦
cdevβ the target ccw device, aka the main character of this whole operation πintparmβ the interruption parameter that gets returned upon conclusion ofcschπ«Ά like a lil callback note to your future self
π DESCRIPTION π
so what does she do? ccw_device_clear calls csch on cdev's subchannel. that's it, that's the vibe β¨ no cap, lowkey iconic in its simplicity.
π₯ RETURN π₯
0β on success, slay π-ENODEVβ on device not operational π-EINVALβ on invalid device state π
π CONTEXT π
bestie listen β interrupts disabled, ccw device lock held. this is not a drill, the vibes require it π
fr fr, respect the context or you're gonna have a bad time π
π SEE ALSO π
Kernel file ./drivers/s390/cio/device_ops.c
and the whole friend group π«Ά:
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_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)
okay that's the whole page, ily, go forth and clear those I/O requests responsibly π this came to you from ./drivers/s390/cio, dated October 2026, and she's called ccw_device_clear(9) β periodt π¦β¨
π¦ 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