Searched refs:atomic_cmpxchg_relaxed (Results 1 – 11 of 11) sorted by relevance
| /OK3568_Linux_fs/kernel/tools/include/linux/ |
| H A D | atomic.h | 8 #ifndef atomic_cmpxchg_relaxed 9 #define atomic_cmpxchg_relaxed atomic_cmpxchg macro
|
| H A D | refcount.h | 89 old = atomic_cmpxchg_relaxed(&r->refs, val, new); in refcount_inc_not_zero()
|
| /OK3568_Linux_fs/kernel/arch/arm/include/asm/ |
| H A 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
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/arch/riscv/include/asm/ |
| H A D | atomic.h | 305 #define atomic_cmpxchg_relaxed atomic_cmpxchg_relaxed in ATOMIC_OPS() macro
|
| /OK3568_Linux_fs/kernel/kernel/locking/ |
| H A D | qspinlock.c | 231 old = atomic_cmpxchg_relaxed(&lock->val, val, new); in xchg_tail()
|
| /OK3568_Linux_fs/kernel/tools/memory-model/ |
| H A D | linux-kernel.def | 109 atomic_cmpxchg_relaxed(X,V,W) __cmpxchg{once}(X,V,W)
|
| /OK3568_Linux_fs/kernel/arch/powerpc/include/asm/ |
| H A D | atomic.h | 186 #define atomic_cmpxchg_relaxed(v, o, n) \ macro
|
| /OK3568_Linux_fs/kernel/include/asm-generic/ |
| H A 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
|
| H A D | atomic-long.h | 925 return atomic_cmpxchg_relaxed(v, old, new); in atomic_long_cmpxchg_relaxed()
|
| /OK3568_Linux_fs/kernel/drivers/iommu/arm/arm-smmu-v3/ |
| H A D | arm-smmu-v3.c | 442 } while (atomic_cmpxchg_relaxed(&cmdq->lock, val, val + 1) != val); in arm_smmu_cmdq_shared_lock() 463 __ret = !atomic_cmpxchg_relaxed(&cmdq->lock, 0, INT_MIN); \
|