Home
last modified time | relevance | path

Searched refs:log_blocks_per_seg (Results 1 – 7 of 7) sorted by relevance

/third_party/f2fs-tools/fsck/
Dresize.c22 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 …]
Dmount.c401 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()
[all …]
Df2fs.h267 unsigned int log_blocks_per_seg; /* log2 blocks per segment */ member
448 (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()
Dfsck.c2196 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()
/third_party/f2fs-tools/mkfs/
Df2fs_format.c242 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()
/third_party/f2fs-tools/lib/
Dlibf2fs_zoned.c520 get_sb(log_blocks_per_seg); in f2fs_get_usable_segments()
529 get_sb(log_blocks_per_seg); in f2fs_get_usable_segments()
/third_party/f2fs-tools/include/
Df2fs_fs.h766 __le32 log_blocks_per_seg; /* log2 # of blocks per segment */ member