Lines Matching refs:nr
412 unsigned long nl, nr; in lock_stat_cmp() local
414 nl = dl->stats.read_waittime.nr + dl->stats.write_waittime.nr; in lock_stat_cmp()
415 nr = dr->stats.read_waittime.nr + dr->stats.write_waittime.nr; in lock_stat_cmp()
417 return nr - nl; in lock_stat_cmp()
431 static void snprint_time(char *buf, size_t bufsiz, s64 nr) in snprint_time() argument
436 nr += 5; /* for display rounding */ in snprint_time()
437 div = div_s64_rem(nr, 1000, &rem); in snprint_time()
451 seq_printf(m, "%14lu", lt->nr); in seq_lock_time()
455 seq_time(m, lt->nr ? div64_u64(lt->total, lt->nr) : 0); in seq_lock_time()
505 if (stats->write_holdtime.nr) { in seq_stats()
506 if (stats->read_holdtime.nr) in seq_stats()
518 if (stats->read_holdtime.nr) { in seq_stats()
527 if (stats->read_waittime.nr + stats->write_waittime.nr == 0) in seq_stats()
530 if (stats->read_holdtime.nr) in seq_stats()