Symbol: atomic_cas_ptr
common/lib/libc/arch/m68k/atomic/atomic_init_m68k.c
129
atomic_op_alias(atomic_cas_ptr,_atomic_cas_32_a0)
common/lib/libc/atomic/atomic_init_testset.c
328
atomic_op_alias(atomic_cas_ptr,_atomic_cas_32)
lib/libc/string/strerror_r.c
73
if (atomic_cas_ptr(__UNCONST(&loc->cache->errlist_prefix),
lib/libc/string/strerror_r.c
90
if (atomic_cas_ptr(__UNCONST(&loc->cache->errlist), NULL, errlist) != NULL)
lib/libpthread/pthread_cond.c
166
next = atomic_cas_ptr(&cond->ptc_waiters, head, &waiter);
lib/libpthread/pthread_cond.c
263
next = atomic_cas_ptr(&cond->ptc_waiters, head,
lib/libpthread/pthread_cond.c
310
next = atomic_cas_ptr(&cond->ptc_waiters, head, NULL);
lib/libpthread/pthread_mutex.c
206
val = atomic_cas_ptr(&ptm->ptm_owner, NULL, self);
lib/libpthread/pthread_mutex.c
226
val = atomic_cas_ptr(&ptm->ptm_owner, NULL, self);
lib/libpthread/pthread_mutex.c
307
next = atomic_cas_ptr(&ptm->ptm_owner, owner, newval);
lib/libpthread/pthread_mutex.c
335
next = atomic_cas_ptr(&ptm->ptm_waiters, waiter.next, &waiter);
lib/libpthread/pthread_mutex.c
403
val = atomic_cas_ptr(&ptm->ptm_owner, NULL, self);
lib/libpthread/pthread_mutex.c
414
next = atomic_cas_ptr(&ptm->ptm_owner, val, new);
lib/libpthread/pthread_mutex.c
453
val = atomic_cas_ptr(&ptm->ptm_owner, self, newval);
lib/libpthread/pthread_mutex.c
708
if (atomic_cas_ptr(&ptm->ptm_waiters, NULL, head) == NULL) {
lib/libpthread/pthread_mutex.c
723
n = atomic_cas_ptr(&ptm->ptm_waiters, o, head);
lib/libpthread/pthread_rwlock.c
87
return (uintptr_t)atomic_cas_ptr(&ptr->ptr_owner, (void *)o,
sys/arch/aarch64/aarch64/db_machdep.c
1179
if (atomic_cas_ptr(&db_onproc, NULL, ci) == NULL) {
sys/arch/arm/arm32/db_interface.c
128
if (atomic_cas_ptr(&db_onproc, NULL, ci) == NULL) {
sys/arch/mips/mips/mips_fixup.c
701
__strong_alias(atomic_cas_ptr, _atomic_cas_ulong)
sys/arch/x86/x86/x86_tlb.c
413
while (atomic_cas_ptr(&pmap_tlb_packet, NULL,
sys/kern/kern_reboot.c
63
l = atomic_cas_ptr(&rebooter, NULL, curlwp);
sys/kern/kern_rwlock.c
148
return (uintptr_t)atomic_cas_ptr((volatile void *)&rw->rw_owner,
sys/kern/kern_uidinfo.c
223
uip = atomic_cas_ptr(&uipp->slh_first, uip_first, newuip);
sys/kern/subr_ipi.c
274
if (atomic_cas_ptr(&mbox->msg[i], NULL, msg) == NULL) {
sys/kern/subr_pool.c
2567
n = atomic_cas_ptr(head, o, __UNCONST(&pcg_dummy));
sys/kern/subr_pool.c
2599
n = atomic_cas_ptr(head, o, NULL);
sys/kern/subr_pool.c
2630
n = atomic_cas_ptr(head, o, pcg);
sys/kern/subr_prf.c
231
oci = atomic_cas_ptr((void *)&paniccpu, NULL, ci);
sys/kern/subr_prf.c
424
atomic_cas_ptr(&constty, tp, NULL);
sys/kern/subr_thmap.c
138
(atomic_cas_ptr((p), *(void **)(e), (void *)(n)) == *(void **)(e))
sys/kern/tty.c
481
(void)atomic_cas_ptr(&constty, tp, NULL);
sys/net/npf/npf_conndb.c
253
} while (atomic_cas_ptr(&cd->cd_new, head, con) != head);
sys/rump/librump/rumpkern/atomic_cas_generic.c
101
#undef atomic_cas_ptr
sys/rump/librump/rumpkern/atomic_cas_generic.c
113
atomic_op_alias(atomic_cas_ptr,_atomic_cas_64)
sys/rump/librump/rumpkern/atomic_cas_generic.c
122
atomic_op_alias(atomic_cas_ptr,_atomic_cas_32)
sys/rump/librump/rumpkern/rump_atomic_cas_up.c
59
__strong_alias(atomic_cas_ptr,rump_cas_32_up)
sys/rump/librump/rumpkern/scheduler.c
323
if (atomic_cas_ptr(&rcpu->rcpu_prevlwp, l, RCPULWP_BUSY) == l) {
sys/rump/librump/rumpkern/scheduler.c
350
if (atomic_cas_ptr(&rcpu->rcpu_prevlwp,
sys/uvm/pmap/pmap.c
2485
lock = atomic_cas_ptr(&mdpg->mdpg_lock, NULL, new_lock);
sys/uvm/pmap/pmap_segtab.c
1099
pmap_segtab_t *ostb = atomic_cas_ptr(stb_p, NULL, stb);
sys/uvm/pmap/pmap_segtab.c
1175
pmap_ptpage_t *oppg = atomic_cas_ptr(ppg_p, NULL, ppg);
tests/lib/libc/atomic/t_atomic_cas.c
104
ATF_TP_ADD_TC(tp, atomic_cas_ptr);
tests/lib/libc/atomic/t_atomic_cas.c
86
atf_cas(atomic_cas_ptr, void *, "%p");