fsldma_free_desc_list(9)
π NAME π
fsldma_free_desc_list β frees, like, every single descriptor in a queue β¨ (yes all of them, no crumbs left behind π)
this little cutie lives in the Kernel API Manual (section 9, kernel API things, iykyk) π
β¨ SYNOPSIS β¨
void fsldma_free_desc_list (struct fsldma_chan *chan , struct list_head
*list );
okay so it returns void, bestie β nothing comes back, it's giving "I did the thing, I don't need applause" π
πΈ ARGUMENTS πΈ
chanβ the Freescale DMA channel π¦ your fave, the one holding the locklistβ the list to free π like, the actual list, the whole entire list
π₯ DESCRIPTION π₯
LOCKING: you must hold chan->desc_lock before you call this π not optional, not a suggestion, not a vibe check you can skip β hold the lock, periodt.
π SEE ALSO π
it's giving friend group, honestly π β the whole ./drivers/dma/fsldma.c kernel file is in on this:
fsl_chan_set_src_loop_size(9)fsl_chan_set_dst_loop_size(9)fsl_chan_set_request_count(9)fsl_chan_toggle_ext_pause(9)fsl_chan_toggle_ext_start(9)fsl_dma_free_descriptor(9)fsl_dma_alloc_descriptor(9)fsldma_clean_completed_descriptor(9)fsldma_run_tx_complete_actions(9)fsldma_clean_running_descriptor(9)fsl_chan_xfer_ld_queue(9)fsldma_cleanup_descriptors(9)fsl_dma_alloc_chan_resources(9)fsl_dma_free_chan_resources(9)fsl_dma_memcpy_issue_pending(9)fsl_tx_status(9)
bestie pls β if you're touching descriptors without the lock you're not in your main character era, you're in your segfault era ππ
that's the whole page, bestie β shoutout to the source under ./drivers/dma, October 2026 edition, and this was fsldma_free_desc_list(9) π mwah, go hold that lock π«Άβ
π¦ 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