Lines Matching refs:segment_count
3444 u32 segment_count = le32_to_cpu(raw_super->segment_count); in sanity_check_area_boundary() local
3449 ((u64)segment_count << log_blocks_per_seg); in sanity_check_area_boundary()
3499 raw_super->segment_count = cpu_to_le32((main_end_blkaddr - in sanity_check_area_boundary()
3521 block_t segment_count, segs_per_sec, secs_per_zone, segment_count_main; in sanity_check_raw_super() local
3582 segment_count = le32_to_cpu(raw_super->segment_count); in sanity_check_raw_super()
3591 if (segment_count > F2FS_MAX_SEGMENT || in sanity_check_raw_super()
3592 segment_count < F2FS_MIN_SEGMENTS) { in sanity_check_raw_super()
3593 f2fs_info(sbi, "Invalid segment count (%u)", segment_count); in sanity_check_raw_super()
3598 segs_per_sec > segment_count || !segs_per_sec) { in sanity_check_raw_super()
3600 segment_count, total_sections, segs_per_sec); in sanity_check_raw_super()
3610 if ((segment_count / segs_per_sec) < total_sections) { in sanity_check_raw_super()
3612 segment_count, segs_per_sec, total_sections); in sanity_check_raw_super()
3616 if (segment_count > (le64_to_cpu(raw_super->block_count) >> 9)) { in sanity_check_raw_super()
3618 segment_count, le64_to_cpu(raw_super->block_count)); in sanity_check_raw_super()
3630 if (segment_count != dev_seg_count) { in sanity_check_raw_super()
3632 segment_count, dev_seg_count); in sanity_check_raw_super()
3704 total = le32_to_cpu(raw_super->segment_count); in f2fs_sanity_check_ckpt()