/linux/arch/m68k/include/asm/ |
H A D | cmpxchg.h | 13 static inline unsigned long __arch_xchg(unsigned long x, volatile void * ptr, int size) in __arch_xchg() function 38 static inline unsigned long __arch_xchg(unsigned long x, volatile void * ptr, int size) in __arch_xchg() function 73 #define arch_xchg(ptr,x) ({(__typeof__(*(ptr)))__arch_xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))…
|
/linux/arch/hexagon/include/asm/ |
H A D | cmpxchg.h | 23 __arch_xchg(unsigned long x, volatile void *ptr, int size) in __arch_xchg() function 45 #define arch_xchg(ptr, v) ((__typeof__(*(ptr)))__arch_xchg((unsigned long)(v), (ptr), \
|
/linux/arch/sh/include/asm/ |
H A D | cmpxchg.h | 26 #define __arch_xchg(ptr, x, size) \ macro 50 ((__typeof__(*(ptr)))__arch_xchg((ptr),(unsigned long)(x), sizeof(*(ptr))))
|
/linux/arch/sparc/include/asm/ |
H A D | cmpxchg_32.h | 18 static __always_inline unsigned long __arch_xchg(unsigned long x, __volatile__ void * ptr, int size) in __arch_xchg() function 28 #define arch_xchg(ptr,x) ({(__typeof__(*(ptr)))__arch_xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))…
|
H A D | cmpxchg_64.h | 58 __arch_xchg((unsigned long)(x), (ptr), sizeof(*(ptr))); \ 91 __arch_xchg(unsigned long x, __volatile__ void * ptr, int size) in __arch_xchg() function
|
/linux/arch/arc/include/asm/ |
H A D | cmpxchg.h | 90 #define __arch_xchg(ptr, val) \ macro 107 _val_ = __arch_xchg(_p_, _val_); \
|
/linux/arch/parisc/include/asm/ |
H A D | cmpxchg.h | 25 __arch_xchg(unsigned long x, volatile void *ptr, int size) in __arch_xchg() function 52 __arch_xchg((unsigned long)_x_, (ptr), sizeof(*(ptr))); \
|
/linux/arch/openrisc/include/asm/ |
H A D | cmpxchg.h | 151 __arch_xchg(volatile void *ptr, unsigned long with, int size) in __arch_xchg() function 166 (__typeof__(*(ptr))) __arch_xchg((ptr), \
|
/linux/arch/arm/include/asm/ |
H A D | cmpxchg.h | 30 __arch_xchg(unsigned long x, volatile void *ptr, int size) in __arch_xchg() function 120 (__typeof__(*(ptr)))__arch_xchg((unsigned long)(x), (ptr), \
|
/linux/arch/loongarch/include/asm/ |
H A D | cmpxchg.h | 65 __arch_xchg(volatile void *ptr, unsigned long x, int size) in __arch_xchg() function 90 __arch_xchg((ptr), (unsigned long)(x), sizeof(*(ptr))); \
|
/linux/arch/xtensa/include/asm/ |
H A D | cmpxchg.h | 175 ((__typeof__(*(ptr)))__arch_xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) 208 __arch_xchg(unsigned long x, volatile void * ptr, int size) in __arch_xchg() function
|
/linux/arch/mips/include/asm/ |
H A D | cmpxchg.h | 71 unsigned long __arch_xchg(volatile void *ptr, unsigned long x, int size) in __arch_xchg() function 105 __arch_xchg((ptr), (unsigned long)(x), sizeof(*(ptr))); \
|
/linux/arch/riscv/include/asm/ |
H A D | cmpxchg.h | 54 #define __arch_xchg(sfx, prepend, append, r, p, n) \ macro 84 __arch_xchg(".w" swap_sfx, prepend, swap_append, \ 88 __arch_xchg(".d" swap_sfx, prepend, swap_append, \
|
/linux/arch/arm64/include/asm/ |
H A D | cmpxchg.h | 66 __arch_xchg##sfx(unsigned long x, volatile void *ptr, int size) \ 95 __arch_xchg##sfx((unsigned long)(x), (ptr), sizeof(*(ptr))); \
|