Home
last modified time | relevance | path

Searched refs:URWLOCK_WRITE_WAITERS (Results 1 – 3 of 3) sorted by relevance

/freebsd-11-stable/lib/libthr/thread/
HDthr_umtx.h193 wrflags = URWLOCK_WRITE_OWNER | URWLOCK_WRITE_WAITERS; in _thr_rwlock_tryrdlock()
256 if (!((state & (URWLOCK_WRITE_WAITERS | in _thr_rwlock_unlock()
/freebsd-11-stable/sys/sys/
HDumtx.h60 #define URWLOCK_WRITE_WAITERS 0x40000000U macro
/freebsd-11-stable/sys/kern/
HDkern_umtx.c2656 wrflags |= URWLOCK_WRITE_WAITERS; in do_rw_rdlock()
2861 if (!(state & (URWLOCK_WRITE_OWNER|URWLOCK_WRITE_WAITERS)) && in do_rw_wrlock()
2888 (state & URWLOCK_WRITE_WAITERS) == 0) { in do_rw_wrlock()
2890 &oldstate, state | URWLOCK_WRITE_WAITERS); in do_rw_wrlock()
2963 &oldstate, state & ~URWLOCK_WRITE_WAITERS); in do_rw_wrlock()
3071 if (state & URWLOCK_WRITE_WAITERS) { in do_rw_unlock()
3082 } else if (state & URWLOCK_WRITE_WAITERS) { in do_rw_unlock()