ccw_device_set_offline(9)
π ccw_device_set_offline(9) π
Okay so welcome to the Kernel API Manual side of the group chat, bestie β today's main character is ccw_device_set_offline(9), and she is literally here to disable a ccw device for I/O. Periodt. π
π NAME π
ccw_device_set_offline - disable a ccw device for I/O. No cap, that's the whole name vibe. β¨
πΈ SYNOPSIS πΈ
int ccw_device_set_offline (struct ccw_device *cdev );
π¦ ARGUMENTS π¦
cdevβ the target ccw device. Like, the device we're about to take offline, iykyk. π«Ά
β¨ DESCRIPTION β¨
So this function calls the driver's set_offline function for cdev, if that function is given, and then it disables cdev. That's it. She's simple, she's effective, she's iconic. π
π₯ RETURN π₯
0on success β slay, it worked. β- A negative error value on failure β not slay, but at least you know. π
π CONTEXT π
Context check, bestie: enabled, and the ccw device lock is not held. π§
π SEE ALSO π
Kernel file ./drivers/s390/cio/device.c β go read, bestie, it's giving source material. π
ccw_device_set_online(9)get_ccwdev_by_dev_id(9)ccw_purge_blacklisted(9)io_subchannel_sch_event(9)ccw_device_wait_idle(9)get_ccwdev_by_busid(9)ccw_driver_register(9)ccw_driver_unregister(9)ccw_device_sched_todo(9)ccw_device_siosl(9)
Catch you later, bestie! Source/version: ./drivers/s390/cio; date: October 2026; page: ccw_device_set_offline(9) β mwah! ππ
π¦ 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