Searched refs:atomic_cmpxchg (Results 1 - 13 of 13) sorted by relevance

/freebsd-current/sys/compat/linuxkpi/common/include/asm/
H A Datomic.h146 atomic_cmpxchg(atomic_t *v, int old, int new) 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-current/sys/contrib/dev/rtw89/
H A Dchan.c152 cur = atomic_cmpxchg(&hal->roc_entity_idx,
162 cur = atomic_cmpxchg(&hal->roc_entity_idx, idx,
265 atomic_cmpxchg(&hal->roc_entity_idx, roll, RTW89_SUB_ENTITY_0);
H A Dcore.c3467 cur = atomic_cmpxchg(&wait->cond, RTW89_WAIT_COND_IDLE, cond);
3488 cur = atomic_cmpxchg(&wait->cond, cond, RTW89_WAIT_COND_IDLE);
/freebsd-current/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Datomic.h49 #define atomic_cas_32(v, x, y) atomic_cmpxchg((atomic_t *)(v), x, y)
/freebsd-current/sys/compat/linuxkpi/common/src/
H A Dlinux_work.c78 while ((old = atomic_cmpxchg(v, c, pstate[c])) != c)
480 atomic_cmpxchg(&dwork->work.state,
489 atomic_cmpxchg(&dwork->work.state,
H A Dlinux_compat.c988 while ((old = atomic_cmpxchg(v, c, pstate[c])) != c)
/freebsd-current/sys/contrib/vchiq/interface/compat/
H A Dvchi_bsd.h109 atomic_cmpxchg(atomic_t *v, int oldv, int newv) function
/freebsd-current/sys/ofed/drivers/infiniband/core/
H A Dib_rdma_core.c81 return atomic_cmpxchg(&uobj->usecnt, 0, -1) == 0 ? 0 : -EBUSY;
/freebsd-current/sys/contrib/dev/mediatek/mt76/
H A Dtx.c236 atomic_cmpxchg(&wcid->non_aql_packets, pending, 0);
/freebsd-current/sys/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_core.c540 } while (atomic_cmpxchg(&service->poll_flags, value,
546 } while (atomic_cmpxchg(
/freebsd-current/sys/dev/irdma/
H A Dirdma_utils.c2386 if (atomic_cmpxchg(&cq->armed, 1, 0))
H A Dirdma_verbs.c2931 if (!atomic_cmpxchg(&iwcq->armed, 0, 1) || promo_event) {
/freebsd-current/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);

Completed in 191 milliseconds