Lines Matching refs:blocks_per_seg
333 unsigned int sec_blks = sbi->blocks_per_seg * sbi->segs_per_sec; in adjust_reserved_segment()
355 if (wanted_reserved_segments * sbi->blocks_per_seg > in adjust_reserved_segment()
3462 block_t total_sections, blocks_per_seg; in sanity_check_raw_super() local
3530 blocks_per_seg = BIT(le32_to_cpu(raw_super->log_blocks_per_seg)); in sanity_check_raw_super()
3601 (blocks_per_seg - F2FS_CP_PACKS - in sanity_check_raw_super()
3605 blocks_per_seg - F2FS_CP_PACKS - in sanity_check_raw_super()
3634 unsigned int main_segs, blocks_per_seg; in f2fs_sanity_check_ckpt() local
3693 blocks_per_seg = sbi->blocks_per_seg; in f2fs_sanity_check_ckpt()
3697 le16_to_cpu(ckpt->cur_node_blkoff[i]) >= blocks_per_seg) in f2fs_sanity_check_ckpt()
3716 le16_to_cpu(ckpt->cur_data_blkoff[i]) >= blocks_per_seg) in f2fs_sanity_check_ckpt()
3757 cp_pack_start_sum > blocks_per_seg - 1 - in f2fs_sanity_check_ckpt()
3778 NR_CURSEG_PERSIST_TYPE + nat_bits_blocks >= blocks_per_seg)) { in f2fs_sanity_check_ckpt()
3801 sbi->blocks_per_seg = BIT(sbi->log_blocks_per_seg); in init_sb_info()
3807 * sbi->blocks_per_seg * NAT_ENTRY_PER_BLOCK; in init_sb_info()