Lines Matching refs:nr_shrunk
1565 int nr_shrunk = 0; in __es_shrink() local
1604 nr_shrunk += es_reclaim_extents(ei, &nr_to_scan); in __es_shrink()
1617 if ((nr_shrunk == 0) && nr_skipped && !retried) { in __es_shrink()
1622 if (locked_ei && nr_shrunk == 0) in __es_shrink()
1623 nr_shrunk = es_reclaim_extents(locked_ei, &nr_to_scan); in __es_shrink()
1635 es_stats->es_stats_shrunk = (nr_shrunk + in __es_shrink()
1638 es_stats->es_stats_shrunk = nr_shrunk; in __es_shrink()
1640 trace_ext4_es_shrink(sbi->s_sb, nr_shrunk, scan_time, in __es_shrink()
1642 return nr_shrunk; in __es_shrink()
1662 int ret, nr_shrunk; in ext4_es_scan() local
1667 nr_shrunk = __es_shrink(sbi, nr_to_scan, NULL); in ext4_es_scan()
1670 trace_ext4_es_shrink_scan_exit(sbi->s_sb, nr_shrunk, ret); in ext4_es_scan()
1671 return nr_shrunk; in ext4_es_scan()
1786 int *nr_to_scan, int *nr_shrunk) in es_do_reclaim_extents() argument
1815 (*nr_shrunk)++; in es_do_reclaim_extents()
1831 int nr_shrunk = 0; in es_reclaim_extents() local
1843 if (!es_do_reclaim_extents(ei, EXT_MAX_BLOCKS, nr_to_scan, &nr_shrunk) && in es_reclaim_extents()
1845 es_do_reclaim_extents(ei, start - 1, nr_to_scan, &nr_shrunk); in es_reclaim_extents()
1848 return nr_shrunk; in es_reclaim_extents()