dma_fence_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– dma_fence_get(9) πŸ’–

okay so we're in the Kernel API Manual today bestie, and this is the page for dma_fence_get β€” the little function that's literally just "yes, keep this fence alive please" πŸŽ€


✨ NAME ✨

dma_fence_get β€” increases refcount of the fence πŸ”₯


🌸 SYNOPSIS 🌸

struct dma_fence * dma_fence_get (struct dma_fence *fence );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • fence β€” the fence whose refcount you're bumping up. that's it, that's the whole argument πŸ’…

πŸ’œ DESCRIPTION πŸ’œ

Returns the same fence, with refcount increased by 1. that's genuinely the entire lore. it hands you back the exact same fence you passed in, just with one more ref on it. no cap, that's the whole function 🫢✨


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./include/linux/dma-fence.h 🌈 and like, a whole friend group of related pages:


ngl bestie, if you take a ref with dma_fence_get you gotta give it back with dma_fence_put β€” that's the vibe check that keeps the kernel from leaking. don't leave it on read πŸ’€

anyway that's the page!! brought to you from ./include/linux, dated October 2026, in the Kernel API Manual β€” mwah, go forth and refcount responsibly πŸ§šπŸ’–β­

πŸ“¦ where this page comes from