Home
last modified time | relevance | path

Searched refs:blks_per_seg (Results 1 – 5 of 5) sorted by relevance

/external/f2fs-tools/mkfs/
Df2fs_format.c226 log_blks_per_seg = log_base_2(c.blks_per_seg); in f2fs_prepare_super_block()
238 segment_size_bytes = blk_size_bytes * c.blks_per_seg; in f2fs_prepare_super_block()
241 c.segs_per_sec * c.blks_per_seg; in f2fs_prepare_super_block()
296 c.blks_per_seg - 1 + in f2fs_prepare_super_block()
301 (c.sectors_per_blk * c.blks_per_seg); in f2fs_prepare_super_block()
306 c.blks_per_seg - 1; in f2fs_prepare_super_block()
321 get_sb(segment_count_ckpt) * c.blks_per_seg); in f2fs_prepare_super_block()
330 c.blks_per_seg); in f2fs_prepare_super_block()
334 get_sb(segment_count_sit))) * c.blks_per_seg; in f2fs_prepare_super_block()
398 c.blks_per_seg); in f2fs_prepare_super_block()
[all …]
/external/f2fs-tools/fsck/
Dresize.c23 u_int32_t blks_per_seg = 1 << get_sb(log_blocks_per_seg); in get_new_sb() local
47 get_sb(segment_count_sit) * blks_per_seg); in get_new_sb()
51 get_sb(segment_count_sit))) * blks_per_seg; in get_new_sb()
111 get_sb(segment_count_nat) * blks_per_seg); in get_new_sb()
116 get_sb(segment_count_nat))) * blks_per_seg; in get_new_sb()
118 blocks_for_ssa = total_valid_blks_available / blks_per_seg + 1; in get_new_sb()
133 blks_per_seg); in get_new_sb()
155 get_sb(segment_count_main) * blks_per_seg > in get_new_sb()
485 get_cp(overprov_segment_count)) * c.blks_per_seg)); in rebuild_checkpoint()
675 overprov_segment_count) * c.blks_per_seg; in f2fs_resize_shrink()
Dmount.c1041 c.blks_per_seg - 1; in init_sb_info()
1304 get_cp(overprov_segment_count)) * c.blks_per_seg); in sanity_check_ckpt()
/external/f2fs-tools/include/
Df2fs_fs.h463 u_int32_t blks_per_seg; member
1067 c.blks_per_seg / 8)
1481 #define SEG_ALIGN(blks) SIZE_ALIGN(blks, c.blks_per_seg)
1482 #define ZONE_ALIGN(blks) SIZE_ALIGN(blks, c.blks_per_seg * \
/external/f2fs-tools/lib/
Dlibf2fs.c672 c.blks_per_seg = DEFAULT_BLOCKS_PER_SEGMENT; in f2fs_init_configuration()