Searched refs:RW_LOCKED (Results 1 – 2 of 2) sorted by relevance
59 #define RW_LOCKED RW_HOLD_COUNT macro69 ((((tmp) = ((rwlock_impl_t *)(rwlp))->rw_wwwh) & RW_LOCKED) && \77 ((((rwlock_impl_t *)(rwlp))->rw_wwwh & RW_LOCKED) ? 1 : 0)
258 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()