STRUCT DMA_FENCE_UNWRAP(9)
β¨ 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β potentialdma_fence_chain, but can be other fence as well. So don't assume, bestie πarrayβ potentialdma_fence_array, but can be other fence as well. Same energy, fr fr πΈindexβ last returned index ifarrayis really adma_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 π
- Kernel file
./include/linux/dma-fence-unwrap.hβ the source file, right there π dma_fence_unwrap_for_each(9)dma_fence_unwrap_merge(9)
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
- 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