STRUCT DMA_FENCE_CB(9)
β¨ struct dma_fence_cb(9) β¨
okay bestie so this is from the Kernel API Manual and it's literally the whole vibe of struct dma_fence_cb β a callback holder for dma_fence_add_callback() π
πΈ NAME πΈ
struct dma_fence_cb β the callback for dma_fence_add_callback() π
π¦ SYNOPSIS π¦
struct dma_fence_cb {
struct list_head node;
dma_fence_func_t func;
};
π Members π
nodeβ this one is used bydma_fence_add_callbackto append this struct tofence::cb_listπ«Άfuncβ thedma_fence_func_tto call β
π Description π
so this struct gets initialized by dma_fence_add_callback, and if you want extra data passed along you do it by embedding dma_fence_cb in another struct β¨ like that's the whole move. main character energy fr fr π
π SEE ALSO π
Kernel file ./include/linux/dma-fence.h:
struct dma_fence(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_array(9)dma_fence_is_chain(9)dma_fence_is_container(9)
that's the whole page, no notes π from ./include/linux, dated October 2026, and it goes by struct dma_fence_cb(9) β periodt πβ¨
π¦ 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