atomic_cas_ptr
atomic_op_alias(atomic_cas_ptr,_atomic_cas_32_a0)
atomic_op_alias(atomic_cas_ptr,_atomic_cas_32)
if (atomic_cas_ptr(__UNCONST(&loc->cache->errlist_prefix),
if (atomic_cas_ptr(__UNCONST(&loc->cache->errlist), NULL, errlist) != NULL)
next = atomic_cas_ptr(&cond->ptc_waiters, head, &waiter);
next = atomic_cas_ptr(&cond->ptc_waiters, head,
next = atomic_cas_ptr(&cond->ptc_waiters, head, NULL);
val = atomic_cas_ptr(&ptm->ptm_owner, NULL, self);
val = atomic_cas_ptr(&ptm->ptm_owner, NULL, self);
next = atomic_cas_ptr(&ptm->ptm_owner, owner, newval);
next = atomic_cas_ptr(&ptm->ptm_waiters, waiter.next, &waiter);
val = atomic_cas_ptr(&ptm->ptm_owner, NULL, self);
next = atomic_cas_ptr(&ptm->ptm_owner, val, new);
val = atomic_cas_ptr(&ptm->ptm_owner, self, newval);
if (atomic_cas_ptr(&ptm->ptm_waiters, NULL, head) == NULL) {
n = atomic_cas_ptr(&ptm->ptm_waiters, o, head);
return (uintptr_t)atomic_cas_ptr(&ptr->ptr_owner, (void *)o,
if (atomic_cas_ptr(&db_onproc, NULL, ci) == NULL) {
if (atomic_cas_ptr(&db_onproc, NULL, ci) == NULL) {
__strong_alias(atomic_cas_ptr, _atomic_cas_ulong)
while (atomic_cas_ptr(&pmap_tlb_packet, NULL,
l = atomic_cas_ptr(&rebooter, NULL, curlwp);
return (uintptr_t)atomic_cas_ptr((volatile void *)&rw->rw_owner,
uip = atomic_cas_ptr(&uipp->slh_first, uip_first, newuip);
if (atomic_cas_ptr(&mbox->msg[i], NULL, msg) == NULL) {
n = atomic_cas_ptr(head, o, __UNCONST(&pcg_dummy));
n = atomic_cas_ptr(head, o, NULL);
n = atomic_cas_ptr(head, o, pcg);
oci = atomic_cas_ptr((void *)&paniccpu, NULL, ci);
atomic_cas_ptr(&constty, tp, NULL);
(atomic_cas_ptr((p), *(void **)(e), (void *)(n)) == *(void **)(e))
(void)atomic_cas_ptr(&constty, tp, NULL);
} while (atomic_cas_ptr(&cd->cd_new, head, con) != head);
#undef atomic_cas_ptr
atomic_op_alias(atomic_cas_ptr,_atomic_cas_64)
atomic_op_alias(atomic_cas_ptr,_atomic_cas_32)
__strong_alias(atomic_cas_ptr,rump_cas_32_up)
if (atomic_cas_ptr(&rcpu->rcpu_prevlwp, l, RCPULWP_BUSY) == l) {
if (atomic_cas_ptr(&rcpu->rcpu_prevlwp,
lock = atomic_cas_ptr(&mdpg->mdpg_lock, NULL, new_lock);
pmap_segtab_t *ostb = atomic_cas_ptr(stb_p, NULL, stb);
pmap_ptpage_t *oppg = atomic_cas_ptr(ppg_p, NULL, ppg);
ATF_TP_ADD_TC(tp, atomic_cas_ptr);
atf_cas(atomic_cas_ptr, void *, "%p");