• Home
  • Raw
  • Download

Lines Matching refs:segment_count

409 	DISP_u32(sb, segment_count);  in print_raw_sb_info()
783 u32 segment_count = get_sb(segment_count); in sanity_check_area_boundary() local
788 (segment_count << log_blocks_per_seg); in sanity_check_area_boundary()
832 (segment_count << log_blocks_per_seg), in sanity_check_area_boundary()
836 set_sb(segment_count, (main_end_blkaddr - in sanity_check_area_boundary()
843 (segment_count << log_blocks_per_seg), in sanity_check_area_boundary()
867 unsigned int segment_count, segs_per_sec, secs_per_zone, segs_per_zone; in sanity_check_raw_super() local
909 segment_count = get_sb(segment_count); in sanity_check_raw_super()
918 if (segment_count > F2FS_MAX_SEGMENT || in sanity_check_raw_super()
919 segment_count < F2FS_MIN_SEGMENTS) { in sanity_check_raw_super()
920 MSG(0, "\tInvalid segment count (%u)\n", segment_count); in sanity_check_raw_super()
925 (total_sections > segment_count || in sanity_check_raw_super()
927 segs_per_sec > segment_count || !segs_per_sec)) { in sanity_check_raw_super()
929 segment_count, total_sections, segs_per_sec); in sanity_check_raw_super()
933 if ((segment_count / segs_per_sec) < total_sections) { in sanity_check_raw_super()
935 segment_count, segs_per_sec, total_sections); in sanity_check_raw_super()
939 if (segment_count > (get_sb(block_count) >> 9)) { in sanity_check_raw_super()
941 segment_count, get_sb(block_count)); in sanity_check_raw_super()
953 if (segment_count != dev_segs / segs_per_zone * segs_per_zone) { in sanity_check_raw_super()
955 segment_count, dev_segs); in sanity_check_raw_super()
1384 total = get_sb(segment_count); in sanity_check_ckpt()
1421 u32 seg_cnt_main = get_sb(segment_count) - in sanity_check_ckpt()
2125 unsigned int end_segno = SM_I(sbi)->segment_count - 1; in check_seg_range()
2165 unsigned int end_segno = sm_info->segment_count - 1; in check_block_count()
2523 sm_info->segment_count = get_sb(segment_count); in early_build_segment_manager()