Lines Matching refs:old
60 extern u8 __cmpxchg_u8(volatile u8 *ptr, u8 old, u8 new_);
61 extern u16 __cmpxchg_u16(volatile u16 *ptr, u16 old, u16 new_);
62 extern u32 __cmpxchg_u32(volatile u32 *m, u32 old, u32 new_);
63 extern u64 __cmpxchg_u64(volatile u64 *ptr, u64 old, u64 new_);
67 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new_, int size) in __cmpxchg() argument
71 size == 8 ? __cmpxchg_u64(ptr, old, new_) : in __cmpxchg()
73 size == 4 ? __cmpxchg_u32(ptr, old, new_) : in __cmpxchg()
74 size == 2 ? __cmpxchg_u16(ptr, old, new_) : in __cmpxchg()
75 size == 1 ? __cmpxchg_u8(ptr, old, new_) : in __cmpxchg()
76 (__cmpxchg_called_with_bad_pointer(), old); in __cmpxchg()
90 unsigned long old, in __cmpxchg_local() argument
95 case 8: return __cmpxchg_u64((u64 *)ptr, old, new_); in __cmpxchg_local()
97 case 4: return __cmpxchg_u32(ptr, old, new_); in __cmpxchg_local()
99 return __generic_cmpxchg_local(ptr, old, new_, size); in __cmpxchg_local()