Lines Matching refs:prev

202        int prev, rc;  local
212 : [p]"=&r" (prev), [rc]"=&r" (rc), [c]"+A" (v->counter)
215 return prev;
222 s64 prev; in arch_atomic64_fetch_add_unless() local
233 : [p]"=&r" (prev), [rc]"=&r" (rc), [c]"+A" (v->counter) in arch_atomic64_fetch_add_unless()
236 return prev; in arch_atomic64_fetch_add_unless()
243 int prev, rc; in arch_atomic_inc_unless_negative() local
253 : [p]"=&r" (prev), [rc]"=&r" (rc), [c]"+A" (v->counter) in arch_atomic_inc_unless_negative()
256 return !(prev < 0); in arch_atomic_inc_unless_negative()
263 int prev, rc; in arch_atomic_dec_unless_positive() local
273 : [p]"=&r" (prev), [rc]"=&r" (rc), [c]"+A" (v->counter) in arch_atomic_dec_unless_positive()
276 return !(prev > 0); in arch_atomic_dec_unless_positive()
283 int prev, rc; in arch_atomic_dec_if_positive() local
293 : [p]"=&r" (prev), [rc]"=&r" (rc), [c]"+A" (v->counter) in arch_atomic_dec_if_positive()
296 return prev - 1; in arch_atomic_dec_if_positive()
304 s64 prev; in arch_atomic64_inc_unless_negative() local
315 : [p]"=&r" (prev), [rc]"=&r" (rc), [c]"+A" (v->counter) in arch_atomic64_inc_unless_negative()
318 return !(prev < 0); in arch_atomic64_inc_unless_negative()
325 s64 prev; in arch_atomic64_dec_unless_positive() local
336 : [p]"=&r" (prev), [rc]"=&r" (rc), [c]"+A" (v->counter) in arch_atomic64_dec_unless_positive()
339 return !(prev > 0); in arch_atomic64_dec_unless_positive()
346 s64 prev; in arch_atomic64_dec_if_positive() local
357 : [p]"=&r" (prev), [rc]"=&r" (rc), [c]"+A" (v->counter) in arch_atomic64_dec_if_positive()
360 return prev - 1; in arch_atomic64_dec_if_positive()