Lines Matching refs:get_valid_blocks
374 vblocks = get_valid_blocks(sbi, segno, true); in get_cb_cost()
397 if (p->one_time_gc && (get_valid_blocks(sbi, segno, true) >= in get_gc_cost()
404 return get_valid_blocks(sbi, segno, true); in get_gc_cost()
523 get_valid_blocks(sbi, segno, true) == 0) in add_victim_entry()
591 vblocks = get_valid_blocks(sbi, ve->segno, true); in atgc_lookup_victim()
804 if (!get_valid_blocks(sbi, *result, false)) { in f2fs_get_victim()
1558 (!force_migrate && get_valid_blocks(sbi, segno, true) == in gc_data_segment()
1797 if (get_valid_blocks(sbi, segno, false) == 0) in do_garbage_collect()
1835 get_valid_blocks(sbi, segno, false) == 0) in do_garbage_collect()
2072 if (!dry_run && get_valid_blocks(sbi, segno, true)) in f2fs_gc_range()
2075 !get_valid_blocks(sbi, segno, true) && --gc_secs == 0) in f2fs_gc_range()