Lines Matching refs:blocks_per_seg
723 sbi->blocks_per_seg = 1 << sbi->log_blocks_per_seg; in init_sb_info()
728 sbi->blocks_per_seg * NAT_ENTRY_PER_BLOCK; in init_sb_info()
798 if (get_cp(cp_pack_total_block_count) > sbi->blocks_per_seg) in validate_checkpoint()
924 unsigned int main_segs, blocks_per_seg; in sanity_check_ckpt() local
964 blocks_per_seg = sbi->blocks_per_seg; in sanity_check_ckpt()
968 get_cp(cur_node_blkoff[i]) >= blocks_per_seg) in sanity_check_ckpt()
973 get_cp(cur_data_blkoff[i]) >= blocks_per_seg) in sanity_check_ckpt()
990 cp_pack_start_sum > blocks_per_seg - 1 - in sanity_check_ckpt()
1020 block_addr += sbi->blocks_per_seg; in current_nat_addr()
1429 blk_off = sbi->blocks_per_seg; in read_compacted_summaries()
1468 for (i = 0; i < sbi->blocks_per_seg; i++, sum_entry++) { in restore_node_summary()
1656 if (GET_SIT_VBLOCKS(raw_sit) > sbi->blocks_per_seg) in check_block_count()
2185 if (se->valid_blocks == sbi->blocks_per_seg || in find_next_free_block()
2459 block_addr += sbi->blocks_per_seg; in build_nat_area_bitmap()