Home
last modified time | relevance | path

Searched refs:log_blocks_per_seg (Results 1 – 8 of 8) 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()
296 nat_blocks = nat_blocks << get_sb(log_blocks_per_seg); in shrink_nats()
301 seg_off = block_off >> sbi->log_blocks_per_seg; in shrink_nats()
303 (seg_off << sbi->log_blocks_per_seg << 1) + in shrink_nats()
304 (block_off & ((1 << sbi->log_blocks_per_seg) - 1))); in shrink_nats()
344 seg_off = block_off >> sbi->log_blocks_per_seg; in migrate_nat()
[all …]
Dmount.c402 DISP_u32(sb, log_blocks_per_seg); in print_raw_sb_info()
784 u32 log_blocks_per_seg = get_sb(log_blocks_per_seg); in sanity_check_area_boundary() local
786 (segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
788 (segment_count << log_blocks_per_seg); in sanity_check_area_boundary()
796 if (cp_blkaddr + (segment_count_ckpt << log_blocks_per_seg) != in sanity_check_area_boundary()
800 segment_count_ckpt << log_blocks_per_seg); in sanity_check_area_boundary()
804 if (sit_blkaddr + (segment_count_sit << log_blocks_per_seg) != in sanity_check_area_boundary()
808 segment_count_sit << log_blocks_per_seg); in sanity_check_area_boundary()
812 if (nat_blkaddr + (segment_count_nat << log_blocks_per_seg) != in sanity_check_area_boundary()
816 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
421 sbi->log_blocks_per_seg); in __end_block_addr()
451 (GET_SEGOFF_FROM_SEG0(sbi, blk_addr) >> sbi->log_blocks_per_seg)
467 #define TOTAL_BLKS(sbi) (TOTAL_SEGS(sbi) << (sbi)->log_blocks_per_seg)
471 ((segno) << sbi->log_blocks_per_seg))
520 << (sbi->log_blocks_per_seg - 1))); in IS_VALID_NID()
567 >> sbi->log_blocks_per_seg); in GET_SEGNO()
573 % (1 << sbi->log_blocks_per_seg)); in OFFSET_IN_SEG()
Ddump.c549 (SM_I(sbi)->main_segments << sbi->log_blocks_per_seg); in dump_node_scan_disk()
Dfsck.c2201 fsck->nr_main_blks = sm_i->main_segments << sbi->log_blocks_per_seg; in fsck_init()
2364 cp_blk_no += 1 << get_sb(log_blocks_per_seg); in fix_checkpoint()
2435 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()
631 seg_size = (1 << get_sb(log_blocks_per_seg)) * blk_size; in f2fs_init_sit_area()
665 seg_size = (1 << get_sb(log_blocks_per_seg)) * blk_size; in f2fs_init_nat_area()
799 (1 << get_sb(log_blocks_per_seg)) - nat_bits_blocks) in f2fs_write_check_point_pack()
814 get_sb(log_blocks_per_seg)) / 8); in f2fs_write_check_point_pack()
817 get_sb(log_blocks_per_seg)) / 8); in f2fs_write_check_point_pack()
1070 get_sb(log_blocks_per_seg)) - nat_bits_blocks; in f2fs_write_check_point_pack()
1166 get_sb(log_blocks_per_seg)) + get_sb(main_blkaddr); in f2fs_discard_obsolete_dnode()
/third_party/f2fs-tools/lib/
Dlibf2fs_zoned.c524 get_sb(log_blocks_per_seg); in f2fs_get_usable_segments()
533 get_sb(log_blocks_per_seg); in f2fs_get_usable_segments()
/third_party/f2fs-tools/include/
Df2fs_fs.h806 __le32 log_blocks_per_seg; /* log2 # of blocks per segment */ member