xgene_dma_c..._descriptors(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:

  1. run any callbacks
  2. submit any dependencies
  3. 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 πŸ”₯

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