Home
last modified time | relevance | path

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

/linux-6.6.21/fs/f2fs/
Dgc.c346 vblocks = get_valid_blocks(sbi, segno, true); in get_cb_cost()
373 return get_valid_blocks(sbi, segno, true); in get_gc_cost()
495 get_valid_blocks(sbi, segno, true) == 0) in add_victim_entry()
564 vblocks = get_valid_blocks(sbi, ve->segno, true); in atgc_lookup_victim()
777 if (!get_valid_blocks(sbi, *result, false)) { in f2fs_get_victim()
1533 (!force_migrate && get_valid_blocks(sbi, segno, true) == in gc_data_segment()
1737 if (get_valid_blocks(sbi, segno, false) == 0) in do_garbage_collect()
1776 get_valid_blocks(sbi, segno, false) == 0) in do_garbage_collect()
2024 if (!gc_only && get_valid_blocks(sbi, segno, true)) { in free_segment_range()
Dsegment.c769 get_valid_blocks(sbi, segno, true); in __locate_dirty_segment()
796 valid_blocks = get_valid_blocks(sbi, segno, true); in __remove_dirty_segment()
836 valid_blocks = get_valid_blocks(sbi, segno, false); in locate_dirty_segment()
861 if (get_valid_blocks(sbi, segno, false)) in f2fs_dirty_to_prefree()
920 if (get_valid_blocks(sbi, segno, false)) in get_free_segment()
2189 !get_valid_blocks(sbi, start, true)) in f2fs_clear_prefree_segments()
2934 if (get_valid_blocks(sbi, curseg->segno, false)) { in __f2fs_save_inmem_curseg()
2961 if (get_valid_blocks(sbi, curseg->segno, false)) in __f2fs_restore_inmem_curseg()
3092 !get_valid_blocks(sbi, curseg->segno, new_sec) && in __allocate_new_segment()
4731 valid_blocks = get_valid_blocks(sbi, segno, false); in init_dirty_segmap()
[all …]
Dsegment.h346 static inline unsigned int get_valid_blocks(struct f2fs_sb_info *sbi, in get_valid_blocks() function
Ddebug.c45 vblocks = get_valid_blocks(sbi, segno, true); in f2fs_update_sit_info()