Searched refs:f2fs_get_usable_segments (Results 1 – 3 of 3) sorted by relevance
504 uint32_t f2fs_get_usable_segments(struct f2fs_super_block *sb) in f2fs_get_usable_segments() function589 uint32_t f2fs_get_usable_segments(struct f2fs_super_block *sb) in f2fs_get_usable_segments() function
489 round_up(f2fs_get_usable_segments(sb), get_sb(section_count)); in f2fs_prepare_super_block()762 set_cp(overprov_segment_count, (f2fs_get_usable_segments(sb) - in f2fs_write_check_point_pack()768 if (f2fs_get_usable_segments(sb) <= get_cp(overprov_segment_count)) { in f2fs_write_check_point_pack()779 set_cp(free_segment_count, f2fs_get_usable_segments(sb) - 2); in f2fs_write_check_point_pack()783 set_cp(free_segment_count, f2fs_get_usable_segments(sb) - 6); in f2fs_write_check_point_pack()
1565 extern uint32_t f2fs_get_usable_segments(struct f2fs_super_block *sb);1576 uint32_t usable_main_segs = f2fs_get_usable_segments(sb); in get_best_overprovision()