Home
last modified time | relevance | path

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

/third_party/f2fs-tools/mkfs/
Df2fs_format.c221 log_blks_per_seg = log_base_2(c.blks_per_seg); in f2fs_prepare_super_block()
233 segment_size_bytes = blk_size_bytes * c.blks_per_seg; in f2fs_prepare_super_block()
236 c.segs_per_sec * c.blks_per_seg; in f2fs_prepare_super_block()
280 c.blks_per_seg - 1 + in f2fs_prepare_super_block()
285 (c.sectors_per_blk * c.blks_per_seg); in f2fs_prepare_super_block()
290 c.blks_per_seg - 1; in f2fs_prepare_super_block()
305 get_sb(segment_count_ckpt) * c.blks_per_seg); in f2fs_prepare_super_block()
314 c.blks_per_seg); in f2fs_prepare_super_block()
318 get_sb(segment_count_sit))) * c.blks_per_seg; in f2fs_prepare_super_block()
382 c.blks_per_seg); in f2fs_prepare_super_block()
[all …]
/third_party/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()
484 get_cp(overprov_segment_count)) * c.blks_per_seg)); in rebuild_checkpoint()
Dmount.c1028 c.blks_per_seg - 1; in init_sb_info()
1289 get_cp(overprov_segment_count)) * c.blks_per_seg); in sanity_check_ckpt()
/third_party/f2fs-tools/include/
Df2fs_fs.h370 u_int32_t blks_per_seg; member
966 c.blks_per_seg / 8)
1381 #define SEG_ALIGN(blks) SIZE_ALIGN(blks, c.blks_per_seg)
1382 #define ZONE_ALIGN(blks) SIZE_ALIGN(blks, c.blks_per_seg * \
/third_party/f2fs-tools/lib/
Dlibf2fs.c669 c.blks_per_seg = DEFAULT_BLOCKS_PER_SEGMENT; in f2fs_init_configuration()