Home
last modified time | relevance | path

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

/Linux-v5.15/tools/include/linux/
Datomic.h8 #ifndef atomic_cmpxchg_relaxed
9 #define atomic_cmpxchg_relaxed atomic_cmpxchg macro
Drefcount.h89 old = atomic_cmpxchg_relaxed(&r->refs, val, new); in refcount_inc_not_zero()
/Linux-v5.15/kernel/locking/
Dqspinlock.c231 old = atomic_cmpxchg_relaxed(&lock->val, val, new); in xchg_tail()
/Linux-v5.15/tools/memory-model/
Dlinux-kernel.def109 atomic_cmpxchg_relaxed(X,V,W) __cmpxchg{once}(X,V,W)
/Linux-v5.15/include/linux/atomic/
Datomic-instrumented.h494 atomic_cmpxchg_relaxed(atomic_t *v, int old, int new) in atomic_cmpxchg_relaxed() function
/Linux-v5.15/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c452 } while (atomic_cmpxchg_relaxed(&cmdq->lock, val, val + 1) != val); in arm_smmu_cmdq_shared_lock()
473 __ret = !atomic_cmpxchg_relaxed(&cmdq->lock, 0, INT_MIN); \
/Linux-v5.15/tools/memory-model/Documentation/
Dordering.txt104 while examples of the latter include atomic_cmpxchg_relaxed() and