Lines Matching refs:es_stats
1449 struct ext4_es_stats *es_stats; in __es_shrink() local
1456 es_stats = &sbi->s_es_stats; in __es_shrink()
1515 if (likely(es_stats->es_stats_scan_time)) in __es_shrink()
1516 es_stats->es_stats_scan_time = (scan_time + in __es_shrink()
1517 es_stats->es_stats_scan_time*3) / 4; in __es_shrink()
1519 es_stats->es_stats_scan_time = scan_time; in __es_shrink()
1520 if (scan_time > es_stats->es_stats_max_scan_time) in __es_shrink()
1521 es_stats->es_stats_max_scan_time = scan_time; in __es_shrink()
1522 if (likely(es_stats->es_stats_shrunk)) in __es_shrink()
1523 es_stats->es_stats_shrunk = (nr_shrunk + in __es_shrink()
1524 es_stats->es_stats_shrunk*3) / 4; in __es_shrink()
1526 es_stats->es_stats_shrunk = nr_shrunk; in __es_shrink()
1568 struct ext4_es_stats *es_stats = &sbi->s_es_stats; in ext4_seq_es_shrinker_info_show() local
1587 percpu_counter_sum_positive(&es_stats->es_stats_all_cnt), in ext4_seq_es_shrinker_info_show()
1588 percpu_counter_sum_positive(&es_stats->es_stats_shk_cnt)); in ext4_seq_es_shrinker_info_show()
1590 percpu_counter_sum_positive(&es_stats->es_stats_cache_hits), in ext4_seq_es_shrinker_info_show()
1591 percpu_counter_sum_positive(&es_stats->es_stats_cache_misses)); in ext4_seq_es_shrinker_info_show()
1596 div_u64(es_stats->es_stats_scan_time, 1000)); in ext4_seq_es_shrinker_info_show()
1597 seq_printf(seq, " %lu shrunk objects\n", es_stats->es_stats_shrunk); in ext4_seq_es_shrinker_info_show()
1603 div_u64(es_stats->es_stats_max_scan_time, 1000)); in ext4_seq_es_shrinker_info_show()