Searched refs:get_valid_blocks (Results 1 – 4 of 4) sorted by relevance
| /linux/fs/f2fs/ |
| H A D | gc.c | 374 vblocks = get_valid_blocks(sbi, segno, true); in get_cb_cost() 399 (get_valid_blocks(sbi, segno, true) >= in get_gc_cost() 405 return get_valid_blocks(sbi, segno, true); in get_gc_cost() 524 get_valid_blocks(sbi, segno, true) == 0) in add_victim_entry() 592 vblocks = get_valid_blocks(sbi, ve->segno, true); in atgc_lookup_victim() 810 if (!get_valid_blocks(sbi, *result, false)) { in f2fs_get_victim() 1566 (!force_migrate && get_valid_blocks(sbi, segno, true) == in gc_data_segment() 1830 if (get_valid_blocks(sbi, cur_segno, false) == 0) in do_garbage_collect() 1868 get_valid_blocks(sbi, cur_segno, false) == 0) in do_garbage_collect() 2109 if (!get_valid_blocks(sbi, segno, true)) in f2fs_gc_range() [all …]
|
| H A D | segment.c | 796 get_valid_blocks(sbi, segno, true); in __locate_dirty_segment() 825 valid_blocks = get_valid_blocks(sbi, segno, true); in __remove_dirty_segment() 865 valid_blocks = get_valid_blocks(sbi, segno, false); in locate_dirty_segment() 890 if (get_valid_blocks(sbi, segno, false)) in f2fs_dirty_to_prefree() 954 if (get_valid_blocks(sbi, segno, false)) in get_free_segment() 2236 !get_valid_blocks(sbi, start, true)) in f2fs_clear_prefree_segments() 3172 if (get_valid_blocks(sbi, curseg->segno, false)) { in __f2fs_save_inmem_curseg() 3198 if (get_valid_blocks(sbi, curseg->segno, false)) in __f2fs_restore_inmem_curseg() 3336 !get_valid_blocks(sbi, curseg->segno, new_sec) && in __allocate_new_segment() 5172 valid_blocks = get_valid_blocks(sbi, segno, false); in init_dirty_segmap() [all …]
|
| H A D | segment.h | 338 static inline unsigned int get_valid_blocks(struct f2fs_sb_info *sbi, in get_valid_blocks() function
|
| H A D | debug.c | 45 vblocks = get_valid_blocks(sbi, segno, true); in f2fs_update_sit_info()
|