Lines Matching refs:nr_shrunk
980 int nr_shrunk = 0; in __es_shrink() local
1019 nr_shrunk += es_reclaim_extents(ei, &nr_to_scan); in __es_shrink()
1032 if ((nr_shrunk == 0) && nr_skipped && !retried) { in __es_shrink()
1037 if (locked_ei && nr_shrunk == 0) in __es_shrink()
1038 nr_shrunk = es_reclaim_extents(locked_ei, &nr_to_scan); in __es_shrink()
1050 es_stats->es_stats_shrunk = (nr_shrunk + in __es_shrink()
1053 es_stats->es_stats_shrunk = nr_shrunk; in __es_shrink()
1055 trace_ext4_es_shrink(sbi->s_sb, nr_shrunk, scan_time, in __es_shrink()
1057 return nr_shrunk; in __es_shrink()
1078 int ret, nr_shrunk; in ext4_es_scan() local
1083 nr_shrunk = __es_shrink(sbi, nr_to_scan, NULL); in ext4_es_scan()
1086 trace_ext4_es_shrink_scan_exit(sbi->s_sb, nr_shrunk, ret); in ext4_es_scan()
1087 return nr_shrunk; in ext4_es_scan()
1186 int *nr_to_scan, int *nr_shrunk) in es_do_reclaim_extents() argument
1218 (*nr_shrunk)++; in es_do_reclaim_extents()
1234 int nr_shrunk = 0; in es_reclaim_extents() local
1246 if (!es_do_reclaim_extents(ei, EXT_MAX_BLOCKS, nr_to_scan, &nr_shrunk) && in es_reclaim_extents()
1248 es_do_reclaim_extents(ei, start - 1, nr_to_scan, &nr_shrunk); in es_reclaim_extents()
1251 return nr_shrunk; in es_reclaim_extents()