dmaengine_terminate_all(9)
π 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:
dma_cookie_t(9)enum dma_status(9)enum dma_transaction_type(9)enum dma_transfer_direction(9)struct data_chunk(9)struct dma_interleaved_template(9)struct dma_vec(9)enum dma_ctrl_flags(9)enum sum_check_bits(9)enum sum_check_flags(9)enum dma_desc_metadata_mode(9)struct dma_chan_percpu(9)struct dma_router(9)struct dma_chan(9)struct dma_chan_dev(9)enum dma_slave_buswidth(9)struct dma_slave_config(9)enum dma_residue_granularity(9)struct dma_slave_caps(9)dma_filter_fn(9)struct dma_async_tx_descriptor(9)struct dma_tx_state(9)enum dmaengine_alignment(9)struct dma_slave_map(9)struct dma_filter(9)struct dma_device(9)dmaengine_prep_peripheral_dma_vec(9)dmaengine_prep_config_sg_safe(9)dmaengine_prep_config_single_safe(9)dmaengine_prep_dma_memset(9)dmaengine_terminate_async(9)dmaengine_synchronize(9)dmaengine_terminate_sync(9)dma_async_issue_pending(9)dma_async_is_tx_complete(9)dma_async_is_complete(9)
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
- 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