Lines Matching refs:nr_shrunk
1556 int nr_shrunk = 0;
1595 nr_shrunk += es_reclaim_extents(ei, &nr_to_scan);
1608 if ((nr_shrunk == 0) && nr_skipped && !retried) {
1613 if (locked_ei && nr_shrunk == 0)
1614 nr_shrunk = es_reclaim_extents(locked_ei, &nr_to_scan);
1626 es_stats->es_stats_shrunk = (nr_shrunk +
1629 es_stats->es_stats_shrunk = nr_shrunk;
1631 trace_ext4_es_shrink(sbi->s_sb, nr_shrunk, scan_time,
1633 return nr_shrunk;
1654 int ret, nr_shrunk;
1659 nr_shrunk = __es_shrink(sbi, nr_to_scan, NULL);
1662 trace_ext4_es_shrink_scan_exit(sbi->s_sb, nr_shrunk, ret);
1663 return nr_shrunk;
1769 * Increment *nr_shrunk by the number of reclaimed extents. Also update
1773 int *nr_to_scan, int *nr_shrunk)
1802 (*nr_shrunk)++;
1818 int nr_shrunk = 0;
1830 if (!es_do_reclaim_extents(ei, EXT_MAX_BLOCKS, nr_to_scan, &nr_shrunk) &&
1832 es_do_reclaim_extents(ei, start - 1, nr_to_scan, &nr_shrunk);
1835 return nr_shrunk;