Lines Matching refs:array
48 struct dma_fence_array *array; in mock_array() local
62 array = dma_fence_array_create(num_fences, fences, in mock_array()
65 if (!array) in mock_array()
67 return &array->base; in mock_array()
98 struct dma_fence *f, *chain, *array; in sanitycheck() local
107 array = mock_array(1, f); in sanitycheck()
108 if (!array) in sanitycheck()
111 chain = mock_chain(NULL, array); in sanitycheck()
121 struct dma_fence *fence, *f1, *f2, *array; in unwrap_array() local
139 array = mock_array(2, f1, f2); in unwrap_array()
140 if (!array) in unwrap_array()
143 dma_fence_unwrap_for_each(fence, &iter, array) { in unwrap_array()
159 dma_fence_put(array); in unwrap_array()
209 struct dma_fence *fence, *f1, *f2, *array, *chain; in unwrap_chain_array() local
227 array = mock_array(2, f1, f2); in unwrap_chain_array()
228 if (!array) in unwrap_chain_array()
231 chain = mock_chain(NULL, array); in unwrap_chain_array()