• Home
  • Raw
  • Download

Lines Matching refs:log_blocks_per_seg

401 	DISP_u32(sb, log_blocks_per_seg);  in print_raw_sb_info()
719 u32 log_blocks_per_seg = get_sb(log_blocks_per_seg); in sanity_check_area_boundary() local
721 (segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
723 (segment_count << log_blocks_per_seg); in sanity_check_area_boundary()
731 if (cp_blkaddr + (segment_count_ckpt << log_blocks_per_seg) != in sanity_check_area_boundary()
735 segment_count_ckpt << log_blocks_per_seg); in sanity_check_area_boundary()
739 if (sit_blkaddr + (segment_count_sit << log_blocks_per_seg) != in sanity_check_area_boundary()
743 segment_count_sit << log_blocks_per_seg); in sanity_check_area_boundary()
747 if (nat_blkaddr + (segment_count_nat << log_blocks_per_seg) != in sanity_check_area_boundary()
751 segment_count_nat << log_blocks_per_seg); in sanity_check_area_boundary()
755 if (ssa_blkaddr + (segment_count_ssa << log_blocks_per_seg) != in sanity_check_area_boundary()
759 segment_count_ssa << log_blocks_per_seg); in sanity_check_area_boundary()
767 (segment_count << log_blocks_per_seg), in sanity_check_area_boundary()
768 segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
772 segment0_blkaddr) >> log_blocks_per_seg); in sanity_check_area_boundary()
778 (segment_count << log_blocks_per_seg), in sanity_check_area_boundary()
779 segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
829 if (get_sb(log_blocks_per_seg) != 9) { in sanity_check_raw_super()
831 get_sb(log_blocks_per_seg)); in sanity_check_raw_super()
857 blocks_per_seg = 1 << get_sb(log_blocks_per_seg); in sanity_check_raw_super()
1080 sbi->log_blocks_per_seg = get_sb(log_blocks_per_seg); in init_sb_info()
1081 sbi->blocks_per_seg = 1 << sbi->log_blocks_per_seg; in init_sb_info()
1236 cp_start_blk_no += 1 << get_sb(log_blocks_per_seg); in get_valid_checkpoint()
1270 cp_blk_no += 1 << get_sb(log_blocks_per_seg); in get_valid_checkpoint()
1321 unsigned int log_blocks_per_seg; in sanity_check_ckpt() local
1352 log_blocks_per_seg = get_sb(log_blocks_per_seg); in sanity_check_ckpt()
1354 segment_count_main << log_blocks_per_seg) { in sanity_check_ckpt()
1373 segment_count_main << log_blocks_per_seg); in sanity_check_ckpt()
1402 if (sit_bitmap_size != ((sit_segs / 2) << log_blocks_per_seg) / 8 || in sanity_check_ckpt()
1403 nat_bitmap_size != ((nat_segs / 2) << log_blocks_per_seg) / 8) { in sanity_check_ckpt()
1433 seg_off = block_off >> sbi->log_blocks_per_seg; in current_nat_addr()
1436 (seg_off << sbi->log_blocks_per_seg << 1) + in current_nat_addr()
1437 (block_off & ((1 << sbi->log_blocks_per_seg) -1))); in current_nat_addr()
1548 (1 << get_sb(log_blocks_per_seg)) - nat_bits_blocks) in update_nat_bits_flags()
1562 (get_sb(log_blocks_per_seg) - 1); in write_nat_bits()
1585 int seg_off = i >> get_sb(log_blocks_per_seg); in write_nat_bits()
1589 (seg_off << get_sb(log_blocks_per_seg) << 1) + in write_nat_bits()
1590 (i & ((1 << get_sb(log_blocks_per_seg)) - 1))); in write_nat_bits()
1598 blkaddr += (1 << get_sb(log_blocks_per_seg)); in write_nat_bits()
1617 get_sb(log_blocks_per_seg)) - nat_bits_blocks; in write_nat_bits()
1635 (get_sb(log_blocks_per_seg) - 1); in check_nat_bits()
1653 get_sb(log_blocks_per_seg)) - nat_bits_blocks; in check_nat_bits()
1721 nm_i->nat_blocks = nat_segs << get_sb(log_blocks_per_seg); in init_node_manager()
1817 sit_i->sit_blocks = sit_segs << sbi->log_blocks_per_seg; in build_sit_info()
2796 get_sb(log_blocks_per_seg)) + get_sb(main_blkaddr); in find_next_free_block()
3011 unsigned int seg_size = 1 << get_sb(log_blocks_per_seg); in duplicate_checkpoint()
3095 cp_blk_no += 1 << get_sb(log_blocks_per_seg); in write_checkpoint()
3169 sbi->log_blocks_per_seg; in build_nat_area_bitmap()
3182 seg_off = block_off >> sbi->log_blocks_per_seg; in build_nat_area_bitmap()
3184 (seg_off << sbi->log_blocks_per_seg << 1) + in build_nat_area_bitmap()
3185 (block_off & ((1 << sbi->log_blocks_per_seg) - 1))); in build_nat_area_bitmap()
3726 uint32_t seg_size = 1 << get_sb(log_blocks_per_seg); in f2fs_sparse_initialize_meta()