dma_chan_put(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, we're doing dma_chan_put(9) from the Kernel API Manual and honestly? it's a tiny little function with big main-character energy πŸ’…

✨ NAME ✨

dma_chan_put β€” drop a reference to a DMA channel's parent driver module

like, you're letting go of a ref, respectfully 🫢


🌸 SYNOPSIS 🌸

void dma_chan_put (struct dma_chan *chan );

no cap, that's the whole signature ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • chan β€” the channel to release. that's your girl to let go of πŸ’–

πŸ’œ DESCRIPTION πŸ’œ

okay so this is the important part, bestie: Must be called under dma_list_mutex.

like, not optional. not "eh, maybe later." you gotta be holding dma_list_mutex when you call this. periodt. πŸ”₯


πŸ¦‹ SEE ALSO πŸ¦‹

go read those if you want the full lore, iykyk πŸ“šβœ¨


and that's the whole vibe check, bestie πŸ’– this cutie lives over in ./drivers/dma, dated October 2026, and it's literally called dma_chan_put(9) β€” slay, goodbye, don't forget your dma_list_mutex πŸŒˆπŸ’…

πŸ“¦ where this page comes from