Searched refs:nr_shrink (Results 1 – 5 of 5) sorted by relevance
118 unsigned long nr_shrink, in erofs_shrink_workstation() argument172 if (unlikely(!--nr_shrink)) in erofs_shrink_workstation()177 if (i && nr_shrink) in erofs_shrink_workstation()
253 unsigned long nr_shrink, bool cleanup);
484 int f2fs_try_to_free_nats(struct f2fs_sb_info *sbi, int nr_shrink) in f2fs_try_to_free_nats() argument487 int nr = nr_shrink; in f2fs_try_to_free_nats()493 while (nr_shrink) { in f2fs_try_to_free_nats()505 nr_shrink--; in f2fs_try_to_free_nats()512 return nr - nr_shrink; in f2fs_try_to_free_nats()2410 int f2fs_try_to_free_nids(struct f2fs_sb_info *sbi, int nr_shrink) in f2fs_try_to_free_nids() argument2414 int nr = nr_shrink; in f2fs_try_to_free_nids()2424 if (nr_shrink <= 0 || in f2fs_try_to_free_nids()2430 nr_shrink--; in f2fs_try_to_free_nids()2435 return nr - nr_shrink; in f2fs_try_to_free_nids()
612 unsigned int f2fs_shrink_extent_tree(struct f2fs_sb_info *sbi, int nr_shrink) in f2fs_shrink_extent_tree() argument643 if (node_cnt + tree_cnt >= nr_shrink) in f2fs_shrink_extent_tree()654 remained = nr_shrink - (node_cnt + tree_cnt); in f2fs_shrink_extent_tree()
2762 int f2fs_try_to_free_nats(struct f2fs_sb_info *sbi, int nr_shrink);2883 int f2fs_try_to_free_nids(struct f2fs_sb_info *sbi, int nr_shrink);3320 unsigned int f2fs_shrink_extent_tree(struct f2fs_sb_info *sbi, int nr_shrink);