Searched refs:lt (Results 1 – 2 of 2) sorted by relevance
397 static void seq_lock_time(struct seq_file *m, struct lock_time *lt) in seq_lock_time() argument399 seq_printf(m, "%14lu", lt->nr); in seq_lock_time()400 seq_time(m, lt->min); in seq_lock_time()401 seq_time(m, lt->max); in seq_lock_time()402 seq_time(m, lt->total); in seq_lock_time()403 seq_time(m, lt->nr ? div64_u64(lt->total, lt->nr) : 0); in seq_lock_time()
202 static void lock_time_inc(struct lock_time *lt, u64 time) in lock_time_inc() argument204 if (time > lt->max) in lock_time_inc()205 lt->max = time; in lock_time_inc()207 if (time < lt->min || !lt->nr) in lock_time_inc()208 lt->min = time; in lock_time_inc()210 lt->total += time; in lock_time_inc()211 lt->nr++; in lock_time_inc()