Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/os/
H A Drwlock.c224 msg, (void *)lp, panic_rwlock.rw_wwwh, (void *)curthread); in rw_panic()
231 ((rwlock_impl_t *)rwlp)->rw_wwwh = 0; in rw_init()
239 if (lp->rw_wwwh != 0) { in rw_destroy()
240 if ((lp->rw_wwwh & RW_DOUBLE_LOCK) == RW_DOUBLE_LOCK) in rw_destroy()
246 lp->rw_wwwh = RW_DOUBLE_LOCK; in rw_destroy()
255 uintptr_t old = lp->rw_wwwh; in rw_locked()
297 if (((old = lp->rw_wwwh) & lock_busy) == 0) { in rw_enter_sleep()
298 if (casip(&lp->rw_wwwh, old, old + lock_value) != old) { in rw_enter_sleep()
328 if (((old = lp->rw_wwwh) & lock_busy) == 0) in rw_enter_sleep()
331 } while (old != new && casip(&lp->rw_wwwh, old, new) != old); in rw_enter_sleep()
[all …]
/titanic_50/usr/src/uts/common/sys/
H A Drwlock_impl.h45 uintptr_t rw_wwwh; /* waiters, write wanted, hold count */ member
69 ((((tmp) = ((rwlock_impl_t *)(rwlp))->rw_wwwh) & RW_LOCKED) && \
73 ((((rwlock_impl_t *)(rwlp))->rw_wwwh & \
77 ((((rwlock_impl_t *)(rwlp))->rw_wwwh & RW_LOCKED) ? 1 : 0)
80 ((((rwlock_impl_t *)(rwlp))->rw_wwwh & RW_WRITE_CLAIMED) ? 1 : 0)
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/
H A Dsobj.c515 if (((wwwh = lock.rw_wwwh) & RW_DOUBLE_LOCK) == RW_DOUBLE_LOCK) in rwlock()
517 else if ((wwwh = lock.rw_wwwh) & RW_WRITE_LOCKED) in rwlock()