Searched refs:blks_per_seg (Results 1 – 5 of 5) sorted by relevance
221 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 …]
23 u_int32_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()484 get_cp(overprov_segment_count)) * c.blks_per_seg)); in rebuild_checkpoint()
1028 c.blks_per_seg - 1; in init_sb_info()1289 get_cp(overprov_segment_count)) * c.blks_per_seg); in sanity_check_ckpt()
370 u_int32_t blks_per_seg; member966 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 * \
669 c.blks_per_seg = DEFAULT_BLOCKS_PER_SEGMENT; in f2fs_init_configuration()