balance_ref_count(9)
π 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_countversusdmaengine_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:
dev_to_dma_chan(9)struct dma_chan_tbl_ent(9)dma_chan_is_local(9)min_chan(9)dma_channel_rebalance(9)dma_chan_get(9)dma_chan_put(9)dma_find_channel(9)dma_issue_pending_all(9)dma_get_slave_channel(9)__dma_request_channel(9)dma_request_chan(9)dma_request_chan_by_mask(9)devm_dma_request_chan(9)dmaengine_get(9)dmaengine_put(9)dma_async_device_register(9)dma_async_device_unregister(9)dmaenginem_async_device_register(9)dma_wait_for_async_tx(9)dma_run_dependencies(9)
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
- 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