/arch/mn10300/include/asm/ |
D | cmpxchg.h | 39 static inline unsigned long __cmpxchg(volatile unsigned long *m, in __cmpxchg() function 90 static inline unsigned long __cmpxchg(volatile unsigned long *m, in __cmpxchg() function 111 ((__typeof__(*(ptr))) __cmpxchg((unsigned long *)(ptr), \
|
/arch/arc/include/asm/ |
D | cmpxchg.h | 20 __cmpxchg(volatile void *ptr, unsigned long expected, unsigned long new) in __cmpxchg() function 50 __cmpxchg(volatile void *ptr, unsigned long expected, unsigned long new) in __cmpxchg() function 69 #define cmpxchg(ptr, o, n) ((typeof(*(ptr)))__cmpxchg((ptr), \
|
/arch/alpha/include/asm/ |
D | cmpxchg.h | 10 #define ____cmpxchg(type, args...) __cmpxchg ## type ## _local(args) 42 #define ____cmpxchg(type, args...) __cmpxchg ##type(args) 56 (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \
|
/arch/score/include/asm/ |
D | cmpxchg.h | 26 static inline unsigned long __cmpxchg(volatile unsigned long *m, in __cmpxchg() function 41 ((__typeof__(*(ptr))) __cmpxchg((unsigned long *)(ptr), \
|
/arch/arm64/include/asm/ |
D | cmpxchg.h | 82 static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg() function 161 ret = __cmpxchg(ptr, old, new, size); in __cmpxchg_mb() 180 __cmpxchg((ptr), (unsigned long)(o), \
|
/arch/sparc/include/asm/ |
D | cmpxchg_64.h | 97 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) in __cmpxchg() function 113 (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \ 128 case 8: return __cmpxchg(ptr, old, new, size); in __cmpxchg_local()
|
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_, \
|
/arch/metag/include/asm/ |
D | cmpxchg.h | 43 static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg() function 60 (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \
|
/arch/sh/include/asm/ |
D | cmpxchg.h | 51 static inline unsigned long __cmpxchg(volatile void * ptr, unsigned long old, in __cmpxchg() function 66 (__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/avr32/include/asm/ |
D | cmpxchg.h | 75 static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg() function 90 ((typeof(*(ptr)))__cmpxchg((ptr), (unsigned long)(old), \
|
/arch/parisc/include/asm/ |
D | cmpxchg.h | 62 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new_, int size) in __cmpxchg() function 79 (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \
|
/arch/arm/include/asm/ |
D | cmpxchg.h | 138 static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg() function 198 ret = __cmpxchg(ptr, old, new, size); in __cmpxchg_mb() 224 ret = __cmpxchg(ptr, old, new, size); in __cmpxchg_local()
|
/arch/xtensa/include/asm/ |
D | cmpxchg.h | 56 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) in __cmpxchg() function 68 (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \
|
/arch/mips/include/asm/ |
D | cmpxchg.h | 200 #define __cmpxchg(ptr, old, new, pre_barrier, post_barrier) \ macro 229 #define cmpxchg(ptr, old, new) __cmpxchg(ptr, old, new, smp_mb__before_llsc(), smp_llsc_mb()) 230 #define cmpxchg_local(ptr, old, new) __cmpxchg(ptr, old, new, , )
|
/arch/blackfin/include/asm/ |
D | cmpxchg.h | 49 static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg() function 69 ((__typeof__(*(ptr)))__cmpxchg((ptr), (unsigned long)(o), \
|
/arch/m32r/include/asm/ |
D | cmpxchg.h | 178 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) in __cmpxchg() function 193 ((__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)(o), \
|
/arch/s390/include/asm/ |
D | cmpxchg.h | 95 static inline unsigned long __cmpxchg(void *ptr, unsigned long old, in __cmpxchg() function 171 __cmpxchg((ptr), (unsigned long)(o), (unsigned long)(n), \ 281 return __cmpxchg(ptr, old, new, size); in __cmpxchg_local()
|
/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/powerpc/include/asm/ |
D | cmpxchg.h | 244 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, in __cmpxchg() function 279 (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \
|