Home
last modified time | relevance | path

Searched refs:RW_LOCK_WRITE_WAITERS (Results 1 – 2 of 2) sorted by relevance

/NextBSD/sys/sys/
HDrwlock.h60 #define RW_LOCK_WRITE_WAITERS 0x04 macro
63 (RW_LOCK_READ | RW_LOCK_READ_WAITERS | RW_LOCK_WRITE_WAITERS | \
65 #define RW_LOCK_WAITERS (RW_LOCK_READ_WAITERS | RW_LOCK_WRITE_WAITERS)
74 #define RW_DESTROYED (RW_LOCK_READ_WAITERS | RW_LOCK_WRITE_WAITERS)
136 (RW_LOCK_READ | RW_LOCK_WRITE_WAITERS | RW_LOCK_WRITE_SPINNER)) == \
/NextBSD/sys/kern/
HDkern_rwlock.c671 if (v & RW_LOCK_WRITE_WAITERS) { in _rw_runlock_cookie()
861 if (!(v & RW_LOCK_WRITE_WAITERS)) { in __rw_wlock_hard()
863 v | RW_LOCK_WRITE_WAITERS)) { in __rw_wlock_hard()
936 KASSERT(rw->rw_lock & (RW_LOCK_READ_WAITERS | RW_LOCK_WRITE_WAITERS), in __rw_wunlock_hard()
963 if (rw->rw_lock & RW_LOCK_WRITE_WAITERS) { in __rw_wunlock_hard()
1099 wwait = v & RW_LOCK_WRITE_WAITERS; in __rw_downgrade()
1241 switch (rw->rw_lock & (RW_LOCK_READ_WAITERS | RW_LOCK_WRITE_WAITERS)) { in db_show_rwlock()
1245 case RW_LOCK_WRITE_WAITERS: in db_show_rwlock()
1248 case RW_LOCK_READ_WAITERS | RW_LOCK_WRITE_WAITERS: in db_show_rwlock()