Lines Matching refs:in_fence
61 int in_fence; in test_alloc_fence() local
65 in_fence = sw_sync_timeline_create_fence(timeline, 0); in test_alloc_fence()
67 close(in_fence); in test_alloc_fence()
108 int in_fence[2]; in test_alloc_merge_fence() local
115 in_fence[0] = sw_sync_timeline_create_fence(timeline[0], 1); in test_alloc_merge_fence()
116 in_fence[1] = sw_sync_timeline_create_fence(timeline[1], 1); in test_alloc_merge_fence()
117 fence_merge = sync_fence_merge(in_fence[1], in_fence[0]); in test_alloc_merge_fence()
119 close(in_fence[0]); in test_alloc_merge_fence()
120 close(in_fence[1]); in test_alloc_merge_fence()
274 int in_fence; in test_sync_merge_invalid() local
282 in_fence = sw_sync_timeline_create_fence(timeline, 1); in test_sync_merge_invalid()
285 fence_merge = sync_fence_merge(in_fence, fence_invalid); in test_sync_merge_invalid()
289 fence_merge = sync_fence_merge(in_fence, fence_invalid); in test_sync_merge_invalid()
299 fence_merge = sync_fence_merge(in_fence, fence_invalid); in test_sync_merge_invalid()
304 close(in_fence); in test_sync_merge_invalid()
312 int in_fence[3]; in test_sync_merge() local
318 in_fence[0] = sw_sync_timeline_create_fence(timeline, 1); in test_sync_merge()
319 in_fence[1] = sw_sync_timeline_create_fence(timeline, 2); in test_sync_merge()
320 in_fence[2] = sw_sync_timeline_create_fence(timeline, 3); in test_sync_merge()
322 fence_merge = sync_fence_merge(in_fence[0], in_fence[1]); in test_sync_merge()
323 fence_merge = sync_fence_merge(in_fence[2], fence_merge); in test_sync_merge()
326 active = sync_fence_count_status(in_fence[0], in test_sync_merge()
329 active = sync_fence_count_status(in_fence[1], in test_sync_merge()
332 active = sync_fence_count_status(in_fence[2], in test_sync_merge()
341 signaled = sync_fence_count_status(in_fence[0], in test_sync_merge()
349 signaled = sync_fence_count_status(in_fence[1], in test_sync_merge()
357 signaled = sync_fence_count_status(in_fence[2], in test_sync_merge()
367 close(in_fence[0]); in test_sync_merge()
368 close(in_fence[1]); in test_sync_merge()
369 close(in_fence[2]); in test_sync_merge()
376 int in_fence[2]; in test_sync_merge_same() local
381 in_fence[0] = sw_sync_timeline_create_fence(timeline, 1); in test_sync_merge_same()
382 in_fence[1] = sync_fence_merge(in_fence[0], in_fence[0]); in test_sync_merge_same()
384 signaled = sync_fence_count_status(in_fence[0], in test_sync_merge_same()
389 signaled = sync_fence_count_status(in_fence[0], in test_sync_merge_same()
393 close(in_fence[0]); in test_sync_merge_same()
394 close(in_fence[1]); in test_sync_merge_same()
401 int in_fence[3]; in test_sync_multi_timeline_wait() local
409 in_fence[0] = sw_sync_timeline_create_fence(timeline[0], 5); in test_sync_multi_timeline_wait()
410 in_fence[1] = sw_sync_timeline_create_fence(timeline[1], 5); in test_sync_multi_timeline_wait()
411 in_fence[2] = sw_sync_timeline_create_fence(timeline[2], 5); in test_sync_multi_timeline_wait()
413 fence_merge = sync_fence_merge(in_fence[0], in_fence[1]); in test_sync_multi_timeline_wait()
414 fence_merge = sync_fence_merge(in_fence[2], fence_merge); in test_sync_multi_timeline_wait()
452 close(in_fence[0]); in test_sync_multi_timeline_wait()
453 close(in_fence[1]); in test_sync_multi_timeline_wait()
454 close(in_fence[2]); in test_sync_multi_timeline_wait()