Home
last modified time | relevance | path

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

/linux-6.6.21/tools/include/linux/
Datomic.h10 #ifndef atomic_cmpxchg_relaxed
11 #define atomic_cmpxchg_relaxed atomic_cmpxchg macro
Drefcount.h89 old = atomic_cmpxchg_relaxed(&r->refs, val, new); in refcount_inc_not_zero()
/linux-6.6.21/kernel/locking/
Dqspinlock.c232 old = atomic_cmpxchg_relaxed(&lock->val, val, new); in xchg_tail()
/linux-6.6.21/tools/memory-model/
Dlinux-kernel.def112 atomic_cmpxchg_relaxed(X,V,W) __cmpxchg{once}(X,V,W)
/linux-6.6.21/drivers/iommu/arm/arm-smmu-v3/
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); \
/linux-6.6.21/tools/memory-model/Documentation/
Dordering.txt104 while examples of the latter include atomic_cmpxchg_relaxed() and
/linux-6.6.21/include/linux/atomic/
Datomic-instrumented.h1250 atomic_cmpxchg_relaxed(atomic_t *v, int old, int new) in atomic_cmpxchg_relaxed() function