Lines Matching defs:cursor
18 __dma_fence_unwrap_array(struct dma_fence_unwrap *cursor)
20 cursor->array = dma_fence_chain_contained(cursor->chain);
21 cursor->index = 0;
22 return dma_fence_array_first(cursor->array);
28 * @cursor: current position inside the containers
34 struct dma_fence_unwrap *cursor)
36 cursor->chain = dma_fence_get(head);
37 return __dma_fence_unwrap_array(cursor);
43 * @cursor: current position inside the containers
48 struct dma_fence *dma_fence_unwrap_next(struct dma_fence_unwrap *cursor)
52 ++cursor->index;
53 tmp = dma_fence_array_next(cursor->array, cursor->index);
57 cursor->chain = dma_fence_chain_walk(cursor->chain);
58 return __dma_fence_unwrap_array(cursor);