Lines Matching refs:log_blocks_per_seg

2667 	u32 log_blocks_per_seg = le32_to_cpu(raw_super->log_blocks_per_seg);  in sanity_check_area_boundary()  local
2669 (segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
2671 (segment_count << log_blocks_per_seg); in sanity_check_area_boundary()
2679 if (cp_blkaddr + (segment_count_ckpt << log_blocks_per_seg) != in sanity_check_area_boundary()
2683 segment_count_ckpt << log_blocks_per_seg); in sanity_check_area_boundary()
2687 if (sit_blkaddr + (segment_count_sit << log_blocks_per_seg) != in sanity_check_area_boundary()
2691 segment_count_sit << log_blocks_per_seg); in sanity_check_area_boundary()
2695 if (nat_blkaddr + (segment_count_nat << log_blocks_per_seg) != in sanity_check_area_boundary()
2699 segment_count_nat << log_blocks_per_seg); in sanity_check_area_boundary()
2703 if (ssa_blkaddr + (segment_count_ssa << log_blocks_per_seg) != in sanity_check_area_boundary()
2707 segment_count_ssa << log_blocks_per_seg); in sanity_check_area_boundary()
2714 segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
2722 segment0_blkaddr) >> log_blocks_per_seg); in sanity_check_area_boundary()
2733 segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
2789 if (le32_to_cpu(raw_super->log_blocks_per_seg) != 9) { in sanity_check_raw_super()
2791 le32_to_cpu(raw_super->log_blocks_per_seg)); in sanity_check_raw_super()
2820 blocks_per_seg = 1 << le32_to_cpu(raw_super->log_blocks_per_seg); in sanity_check_raw_super()
2925 unsigned int log_blocks_per_seg; in f2fs_sanity_check_ckpt() local
2955 log_blocks_per_seg = le32_to_cpu(raw_super->log_blocks_per_seg); in f2fs_sanity_check_ckpt()
2957 segment_count_main << log_blocks_per_seg) { in f2fs_sanity_check_ckpt()
3024 if (sit_bitmap_size != ((sit_segs / 2) << log_blocks_per_seg) / 8 || in f2fs_sanity_check_ckpt()
3025 nat_bitmap_size != ((nat_segs / 2) << log_blocks_per_seg) / 8) { in f2fs_sanity_check_ckpt()
3066 sbi->log_blocks_per_seg = le32_to_cpu(raw_super->log_blocks_per_seg); in init_sb_info()
3067 sbi->blocks_per_seg = 1 << sbi->log_blocks_per_seg; in init_sb_info()
3345 sbi->log_blocks_per_seg) - 1 + in f2fs_scan_devices()
3351 sbi->log_blocks_per_seg) - 1; in f2fs_scan_devices()