Home
last modified time | relevance | path

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

/external/f2fs-tools/fsck/
Dresize.c105 set_sb(segment_count_main, get_sb(segment_count) - in get_new_sb()
111 set_sb(section_count, get_sb(segment_count_main) / in get_new_sb()
114 set_sb(segment_count_main, get_sb(section_count) * in get_new_sb()
123 if ((get_sb(segment_count_main) - 2) < c.new_reserved_segments || in get_new_sb()
124 get_sb(segment_count_main) * blks_per_seg > in get_new_sb()
129 (get_sb(segment_count_main) - 2)); in get_new_sb()
438 set_cp(overprov_segment_count, (get_newsb(segment_count_main) - in rebuild_checkpoint()
445 new_segment_count = get_newsb(segment_count_main) - in rebuild_checkpoint()
446 get_sb(segment_count_main); in rebuild_checkpoint()
449 set_cp(user_block_count, ((get_newsb(segment_count_main) - in rebuild_checkpoint()
[all …]
Dmount.c331 DISP_u32(sb, segment_count_main); in print_raw_sb_info()
487 u32 segment_count_main = get_sb(segment_count_main); in sanity_check_area_boundary() local
491 (segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
538 segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
552 segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
1674 sm_info->main_segments = get_sb(segment_count_main); in build_segment_manager()
1899 u64 end_blkaddr = (get_sb(segment_count_main) << in find_next_free_block()
/external/f2fs-tools/include/
Df2fs_fs.h586 __le32 segment_count_main; /* # of segments for main area */ member
1229 if (get_sb(segment_count_main) < 256) { in get_best_overprovision()
1242 ovp = (get_sb(segment_count_main) - reserved) * candidate / 100; in get_best_overprovision()
1243 space = get_sb(segment_count_main) - reserved - ovp; in get_best_overprovision()
/external/f2fs-tools/mkfs/
Df2fs_format.c362 set_sb(segment_count_main, get_sb(section_count) * c.segs_per_sec); in f2fs_prepare_super_block()
371 (get_sb(segment_count_main) - 2) < c.reserved_segments) { in f2fs_prepare_super_block()
601 set_cp(overprov_segment_count, (get_sb(segment_count_main) - in f2fs_write_check_point_pack()
613 set_cp(free_segment_count, get_sb(segment_count_main) - 6); in f2fs_write_check_point_pack()
931 u64 end_blkaddr = (get_sb(segment_count_main) << in discard_obsolete_dnode()
/external/e2fsprogs/lib/blkid/
Dprobe.h752 __u32 segment_count_main; /* # of segments for main area */ member