comedi_put_...vice_running(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… comedi_put_is_subdevice_running(9) β€” Kernel API Manual πŸŽ€

okay so bestie, welcome to the Kernel API Manual, we're literally in the kernel driver zone rn πŸ’–


✨ NAME ✨

comedi_put_is_subdevice_running β€” basically you're dropping off the async command running thing on a subdevice, like "k bye, done with that reference" 🫢


🌸 SYNOPSIS 🌸

void comedi_put_is_subdevice_running (struct comedi_subdevice *s );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • s β€” the COMEDI subdevice. like, the actual subdevice struct you're passing in, that one πŸ‘‘

πŸ’« DESCRIPTION πŸ’«

so here's the tea β˜• β€” this function decrements the reference counter. and which reference counter, you ask? the exact one that got incremented when comedi_get_is_subdevice_running returned true. so if you called the getter and it said "yeah it's running," you gotta call this to put that reference back before you dip, no cap πŸƒβ€β™€οΈπŸ’¨

it's giving symmetry. get β†’ put. iconic behavior fr fr ✨


πŸ’€ SEE ALSO πŸ’€

kernel file ./drivers/comedi/comedi_fops.c, plus all these besties:

like, go read them, they're all connected, iykyk πŸ”₯πŸ‘‘


anyway that's the whole page bestie, mwah πŸ’‹ β€” this lil number lives under ./drivers/comedi in the Kernel API Manual, dated October 2026. slay, go decrement responsibly 🌈⭐

πŸ“¦ where this page comes from