dma_wait_for_async_tx(9)
β¨ dma_wait_for_async_tx β¨
okay so bestie, welcome to the Kernel API Manual for dma_wait_for_async_tx π
this one is a little function with a big job and honestly? she's giving "i will stand here and stare at this transaction until it's done" energy π«Ά
πΈ NAME πΈ
dma_wait_for_async_tx β spin wait for a transaction to complete π
like, literally spin. in a loop. until the transaction is done. no cap π
π SYNOPSIS π
enum dma_status dma_wait_for_async_tx (struct dma_async_tx_descriptor
*tx );
that's the whole signature, bestie β she returns an enum dma_status, and she takes exactly one argument, which is that struct dma_async_tx_descriptor *tx pointer right there β¨
π¦ ARGUMENTS π¦
txβ the in-flight transaction you want to wait on. yes, the one that's literally mid-flight. you're gonna sit here and wait for it to land, and that's the whole vibe π¬
π SEE ALSO π
okay this list is LONG and it's giving "the whole dmaengine friend group showed up to the party" so let's give everyone their moment π
first up, the kernel file:
Kernel file ./drivers/dma/dmaengine.c
then the whole squad, in order, no one gets left out π:
dev_to_dma_chan(9)struct dma_chan_tbl_ent(9)dma_chan_is_local(9)min_chan(9)dma_channel_rebalance(9)balance_ref_count(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_run_dependencies(9)
like i said. whole friend group. iconic behavior, honestly π β¨
π§ a lil sign-off π§
this page lives under ./drivers/dma, and the version/date stamp on it is October 2026 β so yeah, she's from the future-ish and she's thriving π
that's the whole page, bestie β go wait on that transaction, and slay ππ₯
π¦ 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