dma_fence_get_rcu(9)
π 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:
Kernel file ./include/linux/dma-fence.hstruct dma_fence(9)struct dma_fence_cb(9)struct dma_fence_ops(9)dma_fence_was_initialized(9)dma_fence_put(9)dma_fence_get(9)dma_fence_get_rcu_safe(9)dma_fence_spinlock(9)dma_fence_lock_irqsave(9)dma_fence_unlock_irqrestore(9)dma_fence_assert_held(9)Safe external access to driver provided object members(9)dma_fence_is_signaled_locked(9)dma_fence_is_signaled(9)__dma_fence_is_later(9)dma_fence_is_later(9)dma_fence_is_later_or_same(9)dma_fence_later(9)dma_fence_get_status_locked(9)dma_fence_set_error(9)dma_fence_timestamp(9)dma_fence_wait(9)dma_fence_is_array(9)dma_fence_is_chain(9)dma_fence_is_container(9)
okay bye bestie! source/version line: ./include/linux Β· date: October 2026 Β· page: dma_fence_get_rcu(9) πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms