dma_wait_for_async_tx(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 πŸ‘‘:

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