dmaengine_terminate_all(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dmaengine_terminate_all(9) β€” like, the whole kernel API manual tea πŸ’…

okay so bestie, welcome to the Kernel API Manual page for dmaengine_terminate_all, and ngl this one is short but it's important, so stay with me 🫢


✨ NAME ✨

dmaengine_terminate_all β€” literally "Terminate all active DMA transfers" πŸ’€ that's the whole vibe, it stops the transfers, all of them, the active ones ✨


🌸 SYNOPSIS 🌸

int dmaengine_terminate_all (struct dma_chan *chan );

it's giving int, it's giving a single pointer argument, it's giving very demure, very mindful signature πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • chan β€” the channel for which to terminate the transfers. yes bestie, that channel, the one you're pointing at, hand it over πŸ’…

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the part where I hold your hand and say it gently: this function is DEPRECATED. like, capital-D deprecated, the kernel is not in love with it anymore 😭

use either dmaengine_terminate_sync or dmaengine_terminate_async instead, fr fr ⭐

no cap, please don't build new stuff on this one, she's retired but still in the file πŸŽ€

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./include/linux/dmaengine.h β€” go read it, it's the whole squad ✨

and then, bestie, the entire extended friend group, because dmaengine does not do small circles:

like, that's the whole group chat and every single one of them ate πŸ”₯ iykyk 🧚


and that's the page, bestie πŸ’– this iconic little entry lives under ./include/linux in the Kernel API Manual, stamped October 2026 β€” mwah, go terminate something (with the non-deprecated functions, obviously) πŸŽ€πŸ’œ

πŸ“¦ where this page comes from