Home
last modified time | relevance | path

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

/external/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.h265 unsigned int segs_per_sec; /* segments per section */ member
420 ((segno / sbi->segs_per_sec) / sbi->secs_per_zone)
450 ((segno) / (sbi)->segs_per_sec)
452 ((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()
401 DISP_u32(sb, segs_per_sec); in print_raw_sb_info()
806 unsigned int segment_count, segs_per_sec, secs_per_zone, segs_per_zone; in sanity_check_raw_super() local
855 segs_per_sec = get_sb(segs_per_sec); in sanity_check_raw_super()
858 segs_per_zone = segs_per_sec * secs_per_zone; in sanity_check_raw_super()
872 segs_per_sec > segment_count || !segs_per_sec)) { in sanity_check_raw_super()
874 segment_count, total_sections, segs_per_sec); in sanity_check_raw_super()
878 if ((segment_count / segs_per_sec) < total_sections) { in sanity_check_raw_super()
[all …]
Dfsck.c2267 unsigned int segs_per_zone = sbi->segs_per_sec * sbi->secs_per_zone; in last_vblk_off_in_zone()
2856 unsigned int segs_per_zone = sbi->segs_per_sec * sbi->secs_per_zone; in chk_and_fix_wp_with_sit()
/external/f2fs-tools/lib/
Dlibf2fs.c690 c.segs_per_sec = 1; in f2fs_init_configuration()
1239 c.segs_per_sec = c.zone_blocks / DEFAULT_BLOCKS_PER_SEGMENT; in f2fs_get_device_info()
1249 c.segs_per_zone = c.segs_per_sec * c.secs_per_zone; in f2fs_get_device_info()
1251 MSG(0, "Info: Segments per section = %d\n", c.segs_per_sec); in f2fs_get_device_info()
/external/f2fs-tools/mkfs/
Df2fs_format_main.c207 c.segs_per_sec = atoi(optarg); in f2fs_parse_options()
Df2fs_format.c36 #define last_section(cur) (cur + (c.secs_per_zone - 1) * c.segs_per_sec)
234 set_sb(segs_per_sec, c.segs_per_sec); in f2fs_prepare_super_block()
241 c.segs_per_sec * c.blks_per_seg; in f2fs_prepare_super_block()
450 set_sb(segment_count_main, get_sb(section_count) * c.segs_per_sec); in f2fs_prepare_super_block()
/external/f2fs-tools/include/
Df2fs_fs.h450 u_int32_t segs_per_sec; member
742 __le32 segs_per_sec; /* # of segments per section */ member
/external/e2fsprogs/lib/blkid/
Dprobe.h742 __u32 segs_per_sec; /* # of segments per section */ member