dma_fence_chain_for_each(9)
π NAME π
dma_fence_chain_for_each β iterate over all fences in chain π«
okay so this is from the Kernel API Manual, and it's literally the group-chat-approved way to loop over every fence in a chain. slay.
β¨ SYNOPSIS β¨
dma_fence_chain_for_each (iter , head );
π«Ά ARGUMENTS π«Ά
iterβ current fence πheadβ starting point π©
π DESCRIPTION π
okay bestie, listen: this iterates over all the fences in the chain. while you're inside the loop, it keeps a reference to the current fence β and you must drop that reference when you break out. no cap, don't just dip and leave it hanging π
for a deep dive iterator, see dma_fence_unwrap_for_each πβ¨
π 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_alloc(9), dma_fence_chain_free(9) π¦
sign-off era: source/version is ./include/linux, dated October 2026 β periodt, that's the whole page, mwah ππ
π¦ 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