Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/sys/
H A Drwlock_impl.h59 #define RW_LOCKED RW_HOLD_COUNT macro
69 ((((tmp) = ((rwlock_impl_t *)(rwlp))->rw_wwwh) & RW_LOCKED) && \
77 ((((rwlock_impl_t *)(rwlp))->rw_wwwh & RW_LOCKED) ? 1 : 0)
/titanic_44/usr/src/uts/common/os/
H A Drwlock.c258 return ((old & RW_LOCKED) && !(old & RW_WRITE_LOCKED)); in rw_locked()
295 lock_busy = (uintptr_t)RW_LOCKED; in rw_enter_sleep()
349 ASSERT(lp->rw_wwwh & RW_LOCKED); in rw_enter_sleep()
431 if ((old & RW_LOCKED) == 0) { in rw_exit_wakeup()
445 if ((new & (RW_LOCKED | RW_HAS_WAITERS)) != RW_HAS_WAITERS) { in rw_exit_wakeup()
649 ASSERT(old & RW_LOCKED); in rw_read_locked()
650 return ((old & RW_LOCKED) && !(old & RW_WRITE_LOCKED)); in rw_read_locked()