ccwgroup_set_offline(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ ccwgroup_set_offline(9) ✨

okay so bestie, this is a page from the Kernel API Manual and it's literally all about ccwgroup_set_offline β€” the function that puts a ccwgroup device to sleep πŸ˜΄πŸ’€


🌸 NAME 🌸

ccwgroup_set_offline β€” disable a ccwgroup device πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int ccwgroup_set_offline (struct ccwgroup_device *gdev , bool call_gdrv );

like, that's the whole signature, no cap ✨


πŸ’… ARGUMENTS πŸ’…

  • gdev β€” the target ccwgroup device πŸ‘‘ this is the one you're putting in timeout
  • call_gdrv β€” Call the registered gdrv set_offline function πŸ“ž like, do you want it to actually ring up the driver's set_offline? this bool is the answer

πŸ’– DESCRIPTION πŸ’–

so what this function does is it attempts to put the ccwgroup device into the offline state πŸŒ™βœ¨ that's it, that's the vibe. it attempts β€” key word, iykyk πŸ™ˆ


🫢 RETURN 🫢

  • 0 on success πŸŽ‰ slay, it worked
  • a negative error value on failure 😭 not slay, something went wrong
ngl bestie, always check that return value. zero is the green flag 🟒, negative is the red flag 🚩

🌈 SEE ALSO 🌈

like, the whole friend group fr fr πŸ«‚πŸ’œ


and that's the page babes πŸŽ€ it lives under ./drivers/s390/cio in the source tree, dated October 2026, and it's ccwgroup_set_offline(9) β€” go forth and offline responsibly πŸ’…βœ¨πŸ“

πŸ“¦ where this page comes from