Lines Matching defs:new
95 #define __cmpxchg_asm(ld, st, m, old, new) \
108 : "ZB"(*m), "Jr" (old), "Jr" (new) \
115 unsigned int new, unsigned int size)
124 new &= mask;
134 new <<= shift;
156 : "ZC" (*ptr32), "Jr" (mask), "Jr" (old), "Jr" (new)
163 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, unsigned int size)
168 return __cmpxchg_small(ptr, old, new, size);
172 (u32)old, new);
176 (u64)old, new);
185 #define arch_cmpxchg_local(ptr, old, new) \
189 (unsigned long)(__typeof__(*(ptr)))(new), \
192 #define arch_cmpxchg(ptr, old, new) \
196 __res = arch_cmpxchg_local((ptr), (old), (new)); \