• Home
  • Raw
  • Download

Lines Matching refs:log_blocks_per_seg

160 	DISP_u32(sb, log_blocks_per_seg);  in print_raw_sb_info()
306 u32 log_blocks_per_seg = get_sb(log_blocks_per_seg); in sanity_check_area_boundary() local
308 (segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
310 (segment_count << log_blocks_per_seg); in sanity_check_area_boundary()
318 if (cp_blkaddr + (segment_count_ckpt << log_blocks_per_seg) != in sanity_check_area_boundary()
322 segment_count_ckpt << log_blocks_per_seg); in sanity_check_area_boundary()
326 if (sit_blkaddr + (segment_count_sit << log_blocks_per_seg) != in sanity_check_area_boundary()
330 segment_count_sit << log_blocks_per_seg); in sanity_check_area_boundary()
334 if (nat_blkaddr + (segment_count_nat << log_blocks_per_seg) != in sanity_check_area_boundary()
338 segment_count_nat << log_blocks_per_seg); in sanity_check_area_boundary()
342 if (ssa_blkaddr + (segment_count_ssa << log_blocks_per_seg) != in sanity_check_area_boundary()
346 segment_count_ssa << log_blocks_per_seg); in sanity_check_area_boundary()
354 (segment_count << log_blocks_per_seg), in sanity_check_area_boundary()
355 segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
361 segment0_blkaddr) >> log_blocks_per_seg); in sanity_check_area_boundary()
368 (segment_count << log_blocks_per_seg), in sanity_check_area_boundary()
369 segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
389 if (get_sb(log_blocks_per_seg) != 9) in sanity_check_raw_super()
485 sbi->log_blocks_per_seg = get_sb(log_blocks_per_seg); in init_sb_info()
486 sbi->blocks_per_seg = 1 << sbi->log_blocks_per_seg; in init_sb_info()
618 cp_start_blk_no += 1 << get_sb(log_blocks_per_seg); in get_valid_checkpoint()
652 cp_blk_no += 1 << get_sb(log_blocks_per_seg); in get_valid_checkpoint()
701 seg_off = block_off >> sbi->log_blocks_per_seg; in current_nat_addr()
704 (seg_off << sbi->log_blocks_per_seg << 1) + in current_nat_addr()
705 (block_off & ((1 << sbi->log_blocks_per_seg) -1))); in current_nat_addr()
770 (1 << get_sb(log_blocks_per_seg)) - nat_bits_blocks) in update_nat_bits_flags()
784 (get_sb(log_blocks_per_seg) - 1); in write_nat_bits()
807 int seg_off = i >> get_sb(log_blocks_per_seg); in write_nat_bits()
811 (seg_off << get_sb(log_blocks_per_seg) << 1) + in write_nat_bits()
812 (i & ((1 << get_sb(log_blocks_per_seg)) - 1))); in write_nat_bits()
815 blkaddr += (1 << get_sb(log_blocks_per_seg)); in write_nat_bits()
834 get_sb(log_blocks_per_seg)) - nat_bits_blocks; in write_nat_bits()
859 nat_blocks = nat_segs << get_sb(log_blocks_per_seg); in init_node_manager()
931 sit_i->sit_blocks = sit_segs << sbi->log_blocks_per_seg; in build_sit_info()
1700 get_sb(log_blocks_per_seg)) + get_sb(main_blkaddr); in find_next_free_block()
1896 cp_blk_no += 1 << get_sb(log_blocks_per_seg); in write_checkpoint()
1951 sbi->log_blocks_per_seg; in build_nat_area_bitmap()
1964 seg_off = block_off >> sbi->log_blocks_per_seg; in build_nat_area_bitmap()
1966 (seg_off << sbi->log_blocks_per_seg << 1) + in build_nat_area_bitmap()
1967 (block_off & ((1 << sbi->log_blocks_per_seg) - 1))); in build_nat_area_bitmap()
2171 blk = get_sb(cp_blkaddr) + (1 << get_sb(log_blocks_per_seg)); in f2fs_do_mount()
2173 blk += 1 << get_sb(log_blocks_per_seg); in f2fs_do_mount()