Lines Matching refs:cursor
18 __dma_fence_unwrap_array(struct dma_fence_unwrap *cursor) in __dma_fence_unwrap_array() argument
20 cursor->array = dma_fence_chain_contained(cursor->chain); in __dma_fence_unwrap_array()
21 cursor->index = 0; in __dma_fence_unwrap_array()
22 return dma_fence_array_first(cursor->array); in __dma_fence_unwrap_array()
34 struct dma_fence_unwrap *cursor) in dma_fence_unwrap_first() argument
36 cursor->chain = dma_fence_get(head); in dma_fence_unwrap_first()
37 return __dma_fence_unwrap_array(cursor); in dma_fence_unwrap_first()
48 struct dma_fence *dma_fence_unwrap_next(struct dma_fence_unwrap *cursor) in dma_fence_unwrap_next() argument
52 ++cursor->index; in dma_fence_unwrap_next()
53 tmp = dma_fence_array_next(cursor->array, cursor->index); in dma_fence_unwrap_next()
57 cursor->chain = dma_fence_chain_walk(cursor->chain); in dma_fence_unwrap_next()
58 return __dma_fence_unwrap_array(cursor); in dma_fence_unwrap_next()