Home
last modified time | relevance | path

Searched refs:segs_per_zone (Results 1 – 6 of 6) sorted by relevance

/third_party/f2fs-tools/mkfs/
Df2fs_format.c45 #define prev_zone(cur) (c.cur_seg[cur] - c.segs_per_zone)
46 #define next_zone(cur) (c.cur_seg[cur] + c.segs_per_zone)
47 #define last_zone(cur) ((cur - 1) * c.segs_per_zone)
326 set_sb(segment_count, (c.total_segments / c.segs_per_zone * in f2fs_prepare_super_block()
327 c.segs_per_zone)); in f2fs_prepare_super_block()
428 diff = total_meta_segments % (c.segs_per_zone); in f2fs_prepare_super_block()
431 (c.segs_per_zone - diff)); in f2fs_prepare_super_block()
437 c.segs_per_zone * c.blks_per_seg); in f2fs_prepare_super_block()
470 total_zones = get_sb(segment_count) / (c.segs_per_zone) - in f2fs_prepare_super_block()
/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() local
29 zone_size_bytes = segment_size_bytes * segs_per_zone; in get_new_sb()
127 diff = total_meta_segments % segs_per_zone; in get_new_sb()
130 (segs_per_zone - diff)); in get_new_sb()
Dfsck.c2417 unsigned int segs_per_zone = sbi->segs_per_sec * sbi->secs_per_zone; in last_vblk_off_in_zone() local
2420 for (s = segs_per_zone - 1; s >= 0; s--) { 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() local
3029 cs->segno < zone_segno + segs_per_zone) in chk_and_fix_wp_with_sit()
Dmount.c802 unsigned int segment_count, segs_per_sec, secs_per_zone, segs_per_zone; in sanity_check_raw_super() local
854 segs_per_zone = segs_per_sec * secs_per_zone; in sanity_check_raw_super()
894 if (segment_count != dev_segs / segs_per_zone * segs_per_zone) { in sanity_check_raw_super()
/third_party/f2fs-tools/lib/
Dlibf2fs.c699 c.segs_per_zone = 1; in f2fs_init_configuration()
1275 c.segs_per_zone = c.segs_per_sec * c.secs_per_zone; in f2fs_get_f2fs_info()
/third_party/f2fs-tools/include/
Df2fs_fs.h472 uint32_t segs_per_zone; member
1570 c.segs_per_zone)