Home
last modified time | relevance | path

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

/f-stack/freebsd/sys/
H A Drwlock.h60 #define RW_LOCK_WRITE_WAITERS 0x04 macro
64 (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)
/f-stack/freebsd/kern/
H A Dkern_rwlock.c393 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 …]