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()
152 get_sb(segs_per_sec); in get_new_sb()
Df2fs.h269 unsigned int segs_per_sec; /* segments per section */ member
424 ((segno / sbi->segs_per_sec) / sbi->secs_per_zone)
454 ((segno) / (sbi)->segs_per_sec)
456 ((secno) * (sbi)->segs_per_sec)
Dmount.c56 log_base_2(sbi->segs_per_sec * sbi->blocks_per_seg); in get_zone_idx_from_dev()
61 unsigned int secno = segno / sbi->segs_per_sec; in is_usable_seg()
63 block_t blocks_per_sec = sbi->blocks_per_seg * sbi->segs_per_sec; in is_usable_seg()
402 DISP_u32(sb, segs_per_sec); in print_raw_sb_info()
802 unsigned int segment_count, segs_per_sec, secs_per_zone, segs_per_zone; in sanity_check_raw_super() local
851 segs_per_sec = get_sb(segs_per_sec); in sanity_check_raw_super()
854 segs_per_zone = segs_per_sec * secs_per_zone; in sanity_check_raw_super()
868 segs_per_sec > segment_count || !segs_per_sec)) { in sanity_check_raw_super()
870 segment_count, total_sections, segs_per_sec); in sanity_check_raw_super()
874 if ((segment_count / segs_per_sec) < total_sections) { in sanity_check_raw_super()
[all …]
Dfsck.c2417 unsigned int segs_per_zone = sbi->segs_per_sec * sbi->secs_per_zone; in last_vblk_off_in_zone()
3009 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.c697 c.segs_per_sec = 1; in f2fs_init_configuration()
1265 c.segs_per_sec = c.zone_blocks / DEFAULT_BLOCKS_PER_SEGMENT; in f2fs_get_f2fs_info()
1275 c.segs_per_zone = c.segs_per_sec * c.secs_per_zone; in f2fs_get_f2fs_info()
1280 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()
475 set_sb(segment_count_main, get_sb(section_count) * c.segs_per_sec); in f2fs_prepare_super_block()
Df2fs_format_main.c256 c.segs_per_sec = atoi(optarg); in f2fs_parse_options()
/third_party/f2fs-tools/include/
Df2fs_fs.h470 uint32_t segs_per_sec; member
767 __le32 segs_per_sec; /* # of segments per section */ member