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()
315 int prev, rc; in ATOMIC_OPS() local
325 : [p]"=&r" (prev), [rc]"=&r" (rc), [c]"+A" (v->counter) in ATOMIC_OPS()
328 return !(prev < 0); in ATOMIC_OPS()
335 int prev, rc; in arch_atomic_dec_unless_positive() local
345 : [p]"=&r" (prev), [rc]"=&r" (rc), [c]"+A" (v->counter) in arch_atomic_dec_unless_positive()
348 return !(prev > 0); in arch_atomic_dec_unless_positive()
355 int prev, rc; in arch_atomic_dec_if_positive() local
365 : [p]"=&r" (prev), [rc]"=&r" (rc), [c]"+A" (v->counter) in arch_atomic_dec_if_positive()
368 return prev - 1; in arch_atomic_dec_if_positive()
376 s64 prev; in arch_atomic64_inc_unless_negative() local
387 : [p]"=&r" (prev), [rc]"=&r" (rc), [c]"+A" (v->counter) in arch_atomic64_inc_unless_negative()
390 return !(prev < 0); in arch_atomic64_inc_unless_negative()
397 s64 prev; in arch_atomic64_dec_unless_positive() local
408 : [p]"=&r" (prev), [rc]"=&r" (rc), [c]"+A" (v->counter) in arch_atomic64_dec_unless_positive()
411 return !(prev > 0); in arch_atomic64_dec_unless_positive()
418 s64 prev; in arch_atomic64_dec_if_positive() local
429 : [p]"=&r" (prev), [rc]"=&r" (rc), [c]"+A" (v->counter) in arch_atomic64_dec_if_positive()
432 return prev - 1; in arch_atomic64_dec_if_positive()