Lines Matching refs:log_blocks_per_seg

359 			avail_user_block_count >> sbi->log_blocks_per_seg);  in adjust_reserved_segment()
3385 u32 log_blocks_per_seg = le32_to_cpu(raw_super->log_blocks_per_seg); in sanity_check_area_boundary() local
3387 (segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
3389 (segment_count << log_blocks_per_seg); in sanity_check_area_boundary()
3397 if (cp_blkaddr + (segment_count_ckpt << log_blocks_per_seg) != in sanity_check_area_boundary()
3401 segment_count_ckpt << log_blocks_per_seg); in sanity_check_area_boundary()
3405 if (sit_blkaddr + (segment_count_sit << log_blocks_per_seg) != in sanity_check_area_boundary()
3409 segment_count_sit << log_blocks_per_seg); in sanity_check_area_boundary()
3413 if (nat_blkaddr + (segment_count_nat << log_blocks_per_seg) != in sanity_check_area_boundary()
3417 segment_count_nat << log_blocks_per_seg); in sanity_check_area_boundary()
3421 if (ssa_blkaddr + (segment_count_ssa << log_blocks_per_seg) != in sanity_check_area_boundary()
3425 segment_count_ssa << log_blocks_per_seg); in sanity_check_area_boundary()
3432 segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
3440 segment0_blkaddr) >> log_blocks_per_seg); in sanity_check_area_boundary()
3451 segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
3499 if (le32_to_cpu(raw_super->log_blocks_per_seg) != 9) { in sanity_check_raw_super()
3501 le32_to_cpu(raw_super->log_blocks_per_seg)); in sanity_check_raw_super()
3530 blocks_per_seg = BIT(le32_to_cpu(raw_super->log_blocks_per_seg)); in sanity_check_raw_super()
3637 unsigned int log_blocks_per_seg; in f2fs_sanity_check_ckpt() local
3669 log_blocks_per_seg = le32_to_cpu(raw_super->log_blocks_per_seg); in f2fs_sanity_check_ckpt()
3671 segment_count_main << log_blocks_per_seg) { in f2fs_sanity_check_ckpt()
3747 if (sit_bitmap_size != ((sit_segs / 2) << log_blocks_per_seg) / 8 || in f2fs_sanity_check_ckpt()
3748 nat_bitmap_size != ((nat_segs / 2) << log_blocks_per_seg) / 8) { in f2fs_sanity_check_ckpt()
3773 nat_blocks = nat_segs << log_blocks_per_seg; in f2fs_sanity_check_ckpt()
3800 sbi->log_blocks_per_seg = le32_to_cpu(raw_super->log_blocks_per_seg); in init_sb_info()
3801 sbi->blocks_per_seg = BIT(sbi->log_blocks_per_seg); in init_sb_info()
4247 sbi->log_blocks_per_seg) - 1 + in f2fs_scan_devices()
4253 sbi->log_blocks_per_seg) - 1; in f2fs_scan_devices()