Home
last modified time | relevance | path

Searched refs:atomic_cmpset_ptr (Results 1 – 18 of 18) sorted by relevance

/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dllist.h39 } while (atomic_cmpset_ptr((uintptr_t *)&head->first, in llist_del_first()
52 } while (atomic_cmpset_ptr((uintptr_t *)&head->first, in llist_add()
66 } while (atomic_cmpset_ptr((uintptr_t *)&head->first, in llist_add_batch()
/freebsd/sys/dev/pty/
H A Dpty.c65 if (!atomic_cmpset_ptr((uintptr_t *)&dev->si_drv1, 0, 1)) in ptydev_fdopen()
/freebsd/sys/powerpc/include/
H A Datomic.h797 #define atomic_cmpset_ptr atomic_cmpset_long macro
801 #define atomic_cmpset_ptr atomic_cmpset_int macro
/freebsd/usr.sbin/bhyve/
H A Dblock_if.c428 } while (!atomic_cmpset_ptr((uintptr_t *)&blockif_bse_head, in blockif_sigcont_handler()
863 } while (!atomic_cmpset_ptr((uintptr_t *)&blockif_bse_head, in blockif_cancel()
/freebsd/sys/amd64/include/
H A Datomic.h583 #define atomic_cmpset_ptr atomic_cmpset_long macro
/freebsd/sys/riscv/include/
H A Datomic.h553 #define atomic_cmpset_ptr atomic_cmpset_64 macro
/freebsd/sys/netipsec/
H A Dipsec_offload.c259 if (!atomic_cmpset_ptr(&sav->accel_forget_tq, 0, (uintptr_t)ftq)) in ipsec_accel_alloc_forget_tq()
516 if (tq == NULL || !atomic_cmpset_ptr(&sav->accel_forget_tq, in ipsec_accel_forget_sav_impl()
/freebsd/sys/i386/include/
H A Datomic.h839 #define atomic_cmpset_ptr(dst, old, new) \ macro
/freebsd/sys/sys/
H A Datomic_san.h261 #define atomic_cmpset_ptr ATOMIC_SAN(cmpset_ptr) macro
/freebsd/sys/dev/ismt/
H A Dismt.c201 acquired = atomic_cmpset_ptr( in ismt_callback()
/freebsd/sys/arm64/include/
H A Datomic.h606 #define atomic_cmpset_ptr atomic_cmpset_64 macro
/freebsd/sys/kern/
H A Dkern_lock.c1514 if (!atomic_cmpset_ptr(&lk->lk_lock, x, v)) { in __lockmgr_args()
1544 if (!atomic_cmpset_ptr(&lk->lk_lock, x, in __lockmgr_args()
H A Dkern_exec.c1479 if (!atomic_cmpset_ptr((uintptr_t *)DPCPU_PTR(exec_args_kva), in exec_release_args_kva()
/freebsd/sys/arm/include/
H A Datomic.h1071 #define atomic_cmpset_ptr atomic_cmpset_32 macro
/freebsd/sys/x86/x86/
H A Dcpu_machdep.c1029 atomic_cmpset_ptr((volatile uintptr_t *)&hp->func, in hw_ibrs_disable_handler()
/freebsd/sys/netlink/route/
H A Dnexthop.c621 if (!atomic_cmpset_ptr((uintptr_t *)&V_un_ctl, (uintptr_t)NULL, (uintptr_t)ctl)) { in vnet_init_unhops()
/freebsd/sys/netgraph/netflow/
H A Dnetflow.c551 if (atomic_cmpset_ptr((volatile uintptr_t *)&priv->fib_data[fib], in ng_netflow_fib_init()
/freebsd/sys/dev/sfxge/
H A Dsfxge_tx.c705 } while (atomic_cmpset_ptr(putp, old, new) == 0); in sfxge_tx_qdpl_put_unlocked()