dpll_device_put(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dpll_device_put(9) β€” the Kernel API Manual glow-up ✨

okay so you're in the kernel API manual, section 9, and today's main character is dpll_device_put πŸŽ€


✨ NAME ✨

dpll_device_put β€” decrease the refcount and free memory if possible 🫢

like, she's the put to your get, bestie. you borrowed a ref, now you give it back. no cap.


🌸 SYNOPSIS 🌸

void dpll_device_put (struct dpll_device *dpll , dpll_tracker *tracker
);

yep that's the whole vibe. void return, two args, she's not here to chat πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dpll β€” a dpll_device struct pointer πŸ’– like, the actual dpll device object you're dropping a ref on
  • tracker β€” the tracking object for the acquired reference ⭐ she's the receipts, the proof you actually owned that ref, iykyk

πŸ”₯ CONTEXT πŸ”₯

okay so important context bestie, listen up πŸ‘‘

Acquires a lock (dpll_lock) πŸ”’ and drops the reference for a dpll device. and if all the references are gone? she deletes the dpll device object. periodt. ✨

lowkey iconic behaviour β€” last one out turns off the lights πŸ’€

πŸ’œ SEE ALSO πŸ’œ

kernel file: ./drivers/dpll/dpll_core.c πŸ“ (yes, that's where the magic lives)

and the whole dpll squad, all linked, all slaying:


and that's the page, bestie 🫢 this one's from ./drivers/dpll, dated October 2026, and it lives in the Kernel API Manual β€” go forth and put your refs back where you found them πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from