ccwgroup_create_dev(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« 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 🫢

  • 0 on 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 🌈

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