Lines Matching refs:usage
65 enum dma_resv_usage usage = (unsigned long)arg; in test_signaling() local
89 dma_resv_add_fence(&resv, f, usage); in test_signaling()
90 if (dma_resv_test_signaled(&resv, usage)) { in test_signaling()
96 if (!dma_resv_test_signaled(&resv, usage)) { in test_signaling()
111 enum dma_resv_usage usage = (unsigned long)arg; in test_for_each() local
136 dma_resv_add_fence(&resv, f, usage); in test_for_each()
139 dma_resv_for_each_fence(&cursor, &resv, usage, fence) { in test_for_each()
150 if (dma_resv_iter_usage(&cursor) != usage) { in test_for_each()
172 enum dma_resv_usage usage = (unsigned long)arg; in test_for_each_unlocked() local
198 dma_resv_add_fence(&resv, f, usage); in test_for_each_unlocked()
202 dma_resv_iter_begin(&cursor, &resv, usage); in test_for_each_unlocked()
218 if (dma_resv_iter_usage(&cursor) != usage) { in test_for_each_unlocked()
246 enum dma_resv_usage usage = (unsigned long)arg; in test_get_fences() local
271 dma_resv_add_fence(&resv, f, usage); in test_get_fences()
274 r = dma_resv_get_fences(&resv, usage, &i, &fences); in test_get_fences()
305 enum dma_resv_usage usage; in dma_resv() local
309 for (usage = DMA_RESV_USAGE_KERNEL; usage <= DMA_RESV_USAGE_BOOKKEEP; in dma_resv()
310 ++usage) { in dma_resv()
311 r = subtests(tests, (void *)(unsigned long)usage); in dma_resv()