• Home
  • Raw
  • Download

Lines Matching refs:segment_count

408 	DISP_u32(sb, segment_count);  in print_raw_sb_info()
718 u32 segment_count = get_sb(segment_count); in sanity_check_area_boundary() local
723 (segment_count << log_blocks_per_seg); in sanity_check_area_boundary()
767 (segment_count << log_blocks_per_seg), in sanity_check_area_boundary()
771 set_sb(segment_count, (main_end_blkaddr - in sanity_check_area_boundary()
778 (segment_count << log_blocks_per_seg), in sanity_check_area_boundary()
802 unsigned int segment_count, segs_per_sec, secs_per_zone, segs_per_zone; in sanity_check_raw_super() local
850 segment_count = get_sb(segment_count); in sanity_check_raw_super()
859 if (segment_count > F2FS_MAX_SEGMENT || in sanity_check_raw_super()
860 segment_count < F2FS_MIN_SEGMENTS) { in sanity_check_raw_super()
861 MSG(0, "\tInvalid segment count (%u)\n", segment_count); in sanity_check_raw_super()
866 (total_sections > segment_count || in sanity_check_raw_super()
868 segs_per_sec > segment_count || !segs_per_sec)) { in sanity_check_raw_super()
870 segment_count, total_sections, segs_per_sec); in sanity_check_raw_super()
874 if ((segment_count / segs_per_sec) < total_sections) { in sanity_check_raw_super()
876 segment_count, segs_per_sec, total_sections); in sanity_check_raw_super()
880 if (segment_count > (get_sb(block_count) >> 9)) { in sanity_check_raw_super()
882 segment_count, get_sb(block_count)); in sanity_check_raw_super()
894 if (segment_count != dev_segs / segs_per_zone * segs_per_zone) { in sanity_check_raw_super()
896 segment_count, dev_segs); in sanity_check_raw_super()
1327 total = get_sb(segment_count); in sanity_check_ckpt()
1364 u32 seg_cnt_main = get_sb(segment_count) - in sanity_check_ckpt()
2068 unsigned int end_segno = SM_I(sbi)->segment_count - 1; in check_seg_range()
2108 unsigned int end_segno = sm_info->segment_count - 1; in check_block_count()
2466 sm_info->segment_count = get_sb(segment_count); in early_build_segment_manager()