Searched refs:atomic_cmpxchg_relaxed (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.4/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()
|
/Linux-v5.4/kernel/locking/ |
D | qrwlock.c | 78 } while (atomic_cmpxchg_relaxed(&lock->cnts, _QW_WAITING, in queued_write_lock_slowpath()
|
D | qspinlock.c | 230 old = atomic_cmpxchg_relaxed(&lock->val, val, new); in xchg_tail()
|
/Linux-v5.4/arch/arm/include/asm/ |
D | atomic.h | 108 static inline int atomic_cmpxchg_relaxed(atomic_t *ptr, int old, int new) in atomic_cmpxchg_relaxed() function 128 #define atomic_cmpxchg_relaxed atomic_cmpxchg_relaxed macro
|
/Linux-v5.4/include/linux/ |
D | atomic-fallback.h | 864 #ifndef atomic_cmpxchg_relaxed 867 #define atomic_cmpxchg_relaxed atomic_cmpxchg macro 874 int ret = atomic_cmpxchg_relaxed(v, old, new); in atomic_cmpxchg_acquire() 886 return atomic_cmpxchg_relaxed(v, old, new); in atomic_cmpxchg_release() 897 ret = atomic_cmpxchg_relaxed(v, old, new); in atomic_cmpxchg() 957 r = atomic_cmpxchg_relaxed(v, o, new); in atomic_try_cmpxchg_relaxed()
|
/Linux-v5.4/arch/riscv/include/asm/ |
D | atomic.h | 307 #define atomic_cmpxchg_relaxed atomic_cmpxchg_relaxed in ATOMIC_OPS() macro
|
/Linux-v5.4/tools/memory-model/ |
D | linux-kernel.def | 109 atomic_cmpxchg_relaxed(X,V,W) __cmpxchg{once}(X,V,W)
|
/Linux-v5.4/arch/powerpc/include/asm/ |
D | atomic.h | 196 #define atomic_cmpxchg_relaxed(v, o, n) \ macro
|
/Linux-v5.4/include/asm-generic/ |
D | atomic-instrumented.h | 681 atomic_cmpxchg_relaxed(atomic_t *v, int old, int new) in atomic_cmpxchg_relaxed() function 686 #define atomic_cmpxchg_relaxed atomic_cmpxchg_relaxed macro
|
D | atomic-long.h | 924 return atomic_cmpxchg_relaxed(v, old, new); in atomic_long_cmpxchg_relaxed()
|
/Linux-v5.4/drivers/iommu/ |
D | arm-smmu-v3.c | 1020 } while (atomic_cmpxchg_relaxed(&cmdq->lock, val, val + 1) != val); in arm_smmu_cmdq_shared_lock() 1041 __ret = !atomic_cmpxchg_relaxed(&cmdq->lock, 0, INT_MIN); \
|