Searched refs:URW_READERS_MASK (Results 1 – 6 of 6) sorted by relevance
150 (readers & URW_READERS_MASK) != 0) { in rw_read_held()330 (URW_WRITE_LOCKED | URW_READERS_MASK) : in write_lock_try()331 (URW_HAS_WAITERS | URW_WRITE_LOCKED | URW_READERS_MASK); in write_lock_try()415 readers &= URW_READERS_MASK; /* count of current readers */ in rw_queue_release()613 (readers & URW_READERS_MASK) != 0)) in rwlock_lock()1024 readers &= URW_READERS_MASK; in rw_unlock()
325 } else if (rwstate & URW_READERS_MASK) { in rwlock_error()327 ultos((uint64_t)(rwstate & URW_READERS_MASK), 10, in rwlock_error()
77 #define URW_READERS_MASK 0x3fffffff macro
2489 } else if ((rwstate & URW_READERS_MASK) == 0) { in lwp_rwlock_lock()2759 else if ((rwstate & URW_READERS_MASK) > 0) { in lwp_rwlock_unlock()2761 if ((rwstate & URW_READERS_MASK) == 0) in lwp_rwlock_unlock()
2592 si_p->si_state.nreaders = (rwstate & URW_READERS_MASK); in sync_get_info_common()2971 *rwstate |= (value & URW_READERS_MASK); in __td_sync_setstate()