Home
last modified time | relevance | path

Searched refs:nr_shrink (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/fs/erofs/
H A Dutils.c166 unsigned long nr_shrink) in erofs_shrink_workstation()
180 if (!--nr_shrink) in erofs_shrink_workstation()
165 erofs_shrink_workstation(struct erofs_sb_info *sbi, unsigned long nr_shrink) erofs_shrink_workstation() argument
/kernel/linux/linux-6.6/fs/erofs/
H A Dutils.c152 unsigned long nr_shrink) in erofs_shrink_workstation()
166 if (!--nr_shrink) in erofs_shrink_workstation()
151 erofs_shrink_workstation(struct erofs_sb_info *sbi, unsigned long nr_shrink) erofs_shrink_workstation() argument
/kernel/linux/linux-6.6/fs/f2fs/
H A Dextent_cache.c896 static unsigned int __shrink_extent_tree(struct f2fs_sb_info *sbi, int nr_shrink, in __shrink_extent_tree() argument
926 if (node_cnt + tree_cnt >= nr_shrink) in __shrink_extent_tree()
937 remained = nr_shrink - (node_cnt + tree_cnt); in __shrink_extent_tree()
1012 unsigned int f2fs_shrink_read_extent_tree(struct f2fs_sb_info *sbi, int nr_shrink) in f2fs_shrink_read_extent_tree() argument
1017 return __shrink_extent_tree(sbi, nr_shrink, EX_READ); in f2fs_shrink_read_extent_tree()
1049 unsigned int f2fs_shrink_age_extent_tree(struct f2fs_sb_info *sbi, int nr_shrink) in f2fs_shrink_age_extent_tree() argument
1054 return __shrink_extent_tree(sbi, nr_shrink, EX_BLOCK_AGE); in f2fs_shrink_age_extent_tree()
H A Dnode.c515 int f2fs_try_to_free_nats(struct f2fs_sb_info *sbi, int nr_shrink) in f2fs_try_to_free_nats() argument
518 int nr = nr_shrink; in f2fs_try_to_free_nats()
524 while (nr_shrink) { in f2fs_try_to_free_nats()
536 nr_shrink--; in f2fs_try_to_free_nats()
543 return nr - nr_shrink; in f2fs_try_to_free_nats()
2654 int f2fs_try_to_free_nids(struct f2fs_sb_info *sbi, int nr_shrink) in f2fs_try_to_free_nids() argument
2657 int nr = nr_shrink; in f2fs_try_to_free_nids()
2665 while (nr_shrink && nm_i->nid_cnt[FREE_NID] > MAX_FREE_NIDS) { in f2fs_try_to_free_nids()
2671 if (!nr_shrink || !batch || in f2fs_try_to_free_nids()
2676 nr_shrink in f2fs_try_to_free_nids()
[all...]
H A Df2fs.h3511 int f2fs_try_to_free_nats(struct f2fs_sb_info *sbi, int nr_shrink);
3649 int f2fs_try_to_free_nids(struct f2fs_sb_info *sbi, int nr_shrink);
4199 int nr_shrink);
4209 int nr_shrink);
/kernel/linux/linux-5.10/fs/f2fs/
H A Dnode.c486 int f2fs_try_to_free_nats(struct f2fs_sb_info *sbi, int nr_shrink) in f2fs_try_to_free_nats() argument
489 int nr = nr_shrink; in f2fs_try_to_free_nats()
495 while (nr_shrink) { in f2fs_try_to_free_nats()
507 nr_shrink--; in f2fs_try_to_free_nats()
514 return nr - nr_shrink; in f2fs_try_to_free_nats()
2562 int f2fs_try_to_free_nids(struct f2fs_sb_info *sbi, int nr_shrink) in f2fs_try_to_free_nids() argument
2565 int nr = nr_shrink; in f2fs_try_to_free_nids()
2573 while (nr_shrink && nm_i->nid_cnt[FREE_NID] > MAX_FREE_NIDS) { in f2fs_try_to_free_nids()
2579 if (!nr_shrink || !batch || in f2fs_try_to_free_nids()
2584 nr_shrink in f2fs_try_to_free_nids()
[all...]
H A Dextent_cache.c665 unsigned int f2fs_shrink_extent_tree(struct f2fs_sb_info *sbi, int nr_shrink) in f2fs_shrink_extent_tree() argument
696 if (node_cnt + tree_cnt >= nr_shrink) in f2fs_shrink_extent_tree()
707 remained = nr_shrink - (node_cnt + tree_cnt); in f2fs_shrink_extent_tree()
H A Df2fs.h3202 int f2fs_try_to_free_nats(struct f2fs_sb_info *sbi, int nr_shrink);
3331 int f2fs_try_to_free_nids(struct f2fs_sb_info *sbi, int nr_shrink);
3869 unsigned int f2fs_shrink_extent_tree(struct f2fs_sb_info *sbi, int nr_shrink);

Completed in 34 milliseconds