Lines Matching +full:error +full:- +full:counter
3 * Copyright 2015-2016 Collabora Ltd.
39 /* Returns 1 on error, 0 on success */
42 int error, active; in busy_wait_on_fence() local
45 error = sync_fence_count_with_status(fence, FENCE_STATUS_ERROR); in busy_wait_on_fence()
46 ASSERT(error == 0, "Error occurred on fence\n"); in busy_wait_on_fence()
57 int counter; member
82 ASSERT(sync_wait(fence, -1) > 0, in mpsc_producer_thread()
90 * Every producer increments the counter, the consumer in mpsc_producer_thread()
94 test_data_mpsc.counter++; in mpsc_producer_thread()
98 "Error advancing producer timeline\n"); in mpsc_producer_thread()
133 ASSERT(sync_wait(fence, -1) > 0, in mpcs_consumer_thread()
140 ASSERT(test_data_mpsc.counter == n * it, in mpcs_consumer_thread()
141 "Counter value mismatch!\n"); in mpcs_consumer_thread()
170 test_data_mpsc.counter = 0; in test_consumer_stress_multi_producer_single_consumer()