Home
last modified time | relevance | path

Searched refs:atomic_cmpxchg_relaxed (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/tools/include/linux/
H A Datomic.h10 #ifndef atomic_cmpxchg_relaxed
11 #define atomic_cmpxchg_relaxed atomic_cmpxchg macro
H A Drefcount.h89 old = atomic_cmpxchg_relaxed(&r->refs, val, new); in refcount_inc_not_zero()
/openbmc/linux/kernel/locking/
H A Dqspinlock.c232 old = atomic_cmpxchg_relaxed(&lock->val, val, new); in xchg_tail()
/openbmc/linux/tools/memory-model/
H A Dlinux-kernel.def112 atomic_cmpxchg_relaxed(X,V,W) __cmpxchg{once}(X,V,W)
/openbmc/linux/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.c459 } while (atomic_cmpxchg_relaxed(&cmdq->lock, val, val + 1) != val); in arm_smmu_cmdq_shared_lock()
480 __ret = !atomic_cmpxchg_relaxed(&cmdq->lock, 0, INT_MIN); \
/openbmc/linux/tools/memory-model/Documentation/
H A Dordering.txt104 while examples of the latter include atomic_cmpxchg_relaxed() and
/openbmc/linux/include/linux/atomic/
H A Datomic-instrumented.h1250 atomic_cmpxchg_relaxed(atomic_t *v, int old, int new) in atomic_cmpxchg_relaxed() function