Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/erofs/
Dutils.c118 unsigned long nr_shrink, in erofs_shrink_workstation() argument
172 if (unlikely(!--nr_shrink)) in erofs_shrink_workstation()
177 if (i && nr_shrink) in erofs_shrink_workstation()
Dinternal.h253 unsigned long nr_shrink, bool cleanup);
/Linux-v4.19/fs/f2fs/
Dnode.c484 int f2fs_try_to_free_nats(struct f2fs_sb_info *sbi, int nr_shrink) in f2fs_try_to_free_nats() argument
487 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() argument
2414 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()
Dextent_cache.c612 unsigned int f2fs_shrink_extent_tree(struct f2fs_sb_info *sbi, int nr_shrink) in f2fs_shrink_extent_tree() argument
643 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()
Df2fs.h2762 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);