Searched refs:arch_xchg (Results 1 – 7 of 7) sorted by relevance
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | atomic-arch-fallback.h | 12 #define arch_xchg_relaxed arch_xchg 13 #define arch_xchg_acquire arch_xchg 14 #define arch_xchg_release arch_xchg 19 __atomic_op_acquire(arch_xchg, __VA_ARGS__) 24 __atomic_op_release(arch_xchg, __VA_ARGS__) 27 #ifndef arch_xchg 28 #define arch_xchg(...) \ macro 29 __atomic_op_fence(arch_xchg, __VA_ARGS__)
|
| /OK3568_Linux_fs/kernel/arch/x86/include/asm/ |
| H A D | atomic.h | 208 return arch_xchg(&v->counter, new); in arch_atomic_xchg()
|
| H A D | atomic64_64.h | 196 return arch_xchg(&v->counter, new); in arch_atomic64_xchg()
|
| H A D | cmpxchg.h | 78 #define arch_xchg(ptr, v) __xchg_op((ptr), (v), xchg, "") macro
|
| /OK3568_Linux_fs/kernel/arch/arm64/include/asm/ |
| H A D | atomic.h | 152 arch_xchg(&((v)->counter), (new))
|
| H A D | cmpxchg.h | 104 #define arch_xchg(...) __xchg_wrapper( _mb, __VA_ARGS__) macro
|
| /OK3568_Linux_fs/kernel/include/asm-generic/ |
| H A D | atomic-instrumented.h | 1644 #if !defined(arch_xchg_relaxed) || defined(arch_xchg) 1649 arch_xchg(__ai_ptr, __VA_ARGS__); \
|