Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/arm/include/asm/
Datomic.h106 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/
Datomic-fallback.h956 #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/
Datomic.h305 #define atomic_cmpxchg_relaxed atomic_cmpxchg_relaxed in ATOMIC_OPS() macro
/kernel/linux/linux-5.10/kernel/locking/
Dqspinlock.c231 old = atomic_cmpxchg_relaxed(&lock->val, val, new); in xchg_tail()
/kernel/linux/linux-5.10/tools/memory-model/
Dlinux-kernel.def109 atomic_cmpxchg_relaxed(X,V,W) __cmpxchg{once}(X,V,W)
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Datomic.h186 #define atomic_cmpxchg_relaxed(v, o, n) \ macro
/kernel/linux/linux-5.10/include/asm-generic/
Datomic-instrumented.h682 atomic_cmpxchg_relaxed(atomic_t *v, int old, int new) in atomic_cmpxchg_relaxed() function
687 #define atomic_cmpxchg_relaxed atomic_cmpxchg_relaxed macro
Datomic-long.h925 return atomic_cmpxchg_relaxed(v, old, new); in atomic_long_cmpxchg_relaxed()
/kernel/linux/linux-5.10/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c454 } 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); \