dma_fence_unwrap_for_each(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dma_fence_unwrap_for_each(9) β€” Kernel API Manual ✨

🌸 NAME 🌸

dma_fence_unwrap_for_each β€” okay bestie, this is the iterator that literally goes off and iterates over all the fences in containers. Periodt. πŸ’–

✨ SYNOPSIS ✨

dma_fence_unwrap_for_each (fence , cursor , head );

πŸŽ€ ARGUMENTS πŸŽ€

  • fence β€” the current fence, aka the one you're looking at right now πŸ‘€πŸ’…
  • cursor β€” the current position inside the containers; it's giving "where am I?" bookmark energy πŸŽ―πŸ¦‹
  • head β€” the starting point for the iterator, the launch pad, the main character πŸ‘‘βœ¨

🧚 DESCRIPTION 🧚

So what this does is unwrap dma_fence_chain and dma_fence_array containers and deep dive into all potential fences in them. Like, it's opening the box and then checking every little box inside β€” no fence left behind, fr fr πŸ“¦πŸ”πŸ’–

If head is just a normal fence, only that one is returned. No extra container drama, no chaos β€” just the one fence, slay 🫢

πŸ”₯ SEE ALSO πŸ”₯


byeee bestie πŸ’‹βœ¨ β€” this page came from ./include/linux, dated October 2026, and it's all about dma_fence_unwrap_for_each(9). 🫢🌈

πŸ“¦ where this page comes from