Lines Matching refs:old
11 __cmpxchg_u32(volatile int *m, int old, int new) in __cmpxchg_u32() argument
15 : "0" (new), "r" (m), "r" (old) in __cmpxchg_u32()
115 __cmpxchg_u64(volatile long *m, unsigned long old, unsigned long new) in __cmpxchg_u64() argument
119 : "0" (new), "r" (m), "r" (old) in __cmpxchg_u64()
131 __cmpxchg_u8(volatile unsigned char *m, unsigned char old, unsigned char new) in __cmpxchg_u8() argument
142 old32 = (load32 & ~mask) | (old << bit_shift); in __cmpxchg_u8()
145 return old; in __cmpxchg_u8()
147 } while (load == old); in __cmpxchg_u8()
157 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) in __cmpxchg() argument
161 return __cmpxchg_u8(ptr, old, new); in __cmpxchg()
163 return __cmpxchg_u32(ptr, old, new); in __cmpxchg()
165 return __cmpxchg_u64(ptr, old, new); in __cmpxchg()
168 return old; in __cmpxchg()
185 unsigned long old, in __cmpxchg_local() argument
190 case 8: return __cmpxchg(ptr, old, new, size); in __cmpxchg_local()
192 return __generic_cmpxchg_local(ptr, old, new, size); in __cmpxchg_local()
195 return old; in __cmpxchg_local()