Home
last modified time | relevance | path

Searched refs:segment_count_main (Results 1 – 6 of 6) sorted by relevance

/third_party/f2fs-tools/fsck/
Dresize.c136 set_sb(segment_count_main, get_sb(segment_count) - in get_new_sb()
142 set_sb(section_count, get_sb(segment_count_main) / in get_new_sb()
145 set_sb(segment_count_main, get_sb(section_count) * in get_new_sb()
156 if ((get_sb(segment_count_main) - 2) < c.new_reserved_segments || in get_new_sb()
157 get_sb(segment_count_main) * blks_per_seg > in get_new_sb()
162 (get_sb(segment_count_main) - 2)); in get_new_sb()
475 set_cp(overprov_segment_count, (get_newsb(segment_count_main) - in rebuild_checkpoint()
492 new_segment_count = get_newsb(segment_count_main) - in rebuild_checkpoint()
493 get_sb(segment_count_main); in rebuild_checkpoint()
496 set_cp(user_block_count, ((get_newsb(segment_count_main) - in rebuild_checkpoint()
[all …]
Dmount.c415 DISP_u32(sb, segment_count_main); in print_raw_sb_info()
782 u32 segment_count_main = get_sb(segment_count_main); in sanity_check_area_boundary() local
786 (segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
833 segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
844 segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
1379 unsigned int segment_count_main; in sanity_check_ckpt() local
1407 segment_count_main = get_sb(segment_count_main) + in sanity_check_ckpt()
1411 segment_count_main << log_blocks_per_seg) { in sanity_check_ckpt()
1428 if (seg_cnt_main != get_sb(segment_count_main)) { in sanity_check_ckpt()
1430 segment_count_main << log_blocks_per_seg); in sanity_check_ckpt()
[all …]
Df2fs.h420 (le32_to_cpu(F2FS_RAW_SUPER(sbi)->segment_count_main) << in __end_block_addr()
/third_party/f2fs-tools/lib/
Dlibf2fs_zoned.c515 return get_sb(segment_count_main); in f2fs_get_usable_segments()
536 return get_sb(segment_count_main); in f2fs_get_usable_segments()
596 return get_sb(segment_count_main); in f2fs_get_usable_segments()
/third_party/f2fs-tools/mkfs/
Df2fs_format.c476 set_sb(segment_count_main, get_sb(section_count) * c.segs_per_sec); in f2fs_prepare_super_block()
501 (get_sb(segment_count_main) - NR_CURSEG_TYPE) < in f2fs_prepare_super_block()
1165 u64 end_blkaddr = (get_sb(segment_count_main) << in f2fs_discard_obsolete_dnode()
/third_party/f2fs-tools/include/
Df2fs_fs.h818 __le32 segment_count_main; /* # of segments for main area */ member
1627 if (get_sb(segment_count_main) < 256) { in get_best_overprovision()