Lines Matching full:new
42 u32 __cmpxchg_##type##sfx(volatile void *p, u32 old, u32 new) \
50 new <<= bitoff; \
67 : "r" (p), "r" (old), "r" (new), "r" (prev_mask) \
202 * Compare and exchange - if *p == old, set it to new,
216 __cmpxchg_u32(volatile unsigned int *p, unsigned long old, unsigned long new) in __cmpxchg_u32() argument
231 : "r" (p), "r" (old), "r" (new) in __cmpxchg_u32()
239 unsigned long new) in __cmpxchg_u32_local() argument
252 : "r" (p), "r" (old), "r" (new) in __cmpxchg_u32_local()
259 __cmpxchg_u32_relaxed(u32 *p, unsigned long old, unsigned long new) in __cmpxchg_u32_relaxed() argument
271 : "r" (p), "r" (old), "r" (new) in __cmpxchg_u32_relaxed()
286 __cmpxchg_u32_acquire(u32 *p, unsigned long old, unsigned long new) in __cmpxchg_u32_acquire() argument
300 : "r" (p), "r" (old), "r" (new) in __cmpxchg_u32_acquire()
308 __cmpxchg_u64(volatile unsigned long *p, unsigned long old, unsigned long new) in __cmpxchg_u64() argument
323 : "r" (p), "r" (old), "r" (new) in __cmpxchg_u64()
331 unsigned long new) in __cmpxchg_u64_local() argument
344 : "r" (p), "r" (old), "r" (new) in __cmpxchg_u64_local()
351 __cmpxchg_u64_relaxed(u64 *p, unsigned long old, unsigned long new) in __cmpxchg_u64_relaxed() argument
363 : "r" (p), "r" (old), "r" (new) in __cmpxchg_u64_relaxed()
370 __cmpxchg_u64_acquire(u64 *p, unsigned long old, unsigned long new) in __cmpxchg_u64_acquire() argument
384 : "r" (p), "r" (old), "r" (new) in __cmpxchg_u64_acquire()
392 __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, in __cmpxchg() argument
397 return __cmpxchg_u8(ptr, old, new); in __cmpxchg()
399 return __cmpxchg_u16(ptr, old, new); in __cmpxchg()
401 return __cmpxchg_u32(ptr, old, new); in __cmpxchg()
404 return __cmpxchg_u64(ptr, old, new); in __cmpxchg()
412 __cmpxchg_local(void *ptr, unsigned long old, unsigned long new, in __cmpxchg_local() argument
417 return __cmpxchg_u8_local(ptr, old, new); in __cmpxchg_local()
419 return __cmpxchg_u16_local(ptr, old, new); in __cmpxchg_local()
421 return __cmpxchg_u32_local(ptr, old, new); in __cmpxchg_local()
424 return __cmpxchg_u64_local(ptr, old, new); in __cmpxchg_local()
432 __cmpxchg_relaxed(void *ptr, unsigned long old, unsigned long new, in __cmpxchg_relaxed() argument
437 return __cmpxchg_u8_relaxed(ptr, old, new); in __cmpxchg_relaxed()
439 return __cmpxchg_u16_relaxed(ptr, old, new); in __cmpxchg_relaxed()
441 return __cmpxchg_u32_relaxed(ptr, old, new); in __cmpxchg_relaxed()
444 return __cmpxchg_u64_relaxed(ptr, old, new); in __cmpxchg_relaxed()
452 __cmpxchg_acquire(void *ptr, unsigned long old, unsigned long new, in __cmpxchg_acquire() argument
457 return __cmpxchg_u8_acquire(ptr, old, new); in __cmpxchg_acquire()
459 return __cmpxchg_u16_acquire(ptr, old, new); in __cmpxchg_acquire()
461 return __cmpxchg_u32_acquire(ptr, old, new); in __cmpxchg_acquire()
464 return __cmpxchg_u64_acquire(ptr, old, new); in __cmpxchg_acquire()