Searched refs:__xchg (Results 1 - 25 of 25) sorted by relevance

/linux-4.4.14/arch/alpha/include/asm/
H A Dcmpxchg.h9 #define ____xchg(type, args...) __xchg ## type ## _local(args)
41 #define ____xchg(type, args...) __xchg ##type(args)
48 (__typeof__(*(ptr))) __xchg((ptr), (unsigned long)_x_, \
/linux-4.4.14/arch/score/include/asm/
H A Dcmpxchg.h10 unsigned long __xchg(volatile unsigned long *m, unsigned long val) __xchg() function
23 ((__typeof__(*(ptr))) __xchg((unsigned long *)(ptr), \
/linux-4.4.14/arch/microblaze/include/asm/
H A Dcmpxchg.h8 static inline unsigned long __xchg(unsigned long x, volatile void *ptr, __xchg() function
37 ((__typeof__(*(ptr))) __xchg((unsigned long)(x), (ptr), sizeof(*(ptr))))
/linux-4.4.14/arch/unicore32/include/asm/
H A Dcmpxchg.h19 static inline unsigned long __xchg(unsigned long x, volatile void *ptr, __xchg() function
45 ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), sizeof(*(ptr))))
/linux-4.4.14/arch/sh/include/asm/
H A Dcmpxchg.h22 #define __xchg(ptr, x, size) \ macro
43 ((__typeof__(*(ptr)))__xchg((ptr),(unsigned long)(x), sizeof(*(ptr))))
/linux-4.4.14/arch/metag/include/asm/
H A Dcmpxchg.h16 #define __xchg(ptr, x, size) \ macro
37 ((__typeof__(*(ptr)))__xchg((ptr), (unsigned long)(x), sizeof(*(ptr))))
/linux-4.4.14/arch/h8300/include/asm/
H A Dcmpxchg.h7 ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), \
13 static inline unsigned long __xchg(unsigned long x, __xchg() function
/linux-4.4.14/arch/m68k/include/asm/
H A Dcmpxchg.h12 static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) __xchg() function
43 static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) __xchg() function
78 #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
/linux-4.4.14/arch/mn10300/include/asm/
H A Dcmpxchg.h19 unsigned long __xchg(volatile unsigned long *m, unsigned long val) __xchg() function
75 unsigned long __xchg(volatile unsigned long *m, unsigned long val) __xchg() function
107 ((__typeof__(*(ptr))) __xchg((unsigned long *)(ptr), \
/linux-4.4.14/arch/hexagon/include/asm/
H A Dcmpxchg.h26 * __xchg - atomically exchange a register and a memory location
36 static inline unsigned long __xchg(unsigned long x, volatile void *ptr, __xchg() function
59 #define xchg(ptr, v) ((__typeof__(*(ptr)))__xchg((unsigned long)(v), (ptr), \
/linux-4.4.14/arch/c6x/include/asm/
H A Dcmpxchg.h19 static inline unsigned int __xchg(unsigned int x, volatile void *ptr, int size) __xchg() function
48 ((__typeof__(*(ptr)))__xchg((unsigned int)(x), (void *) (ptr), \
/linux-4.4.14/include/asm-generic/
H A Dcmpxchg.h25 unsigned long __xchg(unsigned long x, volatile void *ptr, int size) __xchg() function
84 __xchg((unsigned long)(x), (ptr), sizeof(*(ptr)))); \
/linux-4.4.14/arch/blackfin/include/asm/
H A Dcmpxchg.h24 static inline unsigned long __xchg(unsigned long x, volatile void *ptr, __xchg() function
82 static inline unsigned long __xchg(unsigned long x, volatile void *ptr, __xchg() function
130 #define xchg(ptr, x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), sizeof(*(ptr))))
/linux-4.4.14/arch/sparc/include/asm/
H A Dcmpxchg_32.h17 static inline unsigned long __xchg(unsigned long x, __volatile__ void * ptr, int size) __xchg() function
27 #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
H A Dcmpxchg_64.h43 #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, __xchg() function
/linux-4.4.14/arch/avr32/include/asm/
H A Dcmpxchg.h18 ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
33 static inline unsigned long __xchg(unsigned long x, __xchg() function
/linux-4.4.14/arch/xtensa/include/asm/
H A Dcmpxchg.h139 ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
150 __xchg(unsigned long x, volatile void * ptr, int size) __xchg() function
/linux-4.4.14/arch/parisc/include/asm/
H A Dcmpxchg.h24 __xchg(unsigned long x, __volatile__ void *ptr, int size) __xchg() function
47 ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), sizeof(*(ptr))))
/linux-4.4.14/arch/ia64/include/uapi/asm/
H A Dcmpxchg.h29 #define __xchg(x, ptr, size) \ macro
56 ((__typeof__(*(ptr))) __xchg((unsigned long) (x), (ptr), sizeof(*(ptr))))
/linux-4.4.14/arch/m32r/include/asm/
H A Dcmpxchg.h17 __xchg(unsigned long x, volatile void *ptr, int size) __xchg() function
68 ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), sizeof(*(ptr))))
/linux-4.4.14/arch/arc/include/asm/
H A Dcmpxchg.h87 static inline unsigned long __xchg(unsigned long val, volatile void *ptr, __xchg() function
109 #define _xchg(ptr, with) ((typeof(*(ptr)))__xchg((unsigned long)(with), (ptr), \
/linux-4.4.14/arch/powerpc/include/asm/
H A Dcmpxchg.h102 __xchg(volatile void *ptr, unsigned long x, unsigned int size) __xchg() function
133 (__typeof__(*(ptr))) __xchg((ptr), (unsigned long)_x_, sizeof(*(ptr))); \
/linux-4.4.14/arch/mips/include/asm/
H A Dcmpxchg.h121 static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) __xchg() function
138 __xchg((unsigned long)(x), (ptr), sizeof(*(ptr)))); \
/linux-4.4.14/arch/arm64/include/asm/
H A Dcmpxchg.h79 static inline unsigned long __xchg##sfx(unsigned long x, \
110 __xchg##sfx((unsigned long)(x), (ptr), sizeof(*(ptr))); \
/linux-4.4.14/arch/arm/include/asm/
H A Dcmpxchg.h27 static inline unsigned long __xchg(unsigned long x, volatile void *ptr, int size) __xchg() function
117 (__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), \

Completed in 855 milliseconds