Lines Matching refs:old_count
450 long old_count; in update_traceon_count() local
482 old_count = *count; in update_traceon_count()
484 if (old_count <= 0) in update_traceon_count()
501 *count = old_count - 1; in update_traceon_count()
588 long old_count; in ftrace_stacktrace_count() local
607 old_count = *count; in ftrace_stacktrace_count()
609 if (!old_count) in ftrace_stacktrace_count()
612 new_count = old_count - 1; in ftrace_stacktrace_count()
613 new_count = cmpxchg(count, old_count, new_count); in ftrace_stacktrace_count()
614 if (new_count == old_count) in ftrace_stacktrace_count()
620 } while (new_count != old_count); in ftrace_stacktrace_count()