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.c173 DISP_u32(sb, segment_count_main); in print_raw_sb_info()
304 u32 segment_count_main = get_sb(segment_count_main); in sanity_check_area_boundary() local
308 (segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
355 segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
369 segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()
1474 sm_info->main_segments = get_sb(segment_count_main); in build_segment_manager()
1699 u64 end_blkaddr = (get_sb(segment_count_main) << in find_next_free_block()
/external/f2fs-tools/include/
Df2fs_fs.h494 __le32 segment_count_main; /* # of segments for main area */ member
1072 if (get_sb(segment_count_main) < 256) { in get_best_overprovision()
1085 ovp = (get_sb(segment_count_main) - reserved) * candidate / 100; in get_best_overprovision()
1086 space = get_sb(segment_count_main) - reserved - ovp; in get_best_overprovision()
/external/f2fs-tools/mkfs/
Df2fs_format.c352 set_sb(segment_count_main, get_sb(section_count) * c.segs_per_sec); in f2fs_prepare_super_block()
361 (get_sb(segment_count_main) - 2) < c.reserved_segments) { in f2fs_prepare_super_block()
561 set_cp(overprov_segment_count, (get_sb(segment_count_main) - in f2fs_write_check_point_pack()
573 set_cp(free_segment_count, get_sb(segment_count_main) - 6); in f2fs_write_check_point_pack()
/external/e2fsprogs/lib/blkid/
Dprobe.h752 __u32 segment_count_main; /* # of segments for main area */ member