Lines Matching refs:shared_count
58 if (old->shared_count < old->shared_max) { in reservation_object_reserve_shared()
95 for (i = 0; i < fobj->shared_count; ++i) { in reservation_object_add_shared_inplace()
116 RCU_INIT_POINTER(fobj->shared[fobj->shared_count], fence); in reservation_object_add_shared_inplace()
117 fobj->shared_count++; in reservation_object_add_shared_inplace()
136 fobj->shared_count = 1; in reservation_object_add_shared_replace()
146 fobj->shared_count = old->shared_count; in reservation_object_add_shared_replace()
148 for (i = 0; i < old->shared_count; ++i) { in reservation_object_add_shared_replace()
161 RCU_INIT_POINTER(fobj->shared[fobj->shared_count], fence); in reservation_object_add_shared_replace()
162 fobj->shared_count++; in reservation_object_add_shared_replace()
196 BUG_ON(old->shared_count >= old->shared_max); in reservation_object_add_shared_fence()
212 i = old->shared_count; in reservation_object_add_excl_fence()
222 old->shared_count = 0; in reservation_object_add_excl_fence()
241 unsigned shared_count = 0; in reservation_object_get_fences_rcu() local
270 shared_count = 0; in reservation_object_get_fences_rcu()
275 shared_count = fobj->shared_count; in reservation_object_get_fences_rcu()
277 shared_count = 0; in reservation_object_get_fences_rcu()
287 for (i = 0; i < shared_count; ++i) { in reservation_object_get_fences_rcu()
309 *pshared_count = shared_count; in reservation_object_get_fences_rcu()
310 if (shared_count) in reservation_object_get_fences_rcu()
327 unsigned seq, shared_count, i = 0; in reservation_object_wait_timeout_rcu() local
335 shared_count = 0; in reservation_object_wait_timeout_rcu()
344 shared_count = fobj->shared_count; in reservation_object_wait_timeout_rcu()
349 for (i = 0; i < shared_count; ++i) { in reservation_object_wait_timeout_rcu()
368 if (!shared_count) { in reservation_object_wait_timeout_rcu()
390 if (ret > 0 && wait_all && (i + 1 < shared_count)) in reservation_object_wait_timeout_rcu()
422 unsigned seq, shared_count; in reservation_object_test_signaled_rcu() local
426 shared_count = 0; in reservation_object_test_signaled_rcu()
437 shared_count = fobj->shared_count; in reservation_object_test_signaled_rcu()
442 for (i = 0; i < shared_count; ++i) { in reservation_object_test_signaled_rcu()
460 if (!shared_count) { in reservation_object_test_signaled_rcu()