ccwgroup_create_dev(9)
π« ccwgroup_create_dev(9) π«
okay so bestie, welcome to the Kernel API Manual β¨ this one's a little s390-flavored baddie and honestly? she slays. we're talking ccwgroup_create_dev β the girl who creates and registers a ccw group device. main character energy fr fr π
πΈ SYNOPSIS πΈ
int ccwgroup_create_dev (struct device *parent , struct ccwgroup_driver
*gdrv , int num_devices , const char *buf );
like, that's the whole signature. she's not complicated, she just works. π
π ARGUMENTS π
parentβ the parent device for the new device. yes bestie, she needs a parent, we're not raising this device in the wild πgdrvβ the driver for the new group device. this is the vibe-setter, the driver in charge π¦num_devicesβ number of slave devices. count 'em π’bufβ buffer containing comma separated bus ids of slave devices. yep, comma separated bus ids, keep that in mind π
β¨ DESCRIPTION β¨
so what does she actually do? she creates and registers a new ccw group device as a child of parent. that's the whole assignment and she ate π₯
the slave devices? obtained from the list of bus ids given in buf. so you hand her the comma separated bus ids and she goes and gets her girls π
π«Ά RETURN π«Ά
0on success π- an error code on failure π (and that's it, no in-between, no "maybe", periodt)
β CONTEXT β
non-atomic. so like, she's not doing that atomic thing, mkay? lowkey important to know π§
π SEE ALSO π
- kernel file
./drivers/s390/cio/ccwgroup.cβ the source of truth, go read her π ccwgroup_set_online(9)ccwgroup_set_offline(9)ccwgroup_driver_register(9)ccwgroup_driver_unregister(9)ccwgroup_probe_ccwdev(9)ccwgroup_remove_ccwdev(9)
like the whole friend group, honestly. iykyk π
so yeah, that's the page π¦ she lives in ./drivers/s390/cio and this little drop is dated October 2026 β take care of her bestie, and ngl you're gonna do great π€β¨π
π¦ 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