Lines Matching refs:segment_count_main
2124 if (le32_to_cpu(F2FS_RAW_SUPER(sbi)->segment_count_main) <= in default_options()
3377 u32 segment_count_main = le32_to_cpu(raw_super->segment_count_main); in sanity_check_area_boundary() local
3381 ((u64)segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
3426 segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
3445 segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
3455 block_t segment_count, segs_per_sec, secs_per_zone, segment_count_main; in sanity_check_raw_super() local
3517 segment_count_main = le32_to_cpu(raw_super->segment_count_main); in sanity_check_raw_super()
3531 if (total_sections > segment_count_main || total_sections < 1 || in sanity_check_raw_super()
3538 if (segment_count_main != total_sections * segs_per_sec) { in sanity_check_raw_super()
3540 segment_count_main, total_sections, segs_per_sec); in sanity_check_raw_super()
3631 unsigned int segment_count_main; in f2fs_sanity_check_ckpt() local
3660 segment_count_main = le32_to_cpu(raw_super->segment_count_main) + in f2fs_sanity_check_ckpt()
3664 segment_count_main << log_blocks_per_seg) { in f2fs_sanity_check_ckpt()
3685 main_segs = le32_to_cpu(raw_super->segment_count_main); in f2fs_sanity_check_ckpt()