Searched refs:get_valid_blocks (Results 1 – 5 of 5) sorted by relevance
/fs/f2fs/ |
D | gc.c | 260 vblocks = get_valid_blocks(sbi, segno, true); in get_cb_cost() 287 return get_valid_blocks(sbi, segno, true); in get_gc_cost() 332 get_valid_blocks(sbi, *result, false) && in get_victim_by_default() 967 if (get_valid_blocks(sbi, segno, false) == 0 || in do_garbage_collect() 991 get_valid_blocks(sbi, segno, false) == 0) in do_garbage_collect()
|
D | sysfs.c | 499 get_valid_blocks(sbi, i, false)); in segment_info_seq_show() 525 get_valid_blocks(sbi, i, false)); in segment_bits_seq_show()
|
D | segment.h | 330 static inline unsigned int get_valid_blocks(struct f2fs_sb_info *sbi, in get_valid_blocks() function 777 if (get_valid_blocks(sbi, GET_SEG_FROM_SEC(sbi, secno), true) > in no_fggc_candidate()
|
D | debug.c | 146 vblocks = get_valid_blocks(sbi, segno, true); in update_sit_info()
|
D | segment.c | 766 if (get_valid_blocks(sbi, segno, true) == 0) in __remove_dirty_segment() 787 valid_blocks = get_valid_blocks(sbi, segno, false); in locate_dirty_segment() 1662 !get_valid_blocks(sbi, start, true)) in clear_prefree_segments() 3715 valid_blocks = get_valid_blocks(sbi, segno, false); in init_dirty_segmap()
|