STRUCT DMA_FENCE_CB(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 by dma_fence_add_callback to append this struct to fence::cb_list 🫢
  • func β€” the dma_fence_func_t to 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:


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