/linux-6.14.4/tools/memory-model/ |
D | linux-kernel.def | 35 cmpxchg(X,V,W) __cmpxchg{mb}(X,V,W) 36 cmpxchg_relaxed(X,V,W) __cmpxchg{once}(X,V,W) 37 cmpxchg_acquire(X,V,W) __cmpxchg{acquire}(X,V,W) 38 cmpxchg_release(X,V,W) __cmpxchg{release}(X,V,W) 111 atomic_cmpxchg(X,V,W) __cmpxchg{mb}(X,V,W) 112 atomic_cmpxchg_relaxed(X,V,W) __cmpxchg{once}(X,V,W) 113 atomic_cmpxchg_acquire(X,V,W) __cmpxchg{acquire}(X,V,W) 114 atomic_cmpxchg_release(X,V,W) __cmpxchg{release}(X,V,W)
|
/linux-6.14.4/arch/m68k/include/asm/ |
D | cmpxchg.h | 89 static inline unsigned long __cmpxchg(volatile void *p, unsigned long old, in __cmpxchg() function 116 ({(__typeof__(*(ptr)))__cmpxchg((ptr), (unsigned long)(o), \ 119 ({(__typeof__(*(ptr)))__cmpxchg((ptr), (unsigned long)(o), \
|
/linux-6.14.4/arch/arm/include/asm/ |
D | cmpxchg.h | 158 static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg() function 217 (__typeof__(*(ptr)))__cmpxchg((ptr), \ 237 ret = __cmpxchg(ptr, old, new, size); in __cmpxchg_local()
|
/linux-6.14.4/arch/sparc/include/asm/ |
D | cmpxchg_64.h | 157 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) in __cmpxchg() function 175 (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \ 190 case 8: return __cmpxchg(ptr, old, new, size); in __cmpxchg_local()
|
D | cmpxchg_32.h | 47 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new_, int size) in __cmpxchg() function 60 (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \
|
/linux-6.14.4/tools/arch/x86/include/asm/ |
D | cmpxchg.h | 83 #define __cmpxchg(ptr, old, new, size) \ macro 87 __cmpxchg(ptr, old, new, sizeof(*(ptr)))
|
/linux-6.14.4/arch/sh/include/asm/ |
D | cmpxchg.h | 56 static inline unsigned long __cmpxchg(volatile void * ptr, unsigned long old, in __cmpxchg() function 73 (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \
|
/linux-6.14.4/arch/arc/include/asm/ |
D | cmpxchg.h | 22 #define __cmpxchg(ptr, old, new) \ macro 54 _prev_ = __cmpxchg(_p_, _o_, _n_); \
|
/linux-6.14.4/arch/parisc/include/asm/ |
D | cmpxchg.h | 67 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new_, int size) in __cmpxchg() function 83 (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \
|
/linux-6.14.4/arch/openrisc/include/asm/ |
D | cmpxchg.h | 121 static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg() function 137 (__typeof__(*(ptr))) __cmpxchg((ptr), \
|
/linux-6.14.4/arch/csky/include/asm/ |
D | cmpxchg.h | 124 #define __cmpxchg(ptr, old, new, size) \ macro 157 (__cmpxchg((ptr), (o), (n), sizeof(*(ptr))))
|
/linux-6.14.4/arch/loongarch/include/asm/ |
D | cmpxchg.h | 163 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, unsigned int size) in __cmpxchg() function 187 __cmpxchg((ptr), \
|
/linux-6.14.4/arch/xtensa/include/asm/ |
D | cmpxchg.h | 75 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) in __cmpxchg() function 88 (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \
|
/linux-6.14.4/arch/mips/include/asm/ |
D | cmpxchg.h | 152 unsigned long __cmpxchg(volatile void *ptr, unsigned long old, in __cmpxchg() function 179 __cmpxchg((ptr), \
|
/linux-6.14.4/arch/x86/include/asm/ |
D | cmpxchg.h | 133 #define __cmpxchg(ptr, old, new, size) \ macro 149 __cmpxchg(ptr, old, new, sizeof(*(ptr)))
|
D | mc146818rtc.h | 50 if (__cmpxchg(&cmos_lock, 0, new, sizeof(cmos_lock)) == 0) in lock_cmos()
|
/linux-6.14.4/arch/arm64/include/asm/ |
D | cmpxchg.h | 147 static __always_inline unsigned long __cmpxchg##sfx(volatile void *ptr, \ 179 __cmpxchg##sfx((ptr), (unsigned long)(o), \
|
/linux-6.14.4/arch/powerpc/include/asm/ |
D | cmpxchg.h | 621 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, in __cmpxchg() function 703 (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \
|