Lines Matching refs:B

98 	struct i915_sw_fence *A, *B, *C;  in test_dag()  local
114 B = alloc_fence(); in test_dag()
115 if (!B) { in test_dag()
120 i915_sw_fence_await_sw_fence_gfp(A, B, GFP_KERNEL); in test_dag()
121 if (i915_sw_fence_await_sw_fence_gfp(B, A, GFP_KERNEL) != -EINVAL) { in test_dag()
132 if (i915_sw_fence_await_sw_fence_gfp(B, C, GFP_KERNEL) == -EINVAL) { in test_dag()
136 if (i915_sw_fence_await_sw_fence_gfp(C, B, GFP_KERNEL) != -EINVAL) { in test_dag()
150 i915_sw_fence_commit(B); in test_dag()
158 if (!i915_sw_fence_done(B)) { in test_dag()
169 free_fence(B); in test_dag()
177 struct i915_sw_fence *A, *B; in test_AB() local
184 B = alloc_fence(); in test_AB()
185 if (!B) { in test_AB()
190 ret = i915_sw_fence_await_sw_fence_gfp(A, B, GFP_KERNEL); in test_AB()
204 i915_sw_fence_commit(B); in test_AB()
205 if (!i915_sw_fence_done(B)) { in test_AB()
217 free_fence(B); in test_AB()
225 struct i915_sw_fence *A, *B, *C; in test_ABC() local
233 B = alloc_fence(); in test_ABC()
234 if (!B) { in test_ABC()
245 ret = i915_sw_fence_await_sw_fence_gfp(A, B, GFP_KERNEL); in test_ABC()
253 ret = i915_sw_fence_await_sw_fence_gfp(B, C, GFP_KERNEL); in test_ABC()
268 i915_sw_fence_commit(B); in test_ABC()
269 if (i915_sw_fence_done(B)) { in test_ABC()
286 if (!i915_sw_fence_done(B)) { in test_ABC()
297 free_fence(B); in test_ABC()
305 struct i915_sw_fence *A, *B, *C; in test_AB_C() local
313 B = alloc_fence(); in test_AB_C()
314 if (!B) { in test_AB_C()
333 ret = i915_sw_fence_await_sw_fence_gfp(B, C, GFP_KERNEL); in test_AB_C()
342 i915_sw_fence_commit(B); in test_AB_C()
350 if (i915_sw_fence_done(B)) { in test_AB_C()
361 if (!i915_sw_fence_done(B)) { in test_AB_C()
374 free_fence(B); in test_AB_C()
382 struct i915_sw_fence *A, *B, *C; in test_C_AB() local
390 B = alloc_fence(); in test_C_AB()
391 if (!B) { in test_C_AB()
410 ret = i915_sw_fence_await_sw_fence_gfp(C, B, GFP_KERNEL); in test_C_AB()
424 i915_sw_fence_commit(B); in test_C_AB()
431 if (!i915_sw_fence_done(B)) { in test_C_AB()
444 free_fence(B); in test_C_AB()