atomic_cmpset_rel_ptr
atomic_cmpset_rel_ptr((volatile uintptr_t *)&hpet_dev_map[u],
if (atomic_cmpset_rel_ptr((volatile uintptr_t *)&hpet_dev_map[u],
if (atomic_cmpset_rel_ptr(
if (x == tid && atomic_cmpset_rel_ptr(&lk->lk_lock, tid, LK_UNLOCKED))
if (x == tid && atomic_cmpset_rel_ptr(&lk->lk_lock, tid, LK_UNLOCKED)) {
if (atomic_cmpset_rel_ptr(&lk->lk_lock, tid | x,
if (atomic_cmpset_rel_ptr(&lk->lk_lock, tid | x,
return (atomic_cmpset_rel_ptr((uintptr_t *)prev, (uintptr_t)old,
if (atomic_cmpset_rel_ptr(&rw->rw_lock, tid, RW_READERS_LOCK(1)))
atomic_cmpset_rel_ptr(&sx->sx_lock, x, SX_SHARERS_LOCK(1) |
atomic_cmpset_rel_ptr(&sx->sx_lock, tid, SX_LOCK_UNLOCKED))
atomic_cmpset_rel_ptr(&(mp)->mtx_lock, (tid), MTX_UNOWNED)
atomic_cmpset_rel_ptr(&(rw)->rw_lock, (tid), RW_UNLOCKED)