Home
last modified time | relevance | path

Searched refs:nr_shrink (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/fs/erofs/
Dutils.c162 unsigned long nr_shrink) in erofs_shrink_workstation() argument
176 if (!--nr_shrink) in erofs_shrink_workstation()
/linux-6.1.9/fs/f2fs/
Dnode.c511 int f2fs_try_to_free_nats(struct f2fs_sb_info *sbi, int nr_shrink) in f2fs_try_to_free_nats() argument
514 int nr = nr_shrink; in f2fs_try_to_free_nats()
520 while (nr_shrink) { in f2fs_try_to_free_nats()
532 nr_shrink--; in f2fs_try_to_free_nats()
539 return nr - nr_shrink; in f2fs_try_to_free_nats()
2628 int f2fs_try_to_free_nids(struct f2fs_sb_info *sbi, int nr_shrink) in f2fs_try_to_free_nids() argument
2631 int nr = nr_shrink; in f2fs_try_to_free_nids()
2639 while (nr_shrink && nm_i->nid_cnt[FREE_NID] > MAX_FREE_NIDS) { in f2fs_try_to_free_nids()
2645 if (!nr_shrink || !batch || in f2fs_try_to_free_nids()
2650 nr_shrink--; in f2fs_try_to_free_nids()
[all …]
Dextent_cache.c707 unsigned int f2fs_shrink_extent_tree(struct f2fs_sb_info *sbi, int nr_shrink) in f2fs_shrink_extent_tree() argument
738 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()
Df2fs.h3480 int f2fs_try_to_free_nats(struct f2fs_sb_info *sbi, int nr_shrink);
3615 int f2fs_try_to_free_nids(struct f2fs_sb_info *sbi, int nr_shrink);
4155 unsigned int f2fs_shrink_extent_tree(struct f2fs_sb_info *sbi, int nr_shrink);