Lines Matching refs:segment_count_main
136 set_sb(segment_count_main, get_sb(segment_count) - in get_new_sb()
142 set_sb(section_count, get_sb(segment_count_main) / in get_new_sb()
145 set_sb(segment_count_main, get_sb(section_count) * in get_new_sb()
154 if ((get_sb(segment_count_main) - 2) < c.new_reserved_segments || in get_new_sb()
155 get_sb(segment_count_main) * blks_per_seg > in get_new_sb()
160 (get_sb(segment_count_main) - 2)); in get_new_sb()
473 set_cp(overprov_segment_count, (get_newsb(segment_count_main) - in rebuild_checkpoint()
480 new_segment_count = get_newsb(segment_count_main) - in rebuild_checkpoint()
481 get_sb(segment_count_main); in rebuild_checkpoint()
484 set_cp(user_block_count, ((get_newsb(segment_count_main) - in rebuild_checkpoint()
623 end_blkaddr = (get_sb(segment_count_main) << in f2fs_resize_grow()
669 overprov_segment_count = (get_newsb(segment_count_main) - in f2fs_resize_shrink()
674 user_block_count = (get_newsb(segment_count_main) - in f2fs_resize_shrink()
692 old_end_blkaddr = (get_sb(segment_count_main) << in f2fs_resize_shrink()
694 new_end_blkaddr = (get_newsb(segment_count_main) << in f2fs_resize_shrink()