dma_fence_chain_alloc(9)
π dma_fence_chain_alloc(9) β Kernel API Manual π
okay so bestie, welcome to the dma_fence_chain_alloc page β¨ it lives in the Kernel API Manual and it's genuinely such a tiny little icon, but she's important, so let's get into it π
πΈ NAME πΈ
dma_fence_chain_alloc β Returns a new &struct dma_fence_chain object or %NULL on failure. literally that's the whole gig π
β¨ SYNOPSIS β¨
dma_fence_chain_alloc
yep, that's it, that's the synopsis, no arguments, no drama, no cap π¦
π§ DESCRIPTION π§
okay so here's the tea β β this is a specialized allocator, and the way it works is that it has to be a macro for its allocations to be accounted separately (so that it gets its own separate alloc_tag). that's the whole reason, iykyk π₯
and bestie, listen β that typecast you're side-eyeing in there? it is 100% intentional. it's there to enforce typesafety. not a bug, not a leftover, not me being messy. periodt πβ¨
fr fr do not "clean up" the typecast. she's doing her job π«Ά
π SEE ALSO π
- Kernel file
./include/linux/dma-fence-chain.h struct dma_fence_chain(9)to_dma_fence_chain(9)dma_fence_chain_contained(9)dma_fence_chain_free(9)dma_fence_chain_for_each(9)
go read them, they're all iconic in their own way πβ
and that's the page!! mwah π this one comes to you from ./include/linux, dated October 2026, and it's the dma_fence_chain_alloc(9) moment β stay safe, keep your typecasts, and remember: separate alloc_tag, separate vibe πΈππ
π¦ 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