Lines Matching refs:log_blocks_per_seg
3094 u32 log_blocks_per_seg = le32_to_cpu(raw_super->log_blocks_per_seg); in sanity_check_area_boundary() local
3096 (segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
3098 (segment_count << log_blocks_per_seg); in sanity_check_area_boundary()
3106 if (cp_blkaddr + (segment_count_ckpt << log_blocks_per_seg) != in sanity_check_area_boundary()
3110 segment_count_ckpt << log_blocks_per_seg); in sanity_check_area_boundary()
3114 if (sit_blkaddr + (segment_count_sit << log_blocks_per_seg) != in sanity_check_area_boundary()
3118 segment_count_sit << log_blocks_per_seg); in sanity_check_area_boundary()
3122 if (nat_blkaddr + (segment_count_nat << log_blocks_per_seg) != in sanity_check_area_boundary()
3126 segment_count_nat << log_blocks_per_seg); in sanity_check_area_boundary()
3130 if (ssa_blkaddr + (segment_count_ssa << log_blocks_per_seg) != in sanity_check_area_boundary()
3134 segment_count_ssa << log_blocks_per_seg); in sanity_check_area_boundary()
3141 segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
3149 segment0_blkaddr) >> log_blocks_per_seg); in sanity_check_area_boundary()
3160 segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
3208 if (le32_to_cpu(raw_super->log_blocks_per_seg) != 9) { in sanity_check_raw_super()
3210 le32_to_cpu(raw_super->log_blocks_per_seg)); in sanity_check_raw_super()
3239 blocks_per_seg = 1 << le32_to_cpu(raw_super->log_blocks_per_seg); in sanity_check_raw_super()
3346 unsigned int log_blocks_per_seg; in f2fs_sanity_check_ckpt() local
3378 log_blocks_per_seg = le32_to_cpu(raw_super->log_blocks_per_seg); in f2fs_sanity_check_ckpt()
3380 segment_count_main << log_blocks_per_seg) { in f2fs_sanity_check_ckpt()
3456 if (sit_bitmap_size != ((sit_segs / 2) << log_blocks_per_seg) / 8 || in f2fs_sanity_check_ckpt()
3457 nat_bitmap_size != ((nat_segs / 2) << log_blocks_per_seg) / 8) { in f2fs_sanity_check_ckpt()
3482 nat_blocks = nat_segs << log_blocks_per_seg; in f2fs_sanity_check_ckpt()
3509 sbi->log_blocks_per_seg = le32_to_cpu(raw_super->log_blocks_per_seg); in init_sb_info()
3510 sbi->blocks_per_seg = 1 << sbi->log_blocks_per_seg; in init_sb_info()
3789 sbi->log_blocks_per_seg) - 1 + in f2fs_scan_devices()
3795 sbi->log_blocks_per_seg) - 1; in f2fs_scan_devices()