Searched refs:log_blocks_per_seg (Results 1 – 7 of 7) sorted by relevance
22 get_sb(log_blocks_per_seg)); in get_new_sb()23 uint32_t blks_per_seg = 1 << get_sb(log_blocks_per_seg); in get_new_sb()61 get_sb(log_blocks_per_seg)) / 8; in get_new_sb()69 get_sb(log_blocks_per_seg)) / 8; in get_new_sb()102 get_sb(log_blocks_per_seg); in get_new_sb()294 nat_blocks = nat_blocks << get_sb(log_blocks_per_seg); in shrink_nats()299 seg_off = block_off >> sbi->log_blocks_per_seg; in shrink_nats()301 (seg_off << sbi->log_blocks_per_seg << 1) + in shrink_nats()302 (block_off & ((1 << sbi->log_blocks_per_seg) - 1))); in shrink_nats()342 seg_off = block_off >> sbi->log_blocks_per_seg; in migrate_nat()[all …]
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() local721 (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()[all …]
267 unsigned int log_blocks_per_seg; /* log2 blocks per segment */ member448 (GET_SEGOFF_FROM_SEG0(sbi, blk_addr) >> sbi->log_blocks_per_seg)463 #define TOTAL_BLKS(sbi) (TOTAL_SEGS(sbi) << (sbi)->log_blocks_per_seg)467 ((segno) << sbi->log_blocks_per_seg))517 << (sbi->log_blocks_per_seg - 1))); in IS_VALID_NID()564 >> sbi->log_blocks_per_seg); in GET_SEGNO()570 % (1 << sbi->log_blocks_per_seg)); in OFFSET_IN_SEG()
2196 fsck->nr_main_blks = sm_i->main_segments << sbi->log_blocks_per_seg; in fsck_init()2359 cp_blk_no += 1 << get_sb(log_blocks_per_seg); in fix_checkpoint()2430 return b + (s << sbi->log_blocks_per_seg); in last_vblk_off_in_zone()
242 set_sb(log_blocks_per_seg, log_blks_per_seg); in f2fs_prepare_super_block()627 seg_size = (1 << get_sb(log_blocks_per_seg)) * blk_size; in f2fs_init_sit_area()661 seg_size = (1 << get_sb(log_blocks_per_seg)) * blk_size; in f2fs_init_nat_area()791 (1 << get_sb(log_blocks_per_seg)) - nat_bits_blocks) in f2fs_write_check_point_pack()806 get_sb(log_blocks_per_seg)) / 8); in f2fs_write_check_point_pack()809 get_sb(log_blocks_per_seg)) / 8); in f2fs_write_check_point_pack()1062 get_sb(log_blocks_per_seg)) - nat_bits_blocks; in f2fs_write_check_point_pack()1158 get_sb(log_blocks_per_seg)) + get_sb(main_blkaddr); in f2fs_discard_obsolete_dnode()
520 get_sb(log_blocks_per_seg); in f2fs_get_usable_segments()529 get_sb(log_blocks_per_seg); in f2fs_get_usable_segments()
766 __le32 log_blocks_per_seg; /* log2 # of blocks per segment */ member