Searched refs:casip (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Drwlock.c78 * to awaken it. casip() provides the required atomicity. Once casip()
188 * (1) The rwlock is only modified via the atomic primitives casip()
301 if (casip(&lp->rw_wwwh, old, old + lock_value) != old) {
334 } while (old != new && casip(&lp->rw_wwwh, old, new) != old);
446 if (casip(&lp->rw_wwwh, old, new) != old) {
474 if (casip(&lp->rw_wwwh, old, new) != old)
549 if (casip(&lp->rw_wwwh, old, old + RW_READ_LOCK) == old)
562 if (casip(&lp->rw_wwwh, 0, RW_WRITE_LOCK(curthread)) != 0)
612 } while (casip(
[all...]
/illumos-gate/usr/src/uts/intel/sys/
H A Dmutex_impl.h88 casip(&(lp)->m_owner, old, old | MUTEX_WAITERS) != old) \
/illumos-gate/usr/src/uts/sparc/v9/sys/
H A Dmutex_impl.h85 casip(&(lp)->m_owner, old, old | MUTEX_WAITERS) != old) \
/illumos-gate/usr/src/uts/common/sys/
H A Datomic.h272 #define casip atomic_cas_ulong macro

Completed in 97 milliseconds