dma_resv_iter_next(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dma_resv_iter_next(9) πŸ’…

okay bestie, buckle up β€” this is a page straight outta the Kernel API Manual, and it's literally about grabbing the next fence out of a locked dma_resv object. tiny page, big vibes. let's go πŸŽ€


✨ NAME ✨

dma_resv_iter_next β€” get the next fence from a locked dma_resv object. that's it, that's the whole thing πŸ¦‹


✨ SYNOPSIS ✨

struct dma_fence * dma_resv_iter_next (struct dma_resv_iter *cursor );

✨ ARGUMENTS ✨

  • cursor β€” the cursor ✨ this lil guy is what records the current position for you. main character energy, honestly πŸ‘‘

✨ DESCRIPTION ✨

so what it does: it returns the next fences from the dma_resv object β€” and it does that while holding the dma_resv.lock πŸ”’ no cap, the lock part is the whole point. hold it properly, bestie, or it's giving chaos πŸ’€


✨ SEE ALSO ✨

the whole friend group 🫢 β€” the kernel file ./drivers/dma-buf/dma-resv.c, plus:


ngl this one's short but it ate. locked object in, next fence out. periodt πŸ’…

🌸 okay that's the page!! brought to you by ./drivers/dma-buf, dated October 2026, and signed off with love from dma_resv_iter_next(9) β€” stan the fence iterator, mwah πŸ’–βœ¨

πŸ“¦ where this page comes from