Home
last modified time | relevance | path

Searched refs:atomic_cmpxchg (Results 1 – 15 of 15) sorted by relevance

/freebsd/sys/compat/linuxkpi/common/include/asm/
H A Datomic.h146 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 Dchan.c194 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 Dcore.c4129 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 Dlinux_work.c78 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 Dlinux_compat.c992 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 Datomic.h50 #define atomic_cas_32(v, x, y) atomic_cmpxchg((atomic_t *)(v), x, y)
/freebsd/sys/contrib/vchiq/interface/compat/
H A Dvchi_bsd.h109 atomic_cmpxchg(atomic_t *v, int oldv, int newv) in atomic_cmpxchg() function
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_rdma_core.c81 return atomic_cmpxchg(&uobj->usecnt, 0, -1) == 0 ? 0 : -EBUSY; in uverbs_try_lock_object()
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dtx.c236 atomic_cmpxchg(&wcid->non_aql_packets, pending, 0); in mt76_tx_check_non_aql()
/freebsd/sys/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_core.c540 } 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 DOpenCLBuiltins.td1059 foreach name = ["atomic_cmpxchg"] in {
1075 foreach name = ["atomic_cmpxchg"] in {
/freebsd/sys/dev/irdma/
H A Dirdma_utils.c2386 if (atomic_cmpxchg(&cq->armed, 1, 0)) in irdma_comp_handler()
H A Dirdma_verbs.c2931 if (!atomic_cmpxchg(&iwcq->armed, 0, 1) || promo_event) { in irdma_req_notify_cq()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVBuiltins.td583 defm : DemangledNativeBuiltin<"atomic_cmpxchg", OpenCL_std, Atomic, 3, 6, OpAtomicCompareExchange>;
/freebsd/contrib/llvm-project/clang/lib/Headers/
H A Dopencl-c.h13051 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);