Lines Matching defs:ptr
18 static __always_inline u32 __cs_asm(u64 ptr, u32 old, u32 new) in __cs_asm()
28 static __always_inline u64 __csg_asm(u64 ptr, u64 old, u64 new) in __csg_asm()
38 static inline u8 __arch_cmpxchg1(u64 ptr, u8 old, u8 new) in __arch_cmpxchg1()
61 static inline u16 __arch_cmpxchg2(u64 ptr, u16 old, u16 new) in __arch_cmpxchg2()
84 static __always_inline u64 __arch_cmpxchg(u64 ptr, u64 old, u64 new, int size) in __arch_cmpxchg()
96 #define arch_cmpxchg(ptr, o, n) \ argument
110 #define arch_try_cmpxchg(ptr, oldp, new) \ argument
155 #define arch_try_cmpxchg(ptr, oldp, new) \ argument
176 static inline u8 __arch_xchg1(u64 ptr, u8 x) in __arch_xchg1()
191 static inline u16 __arch_xchg2(u64 ptr, u16 x) in __arch_xchg2()
206 static __always_inline u64 __arch_xchg(u64 ptr, u64 x, int size) in __arch_xchg()
232 #define arch_xchg(ptr, x) \ argument
241 static __always_inline u128 arch_cmpxchg128(volatile u128 *ptr, u128 old, u128 new) in arch_cmpxchg128()
256 static __always_inline bool arch_try_cmpxchg128(volatile u128 *ptr, u128 *oldp, u128 new) in arch_try_cmpxchg128()