/kernel/linux/linux-5.10/tools/memory-model/ |
D | linux-kernel.def | 30 xchg(X,V) __xchg{mb}(X,V) 31 xchg_relaxed(X,V) __xchg{once}(X,V) 32 xchg_release(X,V) __xchg{release}(X,V) 33 xchg_acquire(X,V) __xchg{acquire}(X,V) 104 atomic_xchg(X,V) __xchg{mb}(X,V) 105 atomic_xchg_relaxed(X,V) __xchg{once}(X,V) 106 atomic_xchg_release(X,V) __xchg{release}(X,V) 107 atomic_xchg_acquire(X,V) __xchg{acquire}(X,V)
|
/kernel/linux/linux-5.10/arch/alpha/include/asm/ |
D | cmpxchg.h | 9 #define ____xchg(type, args...) __xchg ## type ## _local(args) 37 #define ____xchg(type, args...) __xchg ##type(args) 51 __xchg((ptr), (unsigned long)_x_, sizeof(*(ptr))); \
|
/kernel/linux/linux-5.10/arch/m68k/include/asm/ |
D | cmpxchg.h | 13 static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) in __xchg() function 44 static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) in __xchg() function 79 #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
|
/kernel/linux/linux-5.10/arch/hexagon/include/asm/ |
D | cmpxchg.h | 22 static inline unsigned long __xchg(unsigned long x, volatile void *ptr, in __xchg() function 45 #define xchg(ptr, v) ((__typeof__(*(ptr)))__xchg((unsigned long)(v), (ptr), \
|
/kernel/linux/linux-5.10/arch/c6x/include/asm/ |
D | cmpxchg.h | 16 static inline unsigned int __xchg(unsigned int x, volatile void *ptr, int size) in __xchg() function 45 ((__typeof__(*(ptr)))__xchg((unsigned int)(x), (void *) (ptr), \
|
/kernel/linux/linux-5.10/arch/h8300/include/asm/ |
D | cmpxchg.h | 8 ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), \ 14 static inline unsigned long __xchg(unsigned long x, in __xchg() function
|
/kernel/linux/linux-5.10/arch/sh/include/asm/ |
D | cmpxchg.h | 25 #define __xchg(ptr, x, size) \ macro 49 ((__typeof__(*(ptr)))__xchg((ptr),(unsigned long)(x), sizeof(*(ptr))))
|
/kernel/linux/linux-5.10/arch/csky/include/asm/ |
D | cmpxchg.h | 11 #define __xchg(new, ptr, size) \ macro 36 #define xchg(ptr, x) (__xchg((x), (ptr), sizeof(*(ptr))))
|
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
D | cmpxchg_32.h | 18 static inline unsigned long __xchg(unsigned long x, __volatile__ void * ptr, int size) in __xchg() function 28 #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
|
D | cmpxchg_64.h | 58 __xchg((unsigned long)(x), (ptr), sizeof(*(ptr))); \ 90 static inline unsigned long __xchg(unsigned long x, __volatile__ void * ptr, in __xchg() function
|
/kernel/linux/linux-5.10/arch/arc/include/asm/ |
D | cmpxchg.h | 84 static inline unsigned long __xchg(unsigned long val, volatile void *ptr, in __xchg() function 106 #define _xchg(ptr, with) ((typeof(*(ptr)))__xchg((unsigned long)(with), (ptr), \
|
/kernel/linux/linux-5.10/include/asm-generic/ |
D | cmpxchg.h | 26 unsigned long __xchg(unsigned long x, volatile void *ptr, int size) in __xchg() function 85 __xchg((unsigned long)(x), (ptr), sizeof(*(ptr)))); \
|
/kernel/linux/linux-5.10/arch/parisc/include/asm/ |
D | cmpxchg.h | 25 __xchg(unsigned long x, volatile void *ptr, int size) in __xchg() function 52 __xchg((unsigned long)_x_, (ptr), sizeof(*(ptr))); \
|
/kernel/linux/linux-5.10/arch/ia64/include/uapi/asm/ |
D | cmpxchg.h | 30 #define __xchg(x, ptr, size) \ macro 57 ((__typeof__(*(ptr))) __xchg((unsigned long) (x), (ptr), sizeof(*(ptr))))
|
/kernel/linux/linux-5.10/arch/openrisc/include/asm/ |
D | cmpxchg.h | 150 static inline unsigned long __xchg(volatile void *ptr, unsigned long with, in __xchg() function 166 (__typeof__(*(ptr))) __xchg((ptr), \
|
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
D | cmpxchg.h | 28 static inline unsigned long __xchg(unsigned long x, volatile void *ptr, int size) in __xchg() function 118 (__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), \
|
/kernel/linux/linux-5.10/arch/xtensa/include/asm/ |
D | cmpxchg.h | 173 ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) 206 __xchg(unsigned long x, volatile void * ptr, int size) in __xchg() function
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
D | cmpxchg.h | 72 unsigned long __xchg(volatile void *ptr, unsigned long x, int size) in __xchg() function 106 __xchg((ptr), (unsigned long)(x), sizeof(*(ptr))); \
|
/kernel/linux/linux-5.10/arch/riscv/include/asm/ |
D | cmpxchg.h | 117 #define __xchg(ptr, new, size) \ macro 146 (__typeof__(*(ptr))) __xchg((ptr), _x_, sizeof(*(ptr))); \
|
D | atomic.h | 264 return __xchg(&(v->counter), n, size); \
|
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
D | cmpxchg.h | 65 static __always_inline unsigned long __xchg##sfx(unsigned long x, \ 96 __xchg##sfx((unsigned long)(x), (ptr), sizeof(*(ptr))); \
|