Home
last modified time | relevance | path

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

12

/arch/mn10300/include/asm/
Dcmpxchg.h19 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/
Dcmpxchg.h8 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/
Dcmpxchg.h19 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/
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_, \
/arch/hexagon/include/asm/
Dcmpxchg.h36 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/
Dcmpxchg.h10 unsigned long __xchg(volatile unsigned long *m, unsigned long val) in __xchg() function
23 ((__typeof__(*(ptr))) __xchg((unsigned long *)(ptr), \
/arch/c6x/include/asm/
Dcmpxchg.h19 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/
Dcmpxchg.h6 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/
Dcmpxchg.h24 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/
Dcmpxchg.h16 #define __xchg(ptr, x, size) \ macro
37 ((__typeof__(*(ptr)))__xchg((ptr), (unsigned long)(x), sizeof(*(ptr))))
/arch/sh/include/asm/
Dcmpxchg.h22 #define __xchg(ptr, x, size) \ macro
43 ((__typeof__(*(ptr)))__xchg((ptr),(unsigned long)(x), sizeof(*(ptr))))
/arch/m68k/include/asm/
Dcmpxchg.h12 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/
Dcmpxchg_32.h17 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))))
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, in __xchg() function
/arch/arc/include/asm/
Dcmpxchg.h87 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/
Dcmpxchg.h18 ((__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/
Dcmpxchg.h24 __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/
Dcmpxchg.h139 ((__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/
Dcmpxchg.h25 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/
Dcmpxchg.h29 #define __xchg(x, ptr, size) \ macro
56 ((__typeof__(*(ptr))) __xchg((unsigned long) (x), (ptr), sizeof(*(ptr))))
/arch/m32r/include/asm/
Dcmpxchg.h17 __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/
Dsystem.h41 #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
/arch/arm/include/asm/
Dcmpxchg.h27 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/
Dcmpxchg.h121 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/
Dcmpxchg.h102 __xchg(volatile void *ptr, unsigned long x, unsigned int size) in __xchg() function
133 (__typeof__(*(ptr))) __xchg((ptr), (unsigned long)_x_, sizeof(*(ptr))); \

12