dma_resv_iter_end(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dma_resv_iter_end(9) β€” from the Kernel API Manual, bestie

okay so welcome to the Kernel API Manual, this is the page for dma_resv_iter_end and honestly it's a short one but it's lowkey important, so pay attention πŸŽ€


✨ NAME ✨

dma_resv_iter_end β€” cleanup a dma_resv_iter object

like, you're done with your iterator, so now you tidy up. main character energy: leaving things cleaner than you found them πŸ§ΉπŸ’–


✨ SYNOPSIS ✨

void dma_resv_iter_end (struct dma_resv_iter *cursor );

no return value, she returns nothing, she just does the thing 🫢


✨ ARGUMENTS ✨

  • cursor β€” the dma_resv_iter object which should be cleaned up. like, this exact one. the iterator you're done with. not a different one, bestie, this one 🌸

✨ DESCRIPTION ✨

Make sure that the reference to the fence in the cursor is properly dropped. πŸ”₯

that's it. that's the whole job. you call this and the fence ref inside your cursor gets dropped correctly instead of just... vibing there forever and leaking. we love a clean drop, no cap πŸ’…βœ¨


✨ SEE ALSO ✨

so if you wanna go deeper (and you should, iykyk), the Kernel file is ./include/linux/dma-resv.h β€” that's the home base for all of this 🌈

the whole friend group:

okay that's literally the entire squad, go read them, they ate πŸ‘‘


fr fr though: begin it, use it, then end it. the reference to the fence gets dropped properly β€” that's the whole point, don't skip it πŸ™ˆ

and that's the page!! brought to you from ./include/linux, the Kernel API Manual version October 2026, filed under dma_resv_iter_end(9) β€” mwah, go forth and drop your refs responsibly πŸ’œπŸ¦‹πŸ“

πŸ“¦ where this page comes from