Searched refs:atomic_cmpxchg_relaxed (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/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-v4.19/arch/arm64/include/asm/ |
D | atomic.h | 93 #define atomic_cmpxchg_relaxed(v, old, new) \ macro 155 #define atomic64_cmpxchg_relaxed atomic_cmpxchg_relaxed
|
/Linux-v4.19/arch/arm/include/asm/ |
D | atomic.h | 111 static inline int atomic_cmpxchg_relaxed(atomic_t *ptr, int old, int new) in atomic_cmpxchg_relaxed() function 131 #define atomic_cmpxchg_relaxed atomic_cmpxchg_relaxed macro
|
/Linux-v4.19/kernel/locking/ |
D | qrwlock.c | 87 } while (atomic_cmpxchg_relaxed(&lock->cnts, _QW_WAITING, in queued_write_lock_slowpath()
|
D | qspinlock.c | 224 old = atomic_cmpxchg_relaxed(&lock->val, val, new); in xchg_tail()
|
/Linux-v4.19/tools/memory-model/ |
D | linux-kernel.def | 101 atomic_cmpxchg_relaxed(X,V,W) __cmpxchg{once}(X,V,W)
|
/Linux-v4.19/include/linux/ |
D | atomic.h | 448 #ifndef atomic_cmpxchg_relaxed 449 #define atomic_cmpxchg_relaxed atomic_cmpxchg macro
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | atomic.h | 196 #define atomic_cmpxchg_relaxed(v, o, n) \ macro
|