STRUCT DMA_FENCE_UNWRAP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

struct dma_fence_unwrap β€” cursor into the container structure πŸ’…

Okay bestie, this is the struct dma_fence_unwrap(9) page from the Kernel API Manual, and it's literally about being a cursor into the container structure. No cap 🫢

πŸ¦‹ SYNOPSIS πŸ¦‹

       struct dma_fence_unwrap {
           struct dma_fence *chain;
           struct dma_fence *array;
           unsigned int index;
        };

Iconic little struct, obsessed ✨

🧚 Members 🧚

  • chain β€” potential dma_fence_chain, but can be other fence as well. So don't assume, bestie 😌
  • array β€” potential dma_fence_array, but can be other fence as well. Same energy, fr fr 🌸
  • index β€” last returned index if array is really a dma_fence_array πŸ’«

πŸ’– Description πŸ’–

Should be used with the dma_fence_unwrap_for_each iterator macro. That's the main character pairing β€” don't try to make it happen solo, iykyk πŸŽ€

🌈 SEE ALSO 🌈

And that's the tea β˜• From ./include/linux, dated October 2026, filed under struct dma_fence_unwrap(9) β€” mwah, slay πŸ’‹βœ¨

πŸ“¦ where this page comes from