Home
last modified time | relevance | path

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

/fs/erofs/
Dutils.c162 unsigned long nr_shrink) in erofs_shrink_workstation() argument
176 if (!--nr_shrink) in erofs_shrink_workstation()
/fs/f2fs/
Dnode.c510 int f2fs_try_to_free_nats(struct f2fs_sb_info *sbi, int nr_shrink) in f2fs_try_to_free_nats() argument
513 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() argument
2633 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 …]
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.h3473 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);