Lines Matching defs:new
58 #define __cmpxchg_asm(ld, st, m, old, new) \
71 : "ZB"(*m), "Jr" (old), "Jr" (new) \
78 unsigned long new, unsigned int size);
81 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, unsigned int size)
86 return __cmpxchg_small(ptr, old, new, size);
90 (u32)old, new);
94 (u64)old, new);
103 #define cmpxchg_local(ptr, old, new) \
107 (unsigned long)(__typeof__(*(ptr)))(new), \
110 #define cmpxchg(ptr, old, new) \
114 __res = cmpxchg_local((ptr), (old), (new)); \