Lines Matching refs:w
541 unsigned int w = atomic_load_relaxed (&rwlock->__data.__writers); in __pthread_rwlock_wrunlock() local
542 while (w != 0) in __pthread_rwlock_wrunlock()
549 (&rwlock->__data.__writers, &w, w | PTHREAD_RWLOCK_WRHANDOVER)) in __pthread_rwlock_wrunlock()
674 unsigned int w = atomic_load_relaxed (&rwlock->__data.__writers); in __pthread_rwlock_wrlock_full64() local
675 if ((w & PTHREAD_RWLOCK_WRHANDOVER) != 0) in __pthread_rwlock_wrlock_full64()
687 &w, (w - PTHREAD_RWLOCK_WRHANDOVER - 1))) in __pthread_rwlock_wrlock_full64()
744 unsigned int w in __pthread_rwlock_wrlock_full64() local
747 (&rwlock->__data.__writers, &w, in __pthread_rwlock_wrlock_full64()
748 (w == PTHREAD_RWLOCK_WRHANDOVER + 1 ? 0 : w - 1))) in __pthread_rwlock_wrlock_full64()
752 if (w == PTHREAD_RWLOCK_WRHANDOVER + 1) in __pthread_rwlock_wrlock_full64()
837 unsigned int w in __pthread_rwlock_wrlock_full64() local
839 if (w != 0) in __pthread_rwlock_wrlock_full64()
854 while (w != 0) in __pthread_rwlock_wrlock_full64()
857 (&rwlock->__data.__writers, &w, in __pthread_rwlock_wrlock_full64()
858 w | PTHREAD_RWLOCK_WRHANDOVER)) in __pthread_rwlock_wrlock_full64()