Searched refs:atomic_cmpxchg_relaxed (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/tools/include/linux/ |
D | atomic.h | 8 #ifndef atomic_cmpxchg_relaxed 9 #define atomic_cmpxchg_relaxed atomic_cmpxchg macro
|
D | refcount.h | 89 old = atomic_cmpxchg_relaxed(&r->refs, val, new); in refcount_inc_not_zero()
|
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
D | atomic.h | 106 static inline int atomic_cmpxchg_relaxed(atomic_t *ptr, int old, int new) in atomic_cmpxchg_relaxed() function 126 #define atomic_cmpxchg_relaxed atomic_cmpxchg_relaxed macro
|
/kernel/linux/linux-5.10/include/linux/ |
D | atomic-fallback.h | 956 #define arch_atomic_cmpxchg_relaxed atomic_cmpxchg_relaxed 958 #ifndef atomic_cmpxchg_relaxed 961 #define atomic_cmpxchg_relaxed atomic_cmpxchg macro 968 int ret = atomic_cmpxchg_relaxed(v, old, new); in atomic_cmpxchg_acquire() 980 return atomic_cmpxchg_relaxed(v, old, new); in atomic_cmpxchg_release() 991 ret = atomic_cmpxchg_relaxed(v, old, new); in atomic_cmpxchg() 1056 r = atomic_cmpxchg_relaxed(v, o, new); in atomic_try_cmpxchg_relaxed()
|
/kernel/linux/linux-5.10/arch/riscv/include/asm/ |
D | atomic.h | 305 #define atomic_cmpxchg_relaxed atomic_cmpxchg_relaxed in ATOMIC_OPS() macro
|
/kernel/linux/linux-5.10/kernel/locking/ |
D | qspinlock.c | 231 old = atomic_cmpxchg_relaxed(&lock->val, val, new); in xchg_tail()
|
/kernel/linux/linux-5.10/tools/memory-model/ |
D | linux-kernel.def | 109 atomic_cmpxchg_relaxed(X,V,W) __cmpxchg{once}(X,V,W)
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | atomic.h | 186 #define atomic_cmpxchg_relaxed(v, o, n) \ macro
|
/kernel/linux/linux-5.10/include/asm-generic/ |
D | atomic-instrumented.h | 682 atomic_cmpxchg_relaxed(atomic_t *v, int old, int new) in atomic_cmpxchg_relaxed() function 687 #define atomic_cmpxchg_relaxed atomic_cmpxchg_relaxed macro
|
D | atomic-long.h | 925 return atomic_cmpxchg_relaxed(v, old, new); in atomic_long_cmpxchg_relaxed()
|
/kernel/linux/linux-5.10/drivers/iommu/arm/arm-smmu-v3/ |
D | arm-smmu-v3.c | 454 } while (atomic_cmpxchg_relaxed(&cmdq->lock, val, val + 1) != val); in arm_smmu_cmdq_shared_lock() 475 __ret = !atomic_cmpxchg_relaxed(&cmdq->lock, 0, INT_MIN); \
|