vchan_tx_desc_free(9)
π« vchan_tx_desc_free β the Kernel API Manual glow-up π«
okay so bestie, you're in the Kernel API Manual and today's main character is vchan_tx_desc_free(9) β the little function that lets your reusable DMA descriptor go π¦β¨
πΈ NAME πΈ
vchan_tx_desc_free β free a reusable descriptor, literally just set it free π«Ά
β¨ SYNOPSIS β¨
int vchan_tx_desc_free (struct dma_async_tx_descriptor *tx );
π ARGUMENTS π
txβ the transfer π (that's the descriptor you're about to release, bestie)
π DESCRIPTION π
okay so here's the tea: this function frees a descriptor that was, like, previously allocated as a reusable one. It's giving cleanup era. π
The only other way to do this is to clear the DMA_CTRL_REUSE flag and submit one last time the transfer β that's it, those are the two paths, no cap.
It returns 0 upon success β
π SEE ALSO π
- Kernel file
./drivers/dma/virt-dma.cβ go read it, iykyk ππ¦
and that's the whole page, bestie β short and iconic, fr fr. π
source/version: ./drivers/dma Β· dated October 2026 Β· page vchan_tx_desc_free(9) β mwah, ily, go free those descriptors responsibly π§ββοΈππ
π¦ 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