Searched refs:atomic_cmpxchg_relaxed (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/tools/include/linux/ |
D | atomic.h | 10 #ifndef atomic_cmpxchg_relaxed 11 #define atomic_cmpxchg_relaxed atomic_cmpxchg macro
|
D | refcount.h | 89 old = atomic_cmpxchg_relaxed(&r->refs, val, new); in refcount_inc_not_zero()
|
/linux-6.6.21/kernel/locking/ |
D | qspinlock.c | 232 old = atomic_cmpxchg_relaxed(&lock->val, val, new); in xchg_tail()
|
/linux-6.6.21/tools/memory-model/ |
D | linux-kernel.def | 112 atomic_cmpxchg_relaxed(X,V,W) __cmpxchg{once}(X,V,W)
|
/linux-6.6.21/drivers/iommu/arm/arm-smmu-v3/ |
D | arm-smmu-v3.c | 459 } 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/ |
D | ordering.txt | 104 while examples of the latter include atomic_cmpxchg_relaxed() and
|
/linux-6.6.21/include/linux/atomic/ |
D | atomic-instrumented.h | 1250 atomic_cmpxchg_relaxed(atomic_t *v, int old, int new) in atomic_cmpxchg_relaxed() function
|