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

/freebsd-11-stable/sys/sys/
H A Drwlock.h58 #define RW_LOCK_WRITE_WAITERS 0x04 macro
62 (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)
/freebsd-11-stable/sys/kern/
H A Dkern_rwlock.c384 if ((v & (RW_LOCK_READ | RW_LOCK_WRITE_WAITERS | RW_LOCK_WRITE_SPINNER))
401 * RW_LOCK_WRITE_WAITERS flag. If we fail to acquire a
809 if (v & RW_LOCK_WRITE_WAITERS) {
1067 * If the RW_LOCK_WRITE_WAITERS flag isn't set, then try to
1071 if (!(v & RW_LOCK_WRITE_WAITERS)) {
1073 v | RW_LOCK_WRITE_WAITERS))
1159 KASSERT(rw->rw_lock & (RW_LOCK_READ_WAITERS | RW_LOCK_WRITE_WAITERS),
1177 * readers but leave the RW_LOCK_WRITE_WAITERS flag set. If a
1186 if (v & RW_LOCK_WRITE_WAITERS) {
1328 wwait = v & RW_LOCK_WRITE_WAITERS;
[all...]

Completed in 64 milliseconds