dma_fence_get_rcu(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– dma_fence_get_rcu(9) πŸ’–

okay bestie, welcome to the Kernel API Manual β€” this page is all about dma_fence_get_rcu(9), and it’s lowkey a tiny little refcount situation. no cap. ✨

🌸 NAME 🌸

dma_fence_get_rcu β€” get a fence from a dma_resv_list with rcu read lock. that’s the vibe. 🫢

✨ SYNOPSIS ✨

struct dma_fence * dma_fence_get_rcu (struct dma_fence *fence );

πŸŽ€ ARGUMENTS πŸŽ€

  • fence β€” the fence to increase refcount of. that’s it, that’s the arg πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here’s the whole plot: this function returns NULL if no refcount could be obtained, or it returns the fence. literally that simple, bestie πŸ˜­πŸ’–

πŸ”₯ SEE ALSO πŸ”₯

go read these too β€” the kernel fam is expansive and honestly kinda iconic:


okay bye bestie! source/version line: ./include/linux Β· date: October 2026 Β· page: dma_fence_get_rcu(9) πŸ’–βœ¨

πŸ“¦ where this page comes from