Lines Matching refs:segment_count
402 DISP_u32(sb, segment_count); in print_raw_sb_info()
712 u32 segment_count = get_sb(segment_count); in sanity_check_area_boundary() local
717 (segment_count << log_blocks_per_seg); in sanity_check_area_boundary()
761 (segment_count << log_blocks_per_seg), in sanity_check_area_boundary()
765 set_sb(segment_count, (main_end_blkaddr - in sanity_check_area_boundary()
772 (segment_count << log_blocks_per_seg), in sanity_check_area_boundary()
796 unsigned int segment_count, segs_per_sec, secs_per_zone; in sanity_check_raw_super() local
844 segment_count = get_sb(segment_count); in sanity_check_raw_super()
852 if (segment_count > F2FS_MAX_SEGMENT || in sanity_check_raw_super()
853 segment_count < F2FS_MIN_SEGMENTS) { in sanity_check_raw_super()
854 MSG(0, "\tInvalid segment count (%u)\n", segment_count); in sanity_check_raw_super()
858 if (total_sections > segment_count || in sanity_check_raw_super()
860 segs_per_sec > segment_count || !segs_per_sec) { in sanity_check_raw_super()
862 segment_count, total_sections, segs_per_sec); in sanity_check_raw_super()
866 if ((segment_count / segs_per_sec) < total_sections) { in sanity_check_raw_super()
868 segment_count, segs_per_sec, total_sections); in sanity_check_raw_super()
872 if (segment_count > (get_sb(block_count) >> 9)) { in sanity_check_raw_super()
874 segment_count, get_sb(block_count)); in sanity_check_raw_super()
886 if (segment_count != dev_segs) { in sanity_check_raw_super()
888 segment_count, dev_segs); in sanity_check_raw_super()
1241 total = get_sb(segment_count); in sanity_check_ckpt()
1276 u32 seg_cnt_main = get_sb(segment_count) - in sanity_check_ckpt()
1976 unsigned int end_segno = SM_I(sbi)->segment_count - 1; in check_seg_range()
2016 unsigned int end_segno = sm_info->segment_count - 1; in check_block_count()
2374 sm_info->segment_count = get_sb(segment_count); in early_build_segment_manager()