Home
last modified time | relevance | path

Searched refs:cur_seg (Results 1 – 2 of 2) sorted by relevance

/external/f2fs-tools/mkfs/
Df2fs_format.c29 #define prev_zone(cur) (config.cur_seg[cur] - config.segs_per_zone)
30 #define next_zone(cur) (config.cur_seg[cur] + config.segs_per_zone)
338 config.cur_seg[CURSEG_HOT_NODE] = last_section(last_zone(total_zones)); in f2fs_prepare_super_block()
339 config.cur_seg[CURSEG_WARM_NODE] = prev_zone(CURSEG_HOT_NODE); in f2fs_prepare_super_block()
340 config.cur_seg[CURSEG_COLD_NODE] = prev_zone(CURSEG_WARM_NODE); in f2fs_prepare_super_block()
341 config.cur_seg[CURSEG_HOT_DATA] = prev_zone(CURSEG_COLD_NODE); in f2fs_prepare_super_block()
342 config.cur_seg[CURSEG_COLD_DATA] = 0; in f2fs_prepare_super_block()
343 config.cur_seg[CURSEG_WARM_DATA] = next_zone(CURSEG_COLD_DATA); in f2fs_prepare_super_block()
345 config.cur_seg[CURSEG_HOT_NODE] = 0; in f2fs_prepare_super_block()
346 config.cur_seg[CURSEG_WARM_NODE] = next_zone(CURSEG_HOT_NODE); in f2fs_prepare_super_block()
[all …]
/external/f2fs-tools/include/
Df2fs_fs.h230 u_int32_t cur_seg[6]; member