Home
last modified time | relevance | path

Searched refs:segs_per_sec (Results 1 – 8 of 8) sorted by relevance

/third_party/f2fs-tools/fsck/
Dresize.c24 uint32_t segs_per_zone = get_sb(segs_per_sec) * get_sb(secs_per_zone); in get_new_sb()
38 c.segs_per_sec * c.segs_per_sec); in get_new_sb()
143 get_sb(segs_per_sec)); in get_new_sb()
146 get_sb(segs_per_sec)); in get_new_sb()
154 get_sb(segs_per_sec); in get_new_sb()
484 2 * get_sb(segs_per_sec)); in rebuild_checkpoint()
616 overprov_segment_count += 2 * get_newsb(segs_per_sec); in f2fs_resize_check()
Df2fs.h269 unsigned int segs_per_sec; /* segments per section */ member
425 ((sbi)->segs_per_sec * (sbi)->blocks_per_seg)
427 ((segno / sbi->segs_per_sec) / sbi->secs_per_zone)
457 ((segno) / (sbi)->segs_per_sec)
459 ((secno) * (sbi)->segs_per_sec)
Dmount.c57 log_base_2(sbi->segs_per_sec * sbi->blocks_per_seg); in get_zone_idx_from_dev()
62 unsigned int secno = segno / sbi->segs_per_sec; in is_usable_seg()
64 block_t blocks_per_sec = sbi->blocks_per_seg * sbi->segs_per_sec; in is_usable_seg()
403 DISP_u32(sb, segs_per_sec); in print_raw_sb_info()
867 unsigned int segment_count, segs_per_sec, secs_per_zone, segs_per_zone; in sanity_check_raw_super() local
910 segs_per_sec = get_sb(segs_per_sec); in sanity_check_raw_super()
913 segs_per_zone = segs_per_sec * secs_per_zone; in sanity_check_raw_super()
927 segs_per_sec > segment_count || !segs_per_sec)) { in sanity_check_raw_super()
929 segment_count, total_sections, segs_per_sec); in sanity_check_raw_super()
933 if ((segment_count / segs_per_sec) < total_sections) { in sanity_check_raw_super()
[all …]
Dfsck.c2422 unsigned int segs_per_zone = sbi->segs_per_sec * sbi->secs_per_zone; in last_vblk_off_in_zone()
3017 unsigned int segs_per_zone = sbi->segs_per_sec * sbi->secs_per_zone; in chk_and_fix_wp_with_sit()
/third_party/f2fs-tools/lib/
Dlibf2fs.c694 c.segs_per_sec = 1; in f2fs_init_configuration()
1261 c.segs_per_sec = c.zone_blocks / DEFAULT_BLOCKS_PER_SEGMENT; in f2fs_get_f2fs_info()
1271 c.segs_per_zone = c.segs_per_sec * c.secs_per_zone; in f2fs_get_f2fs_info()
1276 MSG(0, "Info: Segments per section = %d\n", c.segs_per_sec); in f2fs_get_f2fs_info()
/third_party/f2fs-tools/mkfs/
Df2fs_format.c48 #define last_section(cur) (cur + (c.secs_per_zone - 1) * c.segs_per_sec)
244 set_sb(segs_per_sec, c.segs_per_sec); in f2fs_prepare_super_block()
251 c.segs_per_sec * c.blks_per_seg; in f2fs_prepare_super_block()
476 set_sb(segment_count_main, get_sb(section_count) * c.segs_per_sec); in f2fs_prepare_super_block()
774 2 * get_sb(segs_per_sec)); in f2fs_write_check_point_pack()
Df2fs_format_main.c256 c.segs_per_sec = atoi(optarg); in f2fs_parse_options()
/third_party/f2fs-tools/include/
Df2fs_fs.h472 uint32_t segs_per_sec; member
807 __le32 segs_per_sec; /* # of segments per section */ member
1644 2 * get_sb(segs_per_sec); in get_best_overprovision()