Lines Matching refs:sfx
76 #define __XCHG_GEN(sfx) \ argument
77 static inline unsigned long __xchg##sfx(unsigned long x, \
83 return __xchg_case##sfx##_1(x, ptr); \
85 return __xchg_case##sfx##_2(x, ptr); \
87 return __xchg_case##sfx##_4(x, ptr); \
89 return __xchg_case##sfx##_8(x, ptr); \
104 #define __xchg_wrapper(sfx, ptr, x) \ argument
108 __xchg##sfx((unsigned long)(x), (ptr), sizeof(*(ptr))); \
118 #define __CMPXCHG_GEN(sfx) \ argument
119 static inline unsigned long __cmpxchg##sfx(volatile void *ptr, \
126 return __cmpxchg_case##sfx##_1(ptr, (u8)old, new); \
128 return __cmpxchg_case##sfx##_2(ptr, (u16)old, new); \
130 return __cmpxchg_case##sfx##_4(ptr, old, new); \
132 return __cmpxchg_case##sfx##_8(ptr, old, new); \
147 #define __cmpxchg_wrapper(sfx, ptr, o, n) \ argument
151 __cmpxchg##sfx((ptr), (unsigned long)(o), \
225 #define __CMPWAIT_GEN(sfx) \ argument
226 static inline void __cmpwait##sfx(volatile void *ptr, \
232 return __cmpwait_case##sfx##_1(ptr, (u8)val); \
234 return __cmpwait_case##sfx##_2(ptr, (u16)val); \
236 return __cmpwait_case##sfx##_4(ptr, val); \
238 return __cmpwait_case##sfx##_8(ptr, val); \