Lines Matching refs:old
117 ____cmpxchg_u8(volatile char *m, unsigned char old, unsigned char new) in ____cmpxchg_u8() argument
137 : "r" ((long)m), "Ir" (old), "1" (new) : "memory"); in ____cmpxchg_u8()
143 ____cmpxchg_u16(volatile short *m, unsigned short old, unsigned short new) in ____cmpxchg_u16() argument
163 : "r" ((long)m), "Ir" (old), "1" (new) : "memory"); in ____cmpxchg_u16()
169 ____cmpxchg_u32(volatile int *m, int old, int new) in ____cmpxchg_u32() argument
185 : "r"((long) old), "r"(new), "m"(*m) : "memory"); in ____cmpxchg_u32()
191 ____cmpxchg_u64(volatile long *m, unsigned long old, unsigned long new) in ____cmpxchg_u64() argument
207 : "r"((long) old), "r"(new), "m"(*m) : "memory"); in ____cmpxchg_u64()
217 ____cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, in ____cmpxchg() argument
221 size == 1 ? ____cmpxchg_u8(ptr, old, new) : in ____cmpxchg()
222 size == 2 ? ____cmpxchg_u16(ptr, old, new) : in ____cmpxchg()
223 size == 4 ? ____cmpxchg_u32(ptr, old, new) : in ____cmpxchg()
224 size == 8 ? ____cmpxchg_u64(ptr, old, new) : in ____cmpxchg()
225 (__cmpxchg_called_with_bad_pointer(), old); in ____cmpxchg()