Lines Matching refs:log_blocks_per_seg
354 avail_user_block_count >> sbi->log_blocks_per_seg); in adjust_reserved_segment()
3184 u32 log_blocks_per_seg = le32_to_cpu(raw_super->log_blocks_per_seg); in sanity_check_area_boundary() local
3186 (segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
3188 (segment_count << log_blocks_per_seg); in sanity_check_area_boundary()
3196 if (cp_blkaddr + (segment_count_ckpt << log_blocks_per_seg) != in sanity_check_area_boundary()
3200 segment_count_ckpt << log_blocks_per_seg); in sanity_check_area_boundary()
3204 if (sit_blkaddr + (segment_count_sit << log_blocks_per_seg) != in sanity_check_area_boundary()
3208 segment_count_sit << log_blocks_per_seg); in sanity_check_area_boundary()
3212 if (nat_blkaddr + (segment_count_nat << log_blocks_per_seg) != in sanity_check_area_boundary()
3216 segment_count_nat << log_blocks_per_seg); in sanity_check_area_boundary()
3220 if (ssa_blkaddr + (segment_count_ssa << log_blocks_per_seg) != in sanity_check_area_boundary()
3224 segment_count_ssa << log_blocks_per_seg); in sanity_check_area_boundary()
3231 segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
3239 segment0_blkaddr) >> log_blocks_per_seg); in sanity_check_area_boundary()
3250 segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
3298 if (le32_to_cpu(raw_super->log_blocks_per_seg) != 9) { in sanity_check_raw_super()
3300 le32_to_cpu(raw_super->log_blocks_per_seg)); in sanity_check_raw_super()
3329 blocks_per_seg = 1 << le32_to_cpu(raw_super->log_blocks_per_seg); in sanity_check_raw_super()
3436 unsigned int log_blocks_per_seg; in f2fs_sanity_check_ckpt() local
3468 log_blocks_per_seg = le32_to_cpu(raw_super->log_blocks_per_seg); in f2fs_sanity_check_ckpt()
3470 segment_count_main << log_blocks_per_seg) { in f2fs_sanity_check_ckpt()
3546 if (sit_bitmap_size != ((sit_segs / 2) << log_blocks_per_seg) / 8 || in f2fs_sanity_check_ckpt()
3547 nat_bitmap_size != ((nat_segs / 2) << log_blocks_per_seg) / 8) { in f2fs_sanity_check_ckpt()
3572 nat_blocks = nat_segs << log_blocks_per_seg; in f2fs_sanity_check_ckpt()
3599 sbi->log_blocks_per_seg = le32_to_cpu(raw_super->log_blocks_per_seg); in init_sb_info()
3600 sbi->blocks_per_seg = 1 << sbi->log_blocks_per_seg; in init_sb_info()
3958 sbi->log_blocks_per_seg) - 1 + in f2fs_scan_devices()
3964 sbi->log_blocks_per_seg) - 1; in f2fs_scan_devices()