Home
last modified time | relevance | path

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

/external/f2fs-tools/mkfs/
Df2fs_format.c30 #define prev_zone(cur) (c.cur_seg[cur] - c.segs_per_zone)
31 #define next_zone(cur) (c.cur_seg[cur] + c.segs_per_zone)
32 #define last_zone(cur) ((cur - 1) * c.segs_per_zone)
240 set_sb(segment_count, (c.total_segments / c.segs_per_zone * in f2fs_prepare_super_block()
241 c.segs_per_zone)); in f2fs_prepare_super_block()
320 diff = total_meta_segments % (c.segs_per_zone); in f2fs_prepare_super_block()
323 (c.segs_per_zone - diff)); in f2fs_prepare_super_block()
329 c.segs_per_zone * c.blks_per_seg); in f2fs_prepare_super_block()
347 total_zones = get_sb(segment_count) / (c.segs_per_zone) - in f2fs_prepare_super_block()
/external/f2fs-tools/fsck/
Dresize.c23 u_int32_t segs_per_zone = get_sb(segs_per_sec) * get_sb(secs_per_zone); in get_new_sb() local
28 zone_size_bytes = segment_size_bytes * segs_per_zone; in get_new_sb()
97 diff = total_meta_segments % segs_per_zone; in get_new_sb()
100 (segs_per_zone - diff)); in get_new_sb()
/external/f2fs-tools/lib/
Dlibf2fs.c574 c.segs_per_zone = 1; in f2fs_init_configuration()
857 c.segs_per_zone = c.segs_per_sec * c.secs_per_zone; in f2fs_get_device_info()
/external/f2fs-tools/include/
Df2fs_fs.h268 u_int32_t segs_per_zone; member
1065 c.segs_per_zone)