dma_fence_array_for_each(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay bestie, welcome to the dma_fence_array_for_each(9) page in the Kernel API Manual πŸ’– this one is literally about iterating over all fences in an array β€” short, sweet, and very β€œtrust the process” energy ✨


πŸŽ€ SYNOPSIS πŸŽ€

dma_fence_array_for_each (fence , index , head );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • fence β€” the current fence πŸ‘€
  • index β€” the index into the array πŸ”’
  • head β€” the potential dma_fence_array object πŸ’…

✨ DESCRIPTION ✨

So here’s the vibe check: first, test if array is a dma_fence_array object. If yes, slay β€” iterate over all fences in the array 🌈 If not, no big deal, just iterate over the fence in array itself 🫢

for a deep-dive iterator, see dma_fence_unwrap_for_each πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./include/linux/dma-fence-array.h struct
  • dma_fence_array_cb(9)
  • struct dma_fence_array(9)
  • to_dma_fence_array(9)

and that’s the whole page, bestie πŸŽ€ source/version spot is ./include/linux, date is October 2026, and it all belongs to dma_fence_array_for_each(9) β€” periodt πŸ’…βœ¨

πŸ“¦ where this page comes from