balance_ref_count(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌈 balance_ref_count(9) 🌈

okay bestie, welcome to the balance_ref_count(9) page from the Kernel API Manual πŸ’–. This is the one about catching up the channel reference count, and it's lowkey a tiny page, but we're gonna give it main character energy anyway. ✨


🌸 NAME 🌸

balance_ref_count β€” catch up the channel reference count πŸŽ€

✨ SYNOPSIS ✨

the whole function signature, verbatim, no edits:

void balance_ref_count (struct dma_chan *chan );

πŸŽ€ ARGUMENTS πŸŽ€

  • chan β€” channel to balance ->client_count versus dmaengine_ref_count πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

Must be called under dma_list_mutex β€” that's the vibe check. If you're not holding dma_list_mutex, you're not doing it right, no cap. πŸ”₯

🌈 SEE ALSO 🌈

Kernel file ./drivers/dma/dmaengine.c, plus the whole friend group:


and that's the page, bestie 🫢. this lil manual page comes from ./drivers/dma and is dated October 2026 β€” signing off with sparkles, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from