Home
last modified time | relevance | path

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

/third_party/f2fs-tools/fsck/
Dresize.c24 u_int32_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.h258 unsigned int segs_per_sec; /* segments per section */ member
410 ((segno / sbi->segs_per_sec) / sbi->secs_per_zone)
440 ((segno) / (sbi)->segs_per_sec)
442 ((secno) * (sbi)->segs_per_sec)
Dmount.c55 log_base_2(sbi->segs_per_sec * sbi->blocks_per_seg); in get_zone_idx_from_dev()
60 unsigned int secno = segno / sbi->segs_per_sec; in is_usable_seg()
62 block_t blocks_per_sec = sbi->blocks_per_seg * sbi->segs_per_sec; in is_usable_seg()
396 DISP_u32(sb, segs_per_sec); in print_raw_sb_info()
796 unsigned int segment_count, segs_per_sec, secs_per_zone; in sanity_check_raw_super() local
845 segs_per_sec = get_sb(segs_per_sec); in sanity_check_raw_super()
860 segs_per_sec > segment_count || !segs_per_sec) { in sanity_check_raw_super()
862 segment_count, total_sections, segs_per_sec); in sanity_check_raw_super()
866 if ((segment_count / segs_per_sec) < total_sections) { in sanity_check_raw_super()
868 segment_count, segs_per_sec, total_sections); in sanity_check_raw_super()
[all …]
Dfsck.c2245 unsigned int segs_per_zone = sbi->segs_per_sec * sbi->secs_per_zone; in last_vblk_off_in_zone()
2829 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.c687 c.segs_per_sec = 1; in f2fs_init_configuration()
1236 c.segs_per_sec = c.zone_blocks / DEFAULT_BLOCKS_PER_SEGMENT; in f2fs_get_device_info()
1246 c.segs_per_zone = c.segs_per_sec * c.secs_per_zone; in f2fs_get_device_info()
1248 MSG(0, "Info: Segments per section = %d\n", c.segs_per_sec); in f2fs_get_device_info()
/third_party/f2fs-tools/mkfs/
Df2fs_format.c38 #define last_section(cur) (cur + (c.secs_per_zone - 1) * c.segs_per_sec)
229 set_sb(segs_per_sec, c.segs_per_sec); in f2fs_prepare_super_block()
236 c.segs_per_sec * c.blks_per_seg; in f2fs_prepare_super_block()
431 set_sb(segment_count_main, get_sb(section_count) * c.segs_per_sec); in f2fs_prepare_super_block()
Df2fs_format_main.c198 c.segs_per_sec = atoi(optarg); in f2fs_parse_options()
/third_party/f2fs-tools/include/
Df2fs_fs.h358 u_int32_t segs_per_sec; member
643 __le32 segs_per_sec; /* # of segments per section */ member
/third_party/e2fsprogs/lib/blkid/
Dprobe.h742 __u32 segs_per_sec; /* # of segments per section */ member