Searched refs:cmpxchg (Results 1 – 4 of 4) sorted by relevance
/development/ndk/platforms/android-9/arch-mips/include/asm/ |
D | cmpxchg.h | 26 #define cmpxchg(ptr, old, new) __cmpxchg(ptr, old, new, smp_llsc_mb()) macro 29 #define cmpxchg64(ptr, o, n) ({ BUILD_BUG_ON(sizeof(*(ptr)) != 8); cmpxchg((ptr), (o), (n)); …
|
D | atomic.h | 32 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n)))
|
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
D | atomic_32.h | 30 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new)))
|
D | cmpxchg_32.h | 31 #define cmpxchg(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __r… macro
|