dma_async_is_complete(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« dma_async_is_complete(9) πŸ’«

okay so bestie, welcome to the Kernel API Manual ✨ this one is dma_async_is_complete, and it is literally the vibe-check function for DMA cookies πŸͺ


🌸 NAME 🌸

dma_async_is_complete β€” test a cookie against chan state πŸͺβœ…


✨ SYNOPSIS ✨

enum dma_status dma_async_is_complete (dma_cookie_t cookie ,
dma_cookie_t last_complete , dma_cookie_t last_used );

no cap, that's the whole signature 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • cookie β€” the transaction identifier you're testing the status of πŸͺπŸ” like, this is the cookie we're asking about
  • last_complete β€” the last known completed transaction πŸ’… the most recent one we know finished
  • last_used β€” the last cookie value handed out 🎫 the freshest number that got given away

πŸ¦‹ DESCRIPTION πŸ¦‹

so dma_async_is_complete is the little icon that gets used in dma_async_is_tx_complete πŸ‘‘ and the reason the logic is split out like this? it's for lightweight testing of multiple cookies 🌈 like, you can check a whole bunch of them without dragging the whole heavy machinery along. lowkey elegant, highkey slay πŸ’…βœ¨


πŸ”₯ SEE ALSO πŸ”₯

kernel file ./include/linux/dmaengine.h πŸ“ and then, bestie, brace yourself, because the friend group is huge:

fr fr, that's the whole group chat πŸ“±πŸ’–


ok and one last thing bestie β€” this page lives at ./include/linux πŸ“‚ and it's dated October 2026 πŸ—“οΈ so like, mark your calendar, mwah πŸ’‹ periodt πŸ‘‘

hope that helped, ily, go check those cookies πŸͺπŸ’œ

πŸ“¦ where this page comes from