Searched refs:RW_LOCK_WRITE_WAITERS (Results 1 – 2 of 2) sorted by relevance
405 if ((v & (RW_LOCK_READ | RW_LOCK_WRITE_WAITERS | RW_LOCK_WRITE_SPINNER)) in __rw_can_read()825 if (v & RW_LOCK_WRITE_WAITERS) { in __rw_runlock_hard()1134 !((v & RW_LOCK_WRITE_WAITERS))) { in __rw_wlock_hard()1136 setv |= RW_LOCK_WRITE_WAITERS; in __rw_wlock_hard()1150 if (!(v & RW_LOCK_WRITE_WAITERS)) { in __rw_wlock_hard()1152 v | RW_LOCK_WRITE_WAITERS)) in __rw_wlock_hard()1248 KASSERT(rw->rw_lock & (RW_LOCK_READ_WAITERS | RW_LOCK_WRITE_WAITERS), in __rw_wunlock_hard()1276 if (v & RW_LOCK_WRITE_WAITERS) { in __rw_wunlock_hard()1421 wwait = v & RW_LOCK_WRITE_WAITERS; in __rw_downgrade_int()1572 switch (rw->rw_lock & (RW_LOCK_READ_WAITERS | RW_LOCK_WRITE_WAITERS)) { in db_show_rwlock()[all …]
58 #define RW_LOCK_WRITE_WAITERS 0x04 macro62 (RW_LOCK_READ | RW_LOCK_READ_WAITERS | RW_LOCK_WRITE_WAITERS | \64 #define RW_LOCK_WAITERS (RW_LOCK_READ_WAITERS | RW_LOCK_WRITE_WAITERS)73 #define RW_DESTROYED (RW_LOCK_READ_WAITERS | RW_LOCK_WRITE_WAITERS)