Searched refs:RW_LOCK_WRITE_WAITERS (Results 1 – 2 of 2) sorted by relevance
60 #define RW_LOCK_WRITE_WAITERS 0x04 macro64 (RW_LOCK_READ | RW_LOCK_READ_WAITERS | RW_LOCK_WRITE_WAITERS | \66 #define RW_LOCK_WAITERS (RW_LOCK_READ_WAITERS | RW_LOCK_WRITE_WAITERS)75 #define RW_DESTROYED (RW_LOCK_READ_WAITERS | RW_LOCK_WRITE_WAITERS)
393 if ((v & (RW_LOCK_READ | RW_LOCK_WRITE_WAITERS | RW_LOCK_WRITE_SPINNER)) in __rw_can_read()810 if (v & RW_LOCK_WRITE_WAITERS) { in __rw_runlock_hard()1115 !((v & RW_LOCK_WRITE_WAITERS))) { in __rw_wlock_hard()1117 setv |= RW_LOCK_WRITE_WAITERS; in __rw_wlock_hard()1131 if (!(v & RW_LOCK_WRITE_WAITERS)) { in __rw_wlock_hard()1133 v | RW_LOCK_WRITE_WAITERS)) in __rw_wlock_hard()1228 KASSERT(rw->rw_lock & (RW_LOCK_READ_WAITERS | RW_LOCK_WRITE_WAITERS), in __rw_wunlock_hard()1255 if (v & RW_LOCK_WRITE_WAITERS) { in __rw_wunlock_hard()1397 wwait = v & RW_LOCK_WRITE_WAITERS; in __rw_downgrade_int()1552 case RW_LOCK_WRITE_WAITERS: in db_show_rwlock()[all …]