to_dma_fence_array(9)
π to_dma_fence_array(9) π
okay so bestie, this icon is straight from the Kernel API Manual, and it's literally the glow-up spell for fences. let's get into it, no cap.
πΈ NAME πΈ
to_dma_fence_array β cast a fence to a dma_fence_array.
β¨ SYNOPSIS β¨
struct dma_fence_array * to_dma_fence_array (struct dma_fence *fence );
π ARGUMENTS π
fenceβ the fence you're trying to cast to adma_fence_array. that's it, that's the assignment.
π DESCRIPTION π
Returns NULL if the fence is not a dma_fence_array, or the dma_fence_array otherwise.
so like, vibe check the fence: wrong type? you get NULL, bestie. right type? you get the dma_fence_array back. simple, iconic, slay.
no hidden plot twists here β the return is exactlyNULLor thedma_fence_array, periodt.
π SEE ALSO π
- Kernel file
./include/linux/dma-fence-array.hstructdma_fence_array_cb(9) - struct
dma_fence_array(9) dma_fence_array_for_each(9)
mwah π that's the whole page, signed off from the source/version ./include/linux in October 2026, page to_dma_fence_array(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