to_dma_fence_chain(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… to_dma_fence_chain(9) β€” Kernel API Manual, but make it make sense

okay bestie, so this is a page from the Kernel API Manual and it's genuinely tiny, so let's get into it πŸŽ€


✨ NAME ✨

to_dma_fence_chain β€” literally just casts a fence to a dma_fence_chain. that's the whole job. icon behavior, no notes πŸ’…


🌸 SYNOPSIS 🌸

struct dma_fence_chain * to_dma_fence_chain (struct dma_fence *fence );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • fence β€” the fence you wanna cast to a dma_fence_array 🫢
ok so yes, the page really does say dma_fence_array there even though the function hands back a dma_fence_chain. not me reading it three times 😭 we're preserving it exactly as written, don't come for me.

πŸ’– DESCRIPTION πŸ’–

so here's the vibe check: it returns NULL if the fence is not a dma_fence_chain, or the dma_fence_chain otherwise. that's it. that's the function. short and slay ✨

like β€” it's giving "are you who you say you are?" but for fences. lowkey obsessed with how simple this is πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

go read the whole friend group, fr fr 🧚


🌈 the cute sign-off 🌈

this lil page lives in ./include/linux and it's dated October 2026 β€” yes, future-dated, main character energy, we don't question it πŸ’€β­ bye bestie, go cast some fences πŸ“πŸ’œ

πŸ“¦ where this page comes from