Searched refs:atomic_cmpset_ptr (Results 1 – 18 of 18) sorted by relevance
| /freebsd/sys/compat/linuxkpi/common/include/linux/ |
| H A D | llist.h | 39 } 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 D | pty.c | 65 if (!atomic_cmpset_ptr((uintptr_t *)&dev->si_drv1, 0, 1)) in ptydev_fdopen()
|
| /freebsd/sys/powerpc/include/ |
| H A D | atomic.h | 797 #define atomic_cmpset_ptr atomic_cmpset_long macro 801 #define atomic_cmpset_ptr atomic_cmpset_int macro
|
| /freebsd/usr.sbin/bhyve/ |
| H A D | block_if.c | 428 } 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 D | atomic.h | 583 #define atomic_cmpset_ptr atomic_cmpset_long macro
|
| /freebsd/sys/riscv/include/ |
| H A D | atomic.h | 553 #define atomic_cmpset_ptr atomic_cmpset_64 macro
|
| /freebsd/sys/netipsec/ |
| H A D | ipsec_offload.c | 259 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 D | atomic.h | 839 #define atomic_cmpset_ptr(dst, old, new) \ macro
|
| /freebsd/sys/sys/ |
| H A D | atomic_san.h | 261 #define atomic_cmpset_ptr ATOMIC_SAN(cmpset_ptr) macro
|
| /freebsd/sys/dev/ismt/ |
| H A D | ismt.c | 201 acquired = atomic_cmpset_ptr( in ismt_callback()
|
| /freebsd/sys/arm64/include/ |
| H A D | atomic.h | 606 #define atomic_cmpset_ptr atomic_cmpset_64 macro
|
| /freebsd/sys/kern/ |
| H A D | kern_lock.c | 1514 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 D | kern_exec.c | 1479 if (!atomic_cmpset_ptr((uintptr_t *)DPCPU_PTR(exec_args_kva), in exec_release_args_kva()
|
| /freebsd/sys/arm/include/ |
| H A D | atomic.h | 1071 #define atomic_cmpset_ptr atomic_cmpset_32 macro
|
| /freebsd/sys/x86/x86/ |
| H A D | cpu_machdep.c | 1029 atomic_cmpset_ptr((volatile uintptr_t *)&hp->func, in hw_ibrs_disable_handler()
|
| /freebsd/sys/netlink/route/ |
| H A D | nexthop.c | 621 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 D | netflow.c | 551 if (atomic_cmpset_ptr((volatile uintptr_t *)&priv->fib_data[fib], in ng_netflow_fib_init()
|
| /freebsd/sys/dev/sfxge/ |
| H A D | sfxge_tx.c | 705 } while (atomic_cmpset_ptr(putp, old, new) == 0); in sfxge_tx_qdpl_put_unlocked()
|