Lines Matching refs:chains
101 struct dma_fence **chains; member
117 fc->chains = kvmalloc_array(count, sizeof(*fc->chains), in fence_chains_init()
119 if (!fc->chains) in fence_chains_init()
137 fc->chains[i] = mock_chain(fc->tail, in fence_chains_init()
140 if (!fc->chains[i]) { in fence_chains_init()
145 fc->tail = fc->chains[i]; in fence_chains_init()
154 dma_fence_put(fc->chains[i]); in fence_chains_init()
158 kvfree(fc->chains); in fence_chains_init()
173 dma_fence_put(fc->chains[i]); in fence_chains_fini()
174 kvfree(fc->chains); in fence_chains_fini()
205 if (fence != fc.chains[i]) { in find_seqno()
219 if (fence != fc.chains[i]) { in find_seqno()
242 if (i > 0 && fence != fc.chains[i - 1]) { in find_seqno()
275 if (fence && fence != fc.chains[0]) { in find_signaled()
320 if (fence != fc.chains[0]) { in find_out_of_order()
357 if (fence != fc.chains[i]) { in find_gap()
373 if (fence != fc.chains[i]) { in find_gap()
506 if (!dma_fence_is_signaled(fc.chains[i])) { in signal_forward()
513 dma_fence_is_signaled(fc.chains[i + 1])) { in signal_forward()
538 if (i > 0 && dma_fence_is_signaled(fc.chains[i])) { in signal_backward()
546 if (!dma_fence_is_signaled(fc.chains[i])) { in signal_backward()