xgene_dma_c..._descriptors(9)
π xgene_dma_cleanup_descriptors β¨
okay bestie, welcome to the Kernel API Manual entry for xgene_dma_c..._descriptors β yes the title is truncated with those little dots, that's just how it's printed, we don't fix it, we respect it π«Ά
πΈ NAME πΈ
xgene_dma_cleanup_descriptors β cleanup link descriptors which are completed and move them to ld_completed to free until flag 'ack' is set
like, it literally tidies up the finished descriptor girlies and parks them in ld_completed so they can chill there until that 'ack' flag shows up π
β¨ SYNOPSIS β¨
void xgene_dma_cleanup_descriptors (struct xgene_dma_chan *chan );
no return value, she just does the thing π₯
π ARGUMENTS π
chanβ X-Gene DMA channel
that's it, that's the whole argument list, one channel, main character energy π
π¦ DESCRIPTION π¦
okay so here's the vibe: this function is used on descriptors which have been executed by the DMA controller π
what she does, in order, no skipping:
- run any callbacks
- submit any dependencies
- then free these descriptors if flag
'ack'is set
so if 'ack' isn't set? the freeing step just doesn't happen β the descriptors stay put, no cap π
π₯ SEE ALSO π₯
- Kernel file
./drivers/dma/xgene-dma.c struct xgene_dma_chan(9)struct xgene_dma(9)xgene_dma_clean_completed_descriptor(9)xgene_dma_run_tx_complete_actions(9)xgene_dma_clean_running_descriptor(9)xgene_chan_xfer_ld_pending(9)xgene_dma_free_desc_list(9)
like go read all of these, they're all in the same friend group fr fr π§
aaaand that's the page bestie π shoutout to ./drivers/dma for being the source, October 2026 for the date, and xgene_dma_c..._descriptors(9) for the footer β she's iconic, she's truncated, she ate ππ
π¦ 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