dma_fence_is_array(9)
π dma_fence_is_array
okay so we're in the Kernel API Manual today bestie, and this page is about dma_fence_is_array β one tiny little bool function that answers one very specific question and then dips. iconic behaviour honestly. π
β¨ NAME β¨
dma_fence_is_array β check if a fence is from the array subclass π¦
β¨ SYNOPSIS β¨
bool dma_fence_is_array (struct dma_fence *fence );
β¨ ARGUMENTS β¨
fenceβ the fence to test πΈ like, the one you're side-eyeing and going "hmmβ¦ are you an array or not"
β¨ DESCRIPTION β¨
Return true if it is a dma_fence_array and false otherwise. that's it. that's the whole function. no cap. β¨
it's literally a vibe check for fences π
you hand it a fence, it tells you whether that fence is from the array subclass. true = yes bestie it's a dma_fence_array. false = nope, not this one π«Ά
β¨ SEE ALSO β¨
Kernel file ./include/linux/dma-fence.h and honestly the whole friend group:
struct 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(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_chain(9)dma_fence_is_container(9)
mwah π that's the whole page. source is ./include/linux, dated October 2026, and the header said dma_fence_is_array(9) in case you forgot what you clicked on. go check your fences bestie, ily, bye πβ¨
π¦ 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