Searched refs:blks_per_seg (Results 1 – 5 of 5) sorted by relevance
236 log_blks_per_seg = log_base_2(c.blks_per_seg); in f2fs_prepare_super_block()248 segment_size_bytes = blk_size_bytes * c.blks_per_seg; in f2fs_prepare_super_block()251 c.segs_per_sec * c.blks_per_seg; in f2fs_prepare_super_block()306 c.blks_per_seg - 1 + in f2fs_prepare_super_block()311 (c.sectors_per_blk * c.blks_per_seg); in f2fs_prepare_super_block()316 c.blks_per_seg - 1; in f2fs_prepare_super_block()331 get_sb(segment_count_ckpt) * c.blks_per_seg); in f2fs_prepare_super_block()340 c.blks_per_seg); in f2fs_prepare_super_block()344 get_sb(segment_count_sit))) * c.blks_per_seg; in f2fs_prepare_super_block()408 c.blks_per_seg); in f2fs_prepare_super_block()[all …]
23 uint32_t blks_per_seg = 1 << get_sb(log_blocks_per_seg); in get_new_sb() local47 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()
1112 c.blks_per_seg - 1; in init_sb_info()1377 get_cp(overprov_segment_count)) * c.blks_per_seg); in sanity_check_ckpt()
483 uint32_t blks_per_seg; member1127 c.blks_per_seg / 8)1568 #define SEG_ALIGN(blks) SIZE_ALIGN(blks, c.blks_per_seg)1569 #define ZONE_ALIGN(blks) SIZE_ALIGN(blks, c.blks_per_seg * \
679 c.blks_per_seg = DEFAULT_BLOCKS_PER_SEGMENT; in f2fs_init_configuration()