Searched refs:nr_shrink (Results 1 – 4 of 4) sorted by relevance
162 unsigned long nr_shrink) in erofs_shrink_workstation() argument176 if (!--nr_shrink) in erofs_shrink_workstation()
510 int f2fs_try_to_free_nats(struct f2fs_sb_info *sbi, int nr_shrink) in f2fs_try_to_free_nats() argument513 int nr = nr_shrink; in f2fs_try_to_free_nats()519 while (nr_shrink) { in f2fs_try_to_free_nats()531 nr_shrink--; in f2fs_try_to_free_nats()538 return nr - nr_shrink; in f2fs_try_to_free_nats()2630 int f2fs_try_to_free_nids(struct f2fs_sb_info *sbi, int nr_shrink) in f2fs_try_to_free_nids() argument2633 int nr = nr_shrink; in f2fs_try_to_free_nids()2641 while (nr_shrink && nm_i->nid_cnt[FREE_NID] > MAX_FREE_NIDS) { in f2fs_try_to_free_nids()2647 if (!nr_shrink || !batch || in f2fs_try_to_free_nids()2652 nr_shrink--; in f2fs_try_to_free_nids()[all …]
707 unsigned int f2fs_shrink_extent_tree(struct f2fs_sb_info *sbi, int nr_shrink) in f2fs_shrink_extent_tree() argument738 if (node_cnt + tree_cnt >= nr_shrink) in f2fs_shrink_extent_tree()749 remained = nr_shrink - (node_cnt + tree_cnt); in f2fs_shrink_extent_tree()
3473 int f2fs_try_to_free_nats(struct f2fs_sb_info *sbi, int nr_shrink);3607 int f2fs_try_to_free_nids(struct f2fs_sb_info *sbi, int nr_shrink);4148 unsigned int f2fs_shrink_extent_tree(struct f2fs_sb_info *sbi, int nr_shrink);