/arch/arc/include/asm/ |
D | cmpxchg.h | 17 __cmpxchg(volatile void *ptr, unsigned long expected, unsigned long new) in __cmpxchg() function 47 __cmpxchg(volatile void *ptr, unsigned long expected, unsigned long new) in __cmpxchg() function 67 __cmpxchg(volatile void *ptr, unsigned long expected, unsigned long new) in __cmpxchg() function 93 (typeof(*(ptr)))__cmpxchg((ptr), \
|
/arch/alpha/include/asm/ |
D | cmpxchg.h | 10 #define ____cmpxchg(type, args...) __cmpxchg ## type ## _local(args) 38 #define ____cmpxchg(type, args...) __cmpxchg ##type(args) 62 __ret = (__typeof__(*(ptr))) __cmpxchg((ptr), \
|
/arch/sh/include/asm/ |
D | cmpxchg.h | 55 static inline unsigned long __cmpxchg(volatile void * ptr, unsigned long old, in __cmpxchg() function 70 (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \
|
/arch/m68k/include/asm/ |
D | cmpxchg.h | 95 static inline unsigned long __cmpxchg(volatile void *p, unsigned long old, in __cmpxchg() function 122 ((__typeof__(*(ptr)))__cmpxchg((ptr), (unsigned long)(o), \ 125 ((__typeof__(*(ptr)))__cmpxchg((ptr), (unsigned long)(o), \
|
/arch/csky/include/asm/ |
D | cmpxchg.h | 38 #define __cmpxchg(ptr, old, new, size) \ macro 68 (__cmpxchg((ptr), (o), (n), sizeof(*(ptr))))
|
/arch/sparc/include/asm/ |
D | cmpxchg_32.h | 46 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new_, int size) in __cmpxchg() function 62 (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \
|
D | cmpxchg_64.h | 157 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) in __cmpxchg() function 175 (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \ 190 case 8: return __cmpxchg(ptr, old, new, size); in __cmpxchg_local()
|
/arch/arm/include/asm/ |
D | cmpxchg.h | 156 static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg() function 211 (__typeof__(*(ptr)))__cmpxchg((ptr), \ 231 ret = __cmpxchg(ptr, old, new, size); in __cmpxchg_local()
|
/arch/parisc/include/asm/ |
D | cmpxchg.h | 66 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new_, int size) in __cmpxchg() function 83 (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \
|
/arch/openrisc/include/asm/ |
D | cmpxchg.h | 121 static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg() function 137 (__typeof__(*(ptr))) __cmpxchg((ptr), \
|
/arch/xtensa/include/asm/ |
D | cmpxchg.h | 74 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) in __cmpxchg() function 86 (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \
|
/arch/x86/include/asm/ |
D | mc146818rtc.h | 50 if (__cmpxchg(&cmos_lock, 0, new, sizeof(cmos_lock)) == 0) in lock_cmos()
|
D | cmpxchg.h | 133 #define __cmpxchg(ptr, old, new, size) \ macro 149 __cmpxchg(ptr, old, new, sizeof(*(ptr)))
|
/arch/mips/include/asm/ |
D | cmpxchg.h | 157 unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg() function 184 __cmpxchg((ptr), \
|
/arch/riscv/include/asm/ |
D | cmpxchg.h | 302 #define __cmpxchg(ptr, old, new, size) \ macro 344 (__typeof__(*(ptr))) __cmpxchg((ptr), \
|
D | atomic.h | 289 return __cmpxchg(&(v->counter), o, n, size); \
|
/arch/arm64/include/asm/ |
D | cmpxchg.h | 151 static __always_inline unsigned long __cmpxchg##sfx(volatile void *ptr, \ 183 __cmpxchg##sfx((ptr), (unsigned long)(o), \
|
/arch/powerpc/include/asm/ |
D | cmpxchg.h | 403 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, in __cmpxchg() function 485 (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \
|