Searched refs:log_blocks_per_seg (Results 1 – 5 of 5) sorted by relevance
140 unsigned int log_blocks_per_seg; /* log2 blocks per segment */ member266 (GET_SEGOFF_FROM_SEG0(sbi, blk_addr) >> sbi->log_blocks_per_seg)271 #define START_BLOCK(sbi, segno) (SM_I(sbi)->main_blkaddr + (segno << sbi->log_blocks_per_seg))308 << (sbi->log_blocks_per_seg - 1))); \331 >> sbi->log_blocks_per_seg); in GET_SEGNO()337 % (1 << sbi->log_blocks_per_seg)); in OFFSET_IN_SEG()
107 DISP_u32(sb, log_blocks_per_seg); in print_raw_sb_info()246 sbi->log_blocks_per_seg = le32_to_cpu(raw_super->log_blocks_per_seg); in init_sb_info()247 sbi->blocks_per_seg = 1 << sbi->log_blocks_per_seg; in init_sb_info()337 cp_start_blk_no += 1 << le32_to_cpu(raw_sb->log_blocks_per_seg); in get_valid_checkpoint()363 cp_blk_no += 1 << le32_to_cpu(raw_sb->log_blocks_per_seg); in get_valid_checkpoint()410 nat_blocks = nat_segs << le32_to_cpu(sb_raw->log_blocks_per_seg); in init_node_manager()480 sit_i->sit_blocks = sit_segs << sbi->log_blocks_per_seg; in build_sit_info()827 seg_off = block_off >> sbi->log_blocks_per_seg; in get_nat_entry()829 (seg_off << sbi->log_blocks_per_seg << 1) + in get_nat_entry()830 (block_off & ((1 << sbi->log_blocks_per_seg) - 1))); in get_nat_entry()[all …]
725 fsck->nr_main_blks = sm_i->main_segments << sbi->log_blocks_per_seg; in fsck_init()
120 super_block.log_blocks_per_seg = cpu_to_le32(log_blks_per_seg); in f2fs_prepare_super_block()345 seg_size = (1 << le32_to_cpu(super_block.log_blocks_per_seg)) * in f2fs_init_sit_area()381 seg_size = (1 << le32_to_cpu(super_block.log_blocks_per_seg)) * in f2fs_init_nat_area()477 le32_to_cpu(super_block.log_blocks_per_seg)) / 8); in f2fs_write_check_point_pack()481 le32_to_cpu(super_block.log_blocks_per_seg)) / 8); in f2fs_write_check_point_pack()
255 __le32 log_blocks_per_seg; /* log2 # of blocks per segment */ member