Searched refs:get_valid_blocks (Results 1 – 4 of 4) sorted by relevance
/fs/f2fs/ |
D | gc.c | 263 vblocks = get_valid_blocks(sbi, segno, true); in get_cb_cost() 290 return get_valid_blocks(sbi, segno, true); in get_gc_cost() 335 if (get_valid_blocks(sbi, *result, false) && in get_victim_by_default() 1058 get_valid_blocks(sbi, segno, true) == in gc_data_segment() 1244 if (get_valid_blocks(sbi, segno, false) == 0) in do_garbage_collect() 1280 get_valid_blocks(sbi, segno, false) == 0) in do_garbage_collect() 1473 if (!gc_only && get_valid_blocks(sbi, segno, true)) { in free_segment_range()
|
D | segment.c | 820 if (get_valid_blocks(sbi, segno, true) == 0) { in __remove_dirty_segment() 845 valid_blocks = get_valid_blocks(sbi, segno, false); in locate_dirty_segment() 870 if (get_valid_blocks(sbi, segno, false)) in f2fs_dirty_to_prefree() 927 if (get_valid_blocks(sbi, segno, false)) in get_free_segment() 1994 !get_valid_blocks(sbi, start, true)) in f2fs_clear_prefree_segments() 2733 get_valid_blocks(sbi, curseg->segno, false) || in f2fs_allocate_new_segments() 4314 valid_blocks = get_valid_blocks(sbi, segno, false); in init_dirty_segmap()
|
D | debug.c | 45 vblocks = get_valid_blocks(sbi, segno, true); in f2fs_update_sit_info()
|
D | segment.h | 324 static inline unsigned int get_valid_blocks(struct f2fs_sb_info *sbi, in get_valid_blocks() function
|