/arch/mn10300/include/asm/ |
D | cmpxchg.h | 19 unsigned long __xchg(volatile unsigned long *m, unsigned long val) in __xchg() function 75 unsigned long __xchg(volatile unsigned long *m, unsigned long val) in __xchg() function 107 ((__typeof__(*(ptr))) __xchg((unsigned long *)(ptr), \
|
/arch/microblaze/include/asm/ |
D | cmpxchg.h | 8 static inline unsigned long __xchg(unsigned long x, volatile void *ptr, in __xchg() function 37 ((__typeof__(*(ptr))) __xchg((unsigned long)(x), (ptr), sizeof(*(ptr))))
|
/arch/unicore32/include/asm/ |
D | cmpxchg.h | 19 static inline unsigned long __xchg(unsigned long x, volatile void *ptr, in __xchg() function 45 ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), sizeof(*(ptr))))
|
/arch/alpha/include/asm/ |
D | cmpxchg.h | 9 #define ____xchg(type, args...) __xchg ## type ## _local(args) 41 #define ____xchg(type, args...) __xchg ##type(args) 48 (__typeof__(*(ptr))) __xchg((ptr), (unsigned long)_x_, \
|
/arch/hexagon/include/asm/ |
D | cmpxchg.h | 36 static inline unsigned long __xchg(unsigned long x, volatile void *ptr, in __xchg() function 59 #define xchg(ptr, v) ((__typeof__(*(ptr)))__xchg((unsigned long)(v), (ptr), \
|
/arch/score/include/asm/ |
D | cmpxchg.h | 10 unsigned long __xchg(volatile unsigned long *m, unsigned long val) in __xchg() function 23 ((__typeof__(*(ptr))) __xchg((unsigned long *)(ptr), \
|
/arch/c6x/include/asm/ |
D | cmpxchg.h | 19 static inline unsigned int __xchg(unsigned int x, volatile void *ptr, int size) in __xchg() function 48 ((__typeof__(*(ptr)))__xchg((unsigned int)(x), (void *) (ptr), \
|
/arch/cris/include/asm/ |
D | cmpxchg.h | 6 static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) in __xchg() function 34 ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
|
/arch/blackfin/include/asm/ |
D | cmpxchg.h | 24 static inline unsigned long __xchg(unsigned long x, volatile void *ptr, in __xchg() function 82 static inline unsigned long __xchg(unsigned long x, volatile void *ptr, in __xchg() function 130 #define xchg(ptr, x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), sizeof(*(ptr))))
|
/arch/metag/include/asm/ |
D | cmpxchg.h | 16 #define __xchg(ptr, x, size) \ macro 37 ((__typeof__(*(ptr)))__xchg((ptr), (unsigned long)(x), sizeof(*(ptr))))
|
/arch/sh/include/asm/ |
D | cmpxchg.h | 22 #define __xchg(ptr, x, size) \ macro 43 ((__typeof__(*(ptr)))__xchg((ptr),(unsigned long)(x), sizeof(*(ptr))))
|
/arch/m68k/include/asm/ |
D | cmpxchg.h | 12 static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) in __xchg() function 43 static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) in __xchg() function 78 #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
|
/arch/sparc/include/asm/ |
D | cmpxchg_32.h | 17 static inline unsigned long __xchg(unsigned long x, __volatile__ void * ptr, int size) in __xchg() function 27 #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
|
D | cmpxchg_64.h | 43 #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) 47 static inline unsigned long __xchg(unsigned long x, __volatile__ void * ptr, in __xchg() function
|
/arch/arc/include/asm/ |
D | cmpxchg.h | 87 static inline unsigned long __xchg(unsigned long val, volatile void *ptr, in __xchg() function 109 #define _xchg(ptr, with) ((typeof(*(ptr)))__xchg((unsigned long)(with), (ptr), \
|
/arch/avr32/include/asm/ |
D | cmpxchg.h | 18 ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) 33 static inline unsigned long __xchg(unsigned long x, in __xchg() function
|
/arch/parisc/include/asm/ |
D | cmpxchg.h | 24 __xchg(unsigned long x, __volatile__ void *ptr, int size) in __xchg() function 47 ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), sizeof(*(ptr))))
|
/arch/xtensa/include/asm/ |
D | cmpxchg.h | 139 ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) 150 __xchg(unsigned long x, volatile void * ptr, int size) in __xchg() function
|
/arch/arm64/include/asm/ |
D | cmpxchg.h | 25 static inline unsigned long __xchg(unsigned long x, volatile void *ptr, int size) in __xchg() function 78 __xchg((unsigned long)(x), (ptr), sizeof(*(ptr))); \
|
/arch/ia64/include/uapi/asm/ |
D | cmpxchg.h | 29 #define __xchg(x, ptr, size) \ macro 56 ((__typeof__(*(ptr))) __xchg((unsigned long) (x), (ptr), sizeof(*(ptr))))
|
/arch/m32r/include/asm/ |
D | cmpxchg.h | 17 __xchg(unsigned long x, volatile void *ptr, int size) in __xchg() function 68 ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), sizeof(*(ptr))))
|
/arch/cris/include/arch-v10/arch/ |
D | system.h | 41 #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
|
/arch/arm/include/asm/ |
D | cmpxchg.h | 27 static inline unsigned long __xchg(unsigned long x, volatile void *ptr, int size) in __xchg() function 106 ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
|
/arch/mips/include/asm/ |
D | cmpxchg.h | 121 static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) in __xchg() function 138 __xchg((unsigned long)(x), (ptr), sizeof(*(ptr)))); \
|
/arch/powerpc/include/asm/ |
D | cmpxchg.h | 102 __xchg(volatile void *ptr, unsigned long x, unsigned int size) in __xchg() function 133 (__typeof__(*(ptr))) __xchg((ptr), (unsigned long)_x_, sizeof(*(ptr))); \
|