dmaengine_terminate_sync(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dmaengine_terminate_sync(9) πŸ’…

okay so bestie, this is the dmaengine_terminate_sync(9) page from the Kernel API Manual ✨ and it’s giving β€œare we actually done? fr fr?” energy for DMA termination. no cap.


🌸 NAME 🌸

dmaengine_terminate_sync β€” Terminate all active DMA transfers

✨ SYNOPSIS ✨

int dmaengine_terminate_sync (struct dma_chan *chan );

πŸŽ€ ARGUMENTS πŸŽ€

  • chan β€” The channel for which to terminate the transfers.

πŸ¦‹ DESCRIPTION πŸ¦‹

Calling this function will terminate all active and pending transfers that have previously been submitted to the channel. It is similar to dmaengine_terminate_async, but it guarantees that the DMA transfer has actually stopped and that all complete callbacks have finished running when the function returns. like, actually finished-finished πŸ’…

⚠️ This function must only be called from non-atomic context and must not be called from within a complete callback of a descriptor submitted on the same channel.

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./include/linux/dmaengine.h


happy DMA-ing, bestie 🫢 source/version: ./include/linux · date: October 2026 · page: dmaengine_terminate_sync(9)

πŸ“¦ where this page comes from