Home
last modified time | relevance | path

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

/linux/tools/memory-model/
A Dlinux-kernel.def30 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)
/linux/arch/alpha/include/asm/
A Dcmpxchg.h9 #define ____xchg(type, args...) __xchg ## type ## _local(args)
37 #define ____xchg(type, args...) __xchg ##type(args)
51 __xchg((ptr), (unsigned long)_x_, sizeof(*(ptr))); \
/linux/arch/m68k/include/asm/
A Dcmpxchg.h13 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 arch_xchg(ptr,x) ({(__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)));})
/linux/arch/hexagon/include/asm/
A Dcmpxchg.h22 static inline unsigned long __xchg(unsigned long x, volatile void *ptr, in __xchg() function
45 #define arch_xchg(ptr, v) ((__typeof__(*(ptr)))__xchg((unsigned long)(v), (ptr), \
/linux/arch/sh/include/asm/
A Dcmpxchg.h25 #define __xchg(ptr, x, size) \ macro
49 ((__typeof__(*(ptr)))__xchg((ptr),(unsigned long)(x), sizeof(*(ptr))))
/linux/arch/sparc/include/asm/
A Dcmpxchg_32.h18 static inline unsigned long __xchg(unsigned long x, __volatile__ void * ptr, int size) in __xchg() function
28 #define arch_xchg(ptr,x) ({(__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)));})
A Dcmpxchg_64.h58 __xchg((unsigned long)(x), (ptr), sizeof(*(ptr))); \
90 static inline unsigned long __xchg(unsigned long x, __volatile__ void * ptr, in __xchg() function
/linux/arch/arc/include/asm/
A Dcmpxchg.h88 #define __xchg(ptr, val) \ macro
105 _val_ = __xchg(_p_, _val_); \
/linux/arch/ia64/include/uapi/asm/
A Dcmpxchg.h30 #define __xchg(x, ptr, size) \ macro
58 ({(__typeof__(*(ptr))) __xchg((unsigned long) (x), (ptr), sizeof(*(ptr)));})
/linux/arch/parisc/include/asm/
A Dcmpxchg.h25 __xchg(unsigned long x, volatile void *ptr, int size) in __xchg() function
52 __xchg((unsigned long)_x_, (ptr), sizeof(*(ptr))); \
/linux/arch/openrisc/include/asm/
A Dcmpxchg.h150 static inline unsigned long __xchg(volatile void *ptr, unsigned long with, in __xchg() function
166 (__typeof__(*(ptr))) __xchg((ptr), \
/linux/arch/s390/include/asm/
A Dcmpxchg.h17 static __always_inline unsigned long __xchg(unsigned long x, in __xchg() function
80 __xchg((unsigned long)(x), (unsigned long)(ptr), \
/linux/arch/arm/include/asm/
A Dcmpxchg.h28 static inline unsigned long __xchg(unsigned long x, volatile void *ptr, int size) in __xchg() function
118 (__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), \
/linux/arch/xtensa/include/asm/
A Dcmpxchg.h173 ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
206 __xchg(unsigned long x, volatile void * ptr, int size) in __xchg() function
/linux/arch/mips/include/asm/
A Dcmpxchg.h72 unsigned long __xchg(volatile void *ptr, unsigned long x, int size) in __xchg() function
106 __xchg((ptr), (unsigned long)(x), sizeof(*(ptr))); \
/linux/arch/ia64/include/asm/
A Dcmpxchg.h8 ({(__typeof__(*(ptr))) __xchg((unsigned long) (x), (ptr), sizeof(*(ptr)));})
/linux/arch/riscv/include/asm/
A Dcmpxchg.h117 #define __xchg(ptr, new, size) \ macro
146 (__typeof__(*(ptr))) __xchg((ptr), _x_, sizeof(*(ptr))); \
A Datomic.h264 return __xchg(&(v->counter), n, size); \
/linux/arch/arm64/include/asm/
A Dcmpxchg.h65 static __always_inline unsigned long __xchg##sfx(unsigned long x, \
96 __xchg##sfx((unsigned long)(x), (ptr), sizeof(*(ptr))); \

Completed in 14 milliseconds