Lines Matching refs:nr_to_scan
151 int nr_to_scan);
152 static int __ext4_es_shrink(struct ext4_sb_info *sbi, int nr_to_scan,
953 static int __ext4_es_shrink(struct ext4_sb_info *sbi, int nr_to_scan, in __ext4_es_shrink() argument
1000 shrunk = __es_try_to_reclaim_extents(ei, nr_to_scan); in __ext4_es_shrink()
1006 nr_to_scan -= shrunk; in __ext4_es_shrink()
1007 if (nr_to_scan == 0) in __ext4_es_shrink()
1038 nr_shrunk = __es_try_to_reclaim_extents(locked_ei, nr_to_scan); in __ext4_es_shrink()
1067 trace_ext4_es_shrink_count(sbi->s_sb, sc->nr_to_scan, nr); in ext4_es_count()
1076 int nr_to_scan = sc->nr_to_scan; in ext4_es_scan() local
1080 trace_ext4_es_shrink_scan_enter(sbi->s_sb, nr_to_scan, ret); in ext4_es_scan()
1082 if (!nr_to_scan) in ext4_es_scan()
1085 nr_shrunk = __ext4_es_shrink(sbi, nr_to_scan, NULL); in ext4_es_scan()
1264 int nr_to_scan) in __es_try_to_reclaim_extents() argument
1293 if (--nr_to_scan == 0) in __es_try_to_reclaim_extents()