Searched refs:atomic_cmpset_ptr (Results 1 - 17 of 17) sorted by relevance

/freebsd-11-stable/sys/arm/include/
H A Datomic.h65 #define atomic_cmpset_ptr atomic_cmpset_32 macro
/freebsd-11-stable/sys/dev/pty/
H A Dpty.c66 if (!atomic_cmpset_ptr((uintptr_t *)&dev->si_drv1, 0, 1))
/freebsd-11-stable/sys/cddl/compat/opensolaris/sys/
H A Datomic.h36 atomic_cmpset_ptr((volatile uintptr_t *)(_a), (uintptr_t)(_b), (uintptr_t) (_c))
/freebsd-11-stable/sys/compat/linuxkpi/common/src/
H A Dlinux_tasklet.c47 atomic_cmpset_ptr((volatile uintptr_t *)&(ts)->entry.tqe_prev, old, new)
/freebsd-11-stable/sys/kern/
H A Dkern_lock.c589 if (atomic_cmpset_ptr(&lk->lk_lock, LK_SHARERS_LOCK(1) | x | v,
906 if (atomic_cmpset_ptr(&lk->lk_lock, LK_SHARERS_LOCK(1) | x | v,
1035 !atomic_cmpset_ptr(&lk->lk_lock, x,
1128 if (!atomic_cmpset_ptr(&lk->lk_lock, x,
1409 if (!atomic_cmpset_ptr(&lk->lk_lock, x, v)) {
1439 if (!atomic_cmpset_ptr(&lk->lk_lock, x,
H A Dkern_exec.c1398 if (!atomic_cmpset_ptr((uintptr_t *)DPCPU_PTR(exec_args_kva),
/freebsd-11-stable/sys/powerpc/include/
H A Datomic.h670 #define atomic_cmpset_ptr atomic_cmpset_long macro
674 #define atomic_cmpset_ptr atomic_cmpset_int macro
/freebsd-11-stable/usr.sbin/bhyve/
H A Dblock_if.c379 } while (!atomic_cmpset_ptr((uintptr_t *)&blockif_bse_head,
696 } while (!atomic_cmpset_ptr((uintptr_t *)&blockif_bse_head,
/freebsd-11-stable/sys/arm64/include/
H A Datomic.h409 #define atomic_cmpset_ptr atomic_cmpset_64 macro
/freebsd-11-stable/sys/riscv/include/
H A Datomic.h426 #define atomic_cmpset_ptr atomic_cmpset_64 macro
/freebsd-11-stable/sys/dev/hatm/
H A Dif_hatm_intr.c119 if (atomic_cmpset_ptr((uintptr_t *)list, (uintptr_t)buf->link,
133 if (atomic_cmpset_ptr((uintptr_t *)&sc->mbuf_list[g],
142 if (atomic_cmpset_ptr((uintptr_t *)&sc->mbuf_list[g],
/freebsd-11-stable/sys/amd64/include/
H A Datomic.h669 #define atomic_cmpset_ptr atomic_cmpset_long macro
/freebsd-11-stable/sys/mips/include/
H A Datomic.h746 #define atomic_cmpset_ptr atomic_cmpset_long macro
/freebsd-11-stable/sys/dev/ismt/
H A Dismt.c204 acquired = atomic_cmpset_ptr(
/freebsd-11-stable/sys/i386/include/
H A Datomic.h924 #define atomic_cmpset_ptr(dst, old, new) \ macro
/freebsd-11-stable/sys/netgraph/netflow/
H A Dnetflow.c585 if (atomic_cmpset_ptr((volatile uintptr_t *)&priv->fib_data[fib],
/freebsd-11-stable/sys/dev/sfxge/
H A Dsfxge_tx.c708 } while (atomic_cmpset_ptr(putp, old, new) == 0);

Completed in 173 milliseconds