Lines Matching refs:prev
18 unsigned long flags, prev; in __generic_cmpxchg_local() local
28 case 1: prev = *(u8 *)ptr; in __generic_cmpxchg_local()
29 if (prev == (old & 0xffu)) in __generic_cmpxchg_local()
32 case 2: prev = *(u16 *)ptr; in __generic_cmpxchg_local()
33 if (prev == (old & 0xffffu)) in __generic_cmpxchg_local()
36 case 4: prev = *(u32 *)ptr; in __generic_cmpxchg_local()
37 if (prev == (old & 0xffffffffu)) in __generic_cmpxchg_local()
40 case 8: prev = *(u64 *)ptr; in __generic_cmpxchg_local()
41 if (prev == old) in __generic_cmpxchg_local()
48 return prev; in __generic_cmpxchg_local()
57 u64 prev; in __generic_cmpxchg64_local() local
61 prev = *(u64 *)ptr; in __generic_cmpxchg64_local()
62 if (prev == old) in __generic_cmpxchg64_local()
65 return prev; in __generic_cmpxchg64_local()