Home
last modified time | relevance | path

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

/linux/fs/f2fs/
H A Dgc.c373 vblocks = get_valid_blocks(sbi, segno, true); in get_cb_cost()
398 (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()
809 if (!get_valid_blocks(sbi, *result, false)) { in f2fs_get_victim()
908 if (!get_valid_blocks(sbi, segno, true)) in f2fs_get_victim()
1609 (!force_migrate && get_valid_blocks(sbi, segno, true) == in gc_data_segment()
1875 if (get_valid_blocks(sbi, cur_segno, false) == 0) in do_garbage_collect()
1920 get_valid_blocks(sbi, cur_segno, false) == 0) in do_garbage_collect()
[all …]
H A Dsegment.c843 get_valid_blocks(sbi, segno, true); in __locate_dirty_segment()
872 valid_blocks = get_valid_blocks(sbi, segno, true); in __remove_dirty_segment()
912 valid_blocks = get_valid_blocks(sbi, segno, false); in locate_dirty_segment()
937 if (get_valid_blocks(sbi, segno, false)) in f2fs_dirty_to_prefree()
1001 if (get_valid_blocks(sbi, segno, false)) in get_free_segment()
2281 !get_valid_blocks(sbi, start, true)) in f2fs_clear_prefree_segments()
3273 if (get_valid_blocks(sbi, curseg->segno, false)) { in __f2fs_save_inmem_curseg()
3299 if (get_valid_blocks(sbi, curseg->segno, false)) in __f2fs_restore_inmem_curseg()
3437 !get_valid_blocks(sbi, curseg->segno, new_sec) && in __allocate_new_segment()
5270 valid_blocks = get_valid_blocks(sbi, segno, false); in init_dirty_segmap()
[all …]
H A Dsegment.h333 static inline unsigned int get_valid_blocks(struct f2fs_sb_info *sbi, in get_valid_blocks() function
H A Ddebug.c45 vblocks = get_valid_blocks(sbi, segno, true); in f2fs_update_sit_info()