Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/os/
H A Drwlock.c288 lock_wait = RW_HAS_WAITERS; in rw_enter_sleep()
292 lock_wait = RW_HAS_WAITERS; in rw_enter_sleep()
296 lock_wait = RW_HAS_WAITERS | RW_WRITE_WANTED; in rw_enter_sleep()
445 if ((new & (RW_LOCKED | RW_HAS_WAITERS)) != RW_HAS_WAITERS) { in rw_exit_wakeup()
472 RW_HAS_WAITERS | RW_WRITE_WANTED; in rw_exit_wakeup()
493 new |= RW_HAS_WAITERS; in rw_exit_wakeup()
515 new |= RW_HAS_WAITERS; in rw_exit_wakeup()
585 RW_READ_LOCK - RW_WRITE_LOCK(curthread)) & RW_HAS_WAITERS) { in rw_downgrade()
591 delta -= RW_HAS_WAITERS; in rw_downgrade()
609 if (((old = lp->rw_wwwh) & ~RW_HAS_WAITERS) != RW_READ_LOCK) in rw_tryupgrade()
/titanic_44/usr/src/uts/common/sys/
H A Drwlock_impl.h50 #define RW_HAS_WAITERS 1 macro