Lines Matching refs:stats
398 struct lock_class_stats stats; member
403 struct lock_stat_data stats[MAX_LOCKDEP_KEYS]; member
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()
461 struct lock_class_stats *stats; in seq_stats() local
468 stats = &data->stats; in seq_stats()
505 if (stats->write_holdtime.nr) { in seq_stats()
506 if (stats->read_holdtime.nr) in seq_stats()
511 seq_printf(m, "%14lu ", stats->bounces[bounce_contended_write]); in seq_stats()
512 seq_lock_time(m, &stats->write_waittime); in seq_stats()
513 seq_printf(m, " %14lu ", stats->bounces[bounce_acquired_write]); in seq_stats()
514 seq_lock_time(m, &stats->write_holdtime); in seq_stats()
518 if (stats->read_holdtime.nr) { in seq_stats()
520 seq_printf(m, "%14lu ", stats->bounces[bounce_contended_read]); in seq_stats()
521 seq_lock_time(m, &stats->read_waittime); in seq_stats()
522 seq_printf(m, " %14lu ", stats->bounces[bounce_acquired_read]); in seq_stats()
523 seq_lock_time(m, &stats->read_holdtime); 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()
545 name, stats->contention_point[i], in seq_stats()
560 name, stats->contending_point[i], in seq_stats()
605 iter = data->stats + (*pos - 1); in ls_start()
650 struct lock_stat_data *iter = data->stats; in lock_stat_open()
658 iter->stats = lock_stats(class); in lock_stat_open()
664 sort(data->stats, data->iter_end - data->stats, in lock_stat_open()