Lines Matching refs:segment_count
2079 u32 segment_count = le32_to_cpu(raw_super->segment_count); in sanity_check_area_boundary() local
2084 (segment_count << log_blocks_per_seg); in sanity_check_area_boundary()
2134 (segment_count << log_blocks_per_seg), in sanity_check_area_boundary()
2142 raw_super->segment_count = cpu_to_le32((main_end_blkaddr - in sanity_check_area_boundary()
2156 (segment_count << log_blocks_per_seg), in sanity_check_area_boundary()
2167 block_t segment_count, segs_per_sec, secs_per_zone; in sanity_check_raw_super() local
2225 segment_count = le32_to_cpu(raw_super->segment_count); in sanity_check_raw_super()
2233 if (segment_count > F2FS_MAX_SEGMENT || in sanity_check_raw_super()
2234 segment_count < F2FS_MIN_SEGMENTS) { in sanity_check_raw_super()
2237 segment_count); in sanity_check_raw_super()
2241 if (total_sections > segment_count || in sanity_check_raw_super()
2243 segs_per_sec > segment_count || !segs_per_sec) { in sanity_check_raw_super()
2246 segment_count, total_sections, segs_per_sec); in sanity_check_raw_super()
2250 if ((segment_count / segs_per_sec) < total_sections) { in sanity_check_raw_super()
2253 segment_count, segs_per_sec, total_sections); in sanity_check_raw_super()
2257 if (segment_count > (le32_to_cpu(raw_super->block_count) >> 9)) { in sanity_check_raw_super()
2260 segment_count, le32_to_cpu(raw_super->block_count)); in sanity_check_raw_super()
2325 total = le32_to_cpu(raw_super->segment_count); in f2fs_sanity_check_ckpt()