Lines Matching refs:chains
103 struct dma_fence **chains; member
119 fc->chains = kvmalloc_array(count, sizeof(*fc->chains), in fence_chains_init()
121 if (!fc->chains) in fence_chains_init()
139 fc->chains[i] = mock_chain(fc->tail, in fence_chains_init()
142 if (!fc->chains[i]) { in fence_chains_init()
147 fc->tail = fc->chains[i]; in fence_chains_init()
149 dma_fence_enable_sw_signaling(fc->chains[i]); in fence_chains_init()
158 dma_fence_put(fc->chains[i]); in fence_chains_init()
162 kvfree(fc->chains); in fence_chains_init()
177 dma_fence_put(fc->chains[i]); in fence_chains_fini()
178 kvfree(fc->chains); in fence_chains_fini()
209 if (fence != fc.chains[i]) { in find_seqno()
223 if (fence != fc.chains[i]) { in find_seqno()
246 if (i > 0 && fence != fc.chains[i - 1]) { in find_seqno()
279 if (fence && fence != fc.chains[0]) { in find_signaled()
324 if (fence != fc.chains[0]) { in find_out_of_order()
361 if (fence != fc.chains[i]) { in find_gap()
377 if (fence != fc.chains[i]) { in find_gap()
510 if (!dma_fence_is_signaled(fc.chains[i])) { in signal_forward()
517 dma_fence_is_signaled(fc.chains[i + 1])) { in signal_forward()
542 if (i > 0 && dma_fence_is_signaled(fc.chains[i])) { in signal_backward()
550 if (!dma_fence_is_signaled(fc.chains[i])) { in signal_backward()