/freebsd/sys/compat/linuxkpi/common/include/asm/ |
H A D | atomic.h | 146 atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function 282 __r = atomic_cmpxchg##type((_p), __o, (_n)); \ 313 while ((old = atomic_cmpxchg(v, c, c c_op i)) != c) \ 323 while ((old = atomic_cmpxchg(v, c, c c_op i)) != c) \
|
/freebsd/sys/contrib/dev/rtw89/ |
H A D | chan.c | 194 cur = atomic_cmpxchg(&hal->roc_entity_idx, in rtw89_entity_recalc() 204 cur = atomic_cmpxchg(&hal->roc_entity_idx, idx, in rtw89_entity_recalc()
|
H A D | core.c | 4129 cur = atomic_cmpxchg(&wait->cond, RTW89_WAIT_COND_IDLE, cond); in rtw89_wait_for_cond() 4150 cur = atomic_cmpxchg(&wait->cond, cond, RTW89_WAIT_COND_IDLE); in rtw89_complete_cond()
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_work.c | 78 while ((old = atomic_cmpxchg(v, c, pstate[c])) != c) in linux_update_state() 480 atomic_cmpxchg(&dwork->work.state, in linux_cancel_delayed_work() 489 atomic_cmpxchg(&dwork->work.state, in linux_cancel_delayed_work()
|
H A D | linux_compat.c | 992 while ((old = atomic_cmpxchg(v, c, pstate[c])) != c) in linux_poll_wakeup_state()
|
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | atomic.h | 50 #define atomic_cas_32(v, x, y) atomic_cmpxchg((atomic_t *)(v), x, y)
|
/freebsd/sys/contrib/vchiq/interface/compat/ |
H A D | vchi_bsd.h | 109 atomic_cmpxchg(atomic_t *v, int oldv, int newv) in atomic_cmpxchg() function
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_rdma_core.c | 81 return atomic_cmpxchg(&uobj->usecnt, 0, -1) == 0 ? 0 : -EBUSY; in uverbs_try_lock_object()
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | tx.c | 236 atomic_cmpxchg(&wcid->non_aql_packets, pending, 0); in mt76_tx_check_non_aql()
|
/freebsd/sys/contrib/vchiq/interface/vchiq_arm/ |
H A D | vchiq_core.c | 540 } while (atomic_cmpxchg(&service->poll_flags, value, in request_poll() 546 } while (atomic_cmpxchg( in request_poll()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | OpenCLBuiltins.td | 1059 foreach name = ["atomic_cmpxchg"] in { 1075 foreach name = ["atomic_cmpxchg"] in {
|
/freebsd/sys/dev/irdma/ |
H A D | irdma_utils.c | 2386 if (atomic_cmpxchg(&cq->armed, 1, 0)) in irdma_comp_handler()
|
H A D | irdma_verbs.c | 2931 if (!atomic_cmpxchg(&iwcq->armed, 0, 1) || promo_event) { in irdma_req_notify_cq()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVBuiltins.td | 583 defm : DemangledNativeBuiltin<"atomic_cmpxchg", OpenCL_std, Atomic, 3, 6, OpAtomicCompareExchange>;
|
/freebsd/contrib/llvm-project/clang/lib/Headers/ |
H A D | opencl-c.h | 13051 int __ovld atomic_cmpxchg(volatile __global int *, int, int); 13052 uint __ovld atomic_cmpxchg(volatile __global uint *, uint, uint); 13053 int __ovld atomic_cmpxchg(volatile __local int *, int, int); 13054 uint __ovld atomic_cmpxchg(volatile __local uint *, uint, uint); 13056 int __ovld atomic_cmpxchg(volatile int *, int, int); 13057 uint __ovld atomic_cmpxchg(volatile uint *, uint, uint);
|