Lines Matching refs:nr_shrunk
1549 int nr_shrunk = 0;
1588 nr_shrunk += es_reclaim_extents(ei, &nr_to_scan);
1601 if ((nr_shrunk == 0) && nr_skipped && !retried) {
1606 if (locked_ei && nr_shrunk == 0)
1607 nr_shrunk = es_reclaim_extents(locked_ei, &nr_to_scan);
1619 es_stats->es_stats_shrunk = (nr_shrunk +
1622 es_stats->es_stats_shrunk = nr_shrunk;
1624 trace_ext4_es_shrink(sbi->s_sb, nr_shrunk, scan_time,
1626 return nr_shrunk;
1647 int ret, nr_shrunk;
1652 nr_shrunk = __es_shrink(sbi, nr_to_scan, NULL);
1655 trace_ext4_es_shrink_scan_exit(sbi->s_sb, nr_shrunk, ret);
1656 return nr_shrunk;
1763 * Increment *nr_shrunk by the number of reclaimed extents. Also update
1767 int *nr_to_scan, int *nr_shrunk)
1796 (*nr_shrunk)++;
1812 int nr_shrunk = 0;
1824 if (!es_do_reclaim_extents(ei, EXT_MAX_BLOCKS, nr_to_scan, &nr_shrunk) &&
1826 es_do_reclaim_extents(ei, start - 1, nr_to_scan, &nr_shrunk);
1829 return nr_shrunk;