dvb_device_put(9)
π dvb_device_put(9)
okay so this is a page from the Kernel API Manual, bestie β we're in kernel-land, specifically the DVB (digital video broadcasting) corner of it π. And like, it's a short one. Iconic of it honestly.
β¨ NAME β¨
dvb_device_put β decrease the dvb_device reference count π
like, you're letting go of a reference. releasing your grip. saying "okay bye diva" to one refcount π
πΈ SYNOPSIS πΈ
void dvb_device_put (struct dvb_device *dvbdev);
it returns void, so don't go looking for a return value, there isn't one, periodt π
π¦ ARGUMENTS π¦
dvbdevβ pointer tostruct dvb_deviceπ«Ά that's it. that's the whole argument list. a single pointer to astruct dvb_device, the thing you're dropping a reference on.
π§ SEE ALSO π§
okay this is the part where you meet the whole friend group, and they're all defined over in the kernel file ./include/media/dvbdev.h πβ¨ so like, go read that if you want the full lore. iykyk:
enum dvb_device_type(9)struct dvb_adapter(9)struct dvb_device(9)struct dvbdevfops_node(9)dvb_device_get(9)dvb_register_adapter(9)dvb_unregister_adapter(9)dvb_register_device(9)dvb_remove_device(9)dvb_unregister_device(9)dvb_create_media_graph(9)dvb_register_media_controller(9)dvb_get_media_controller(9)dvb_generic_open(9)dvb_generic_release(9)dvb_generic_ioctl(9)dvb_usercopy(9)dvb_module_probe(9)dvb_module_release(9)dvb_attach(9)dvb_detach(9)
like, dvb_device_get(9) is literally right there and it's the opposite vibe β that one increases the reference, this one decreases it. they're a matching set your honor π and yes, the (9) on everything means these are kernel-API pages, that's just how section 9 rolls π
fr fr, if you're here because you grabbed advb_devicereference somewhere, you do need to give it back withdvb_device_putor the accounting gets messy β that's the whole point of the pair, no cap π«Ά
that's the whole page bestie, short and slay π
β¨ β this lil' entry calls ./include/media home and it's dated October 2026 πΈπ¦ so like, bookmark it, screenshot it, whatever, 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