Lines Matching refs:__readers
232 unsigned int r = atomic_load_relaxed (&rwlock->__data.__readers); in __pthread_rwlock_rdunlock()
254 if (atomic_compare_exchange_weak_release (&rwlock->__data.__readers, in __pthread_rwlock_rdunlock()
276 futex_wake (&rwlock->__data.__readers, INT_MAX, private); in __pthread_rwlock_rdunlock()
312 r = atomic_load_relaxed (&rwlock->__data.__readers); in __pthread_rwlock_rdlock_full64()
322 (&rwlock->__data.__readers, &r, r | PTHREAD_RWLOCK_RWAITING)) in __pthread_rwlock_rdlock_full64()
328 while (((r = atomic_load_relaxed (&rwlock->__data.__readers)) in __pthread_rwlock_rdlock_full64()
332 int err = __futex_abstimed_wait64 (&rwlock->__data.__readers, in __pthread_rwlock_rdlock_full64()
353 r = (atomic_fetch_add_acquire (&rwlock->__data.__readers, in __pthread_rwlock_rdlock_full64()
376 (&rwlock->__data.__readers, in __pthread_rwlock_rdlock_full64()
402 if (atomic_compare_exchange_weak_acquire (&rwlock->__data.__readers, &r, in __pthread_rwlock_rdlock_full64()
473 r = atomic_load_relaxed (&rwlock->__data.__readers); in __pthread_rwlock_rdlock_full64()
480 (&rwlock->__data.__readers, &r, in __pthread_rwlock_rdlock_full64()
512 if ((atomic_load_acquire (&rwlock->__data.__readers) in __pthread_rwlock_rdlock_full64()
559 unsigned int r = atomic_load_relaxed (&rwlock->__data.__readers); in __pthread_rwlock_wrunlock()
562 (&rwlock->__data.__readers, &r, in __pthread_rwlock_wrunlock()
622 unsigned int r = atomic_fetch_or_acquire (&rwlock->__data.__readers, in __pthread_rwlock_wrlock_full64()
647 (&rwlock->__data.__readers, &r, r | PTHREAD_RWLOCK_WRLOCKED)) in __pthread_rwlock_wrlock_full64()
691 r = atomic_load_relaxed (&rwlock->__data.__readers); in __pthread_rwlock_wrlock_full64()
718 r = atomic_load_relaxed (&rwlock->__data.__readers); in __pthread_rwlock_wrlock_full64()
755 r = atomic_load_relaxed (&rwlock->__data.__readers); in __pthread_rwlock_wrlock_full64()
765 r = atomic_load_relaxed (&rwlock->__data.__readers); in __pthread_rwlock_wrlock_full64()
795 if (atomic_compare_exchange_weak_acquire (&rwlock->__data.__readers, in __pthread_rwlock_wrlock_full64()
879 r = atomic_load_relaxed (&rwlock->__data.__readers); in __pthread_rwlock_wrlock_full64()
898 (&rwlock->__data.__readers, &r, in __pthread_rwlock_wrlock_full64()
908 futex_wake (&rwlock->__data.__readers, in __pthread_rwlock_wrlock_full64()
941 if ((atomic_load_acquire (&rwlock->__data.__readers) in __pthread_rwlock_wrlock_full64()