Lines Matching refs:old
198 s64 old, c = 0; in arch_atomic64_and() local
200 while ((old = arch_atomic64_cmpxchg(v, c, c & i)) != c) in arch_atomic64_and()
201 c = old; in arch_atomic64_and()
206 s64 old, c = 0; in arch_atomic64_fetch_and() local
208 while ((old = arch_atomic64_cmpxchg(v, c, c & i)) != c) in arch_atomic64_fetch_and()
209 c = old; in arch_atomic64_fetch_and()
211 return old; in arch_atomic64_fetch_and()
217 s64 old, c = 0; in arch_atomic64_or() local
219 while ((old = arch_atomic64_cmpxchg(v, c, c | i)) != c) in arch_atomic64_or()
220 c = old; in arch_atomic64_or()
225 s64 old, c = 0; in arch_atomic64_fetch_or() local
227 while ((old = arch_atomic64_cmpxchg(v, c, c | i)) != c) in arch_atomic64_fetch_or()
228 c = old; in arch_atomic64_fetch_or()
230 return old; in arch_atomic64_fetch_or()
236 s64 old, c = 0; in arch_atomic64_xor() local
238 while ((old = arch_atomic64_cmpxchg(v, c, c ^ i)) != c) in arch_atomic64_xor()
239 c = old; in arch_atomic64_xor()
244 s64 old, c = 0; in arch_atomic64_fetch_xor() local
246 while ((old = arch_atomic64_cmpxchg(v, c, c ^ i)) != c) in arch_atomic64_fetch_xor()
247 c = old; in arch_atomic64_fetch_xor()
249 return old; in arch_atomic64_fetch_xor()
255 s64 old, c = 0; in arch_atomic64_fetch_add() local
257 while ((old = arch_atomic64_cmpxchg(v, c, c + i)) != c) in arch_atomic64_fetch_add()
258 c = old; in arch_atomic64_fetch_add()
260 return old; in arch_atomic64_fetch_add()