Lines Matching refs:es_stats

1470 	struct ext4_es_stats *es_stats;  in __es_shrink()  local
1477 es_stats = &sbi->s_es_stats; in __es_shrink()
1536 if (likely(es_stats->es_stats_scan_time)) in __es_shrink()
1537 es_stats->es_stats_scan_time = (scan_time + in __es_shrink()
1538 es_stats->es_stats_scan_time*3) / 4; in __es_shrink()
1540 es_stats->es_stats_scan_time = scan_time; in __es_shrink()
1541 if (scan_time > es_stats->es_stats_max_scan_time) in __es_shrink()
1542 es_stats->es_stats_max_scan_time = scan_time; in __es_shrink()
1543 if (likely(es_stats->es_stats_shrunk)) in __es_shrink()
1544 es_stats->es_stats_shrunk = (nr_shrunk + in __es_shrink()
1545 es_stats->es_stats_shrunk*3) / 4; in __es_shrink()
1547 es_stats->es_stats_shrunk = nr_shrunk; in __es_shrink()
1587 struct ext4_es_stats *es_stats = &sbi->s_es_stats; in ext4_seq_es_shrinker_info_show() local
1606 percpu_counter_sum_positive(&es_stats->es_stats_all_cnt), in ext4_seq_es_shrinker_info_show()
1607 percpu_counter_sum_positive(&es_stats->es_stats_shk_cnt)); in ext4_seq_es_shrinker_info_show()
1609 percpu_counter_sum_positive(&es_stats->es_stats_cache_hits), in ext4_seq_es_shrinker_info_show()
1610 percpu_counter_sum_positive(&es_stats->es_stats_cache_misses)); in ext4_seq_es_shrinker_info_show()
1615 div_u64(es_stats->es_stats_scan_time, 1000)); in ext4_seq_es_shrinker_info_show()
1616 seq_printf(seq, " %lu shrunk objects\n", es_stats->es_stats_shrunk); in ext4_seq_es_shrinker_info_show()
1622 div_u64(es_stats->es_stats_max_scan_time, 1000)); in ext4_seq_es_shrinker_info_show()