Searched refs:blks_per_seg (Results 1 – 5 of 5) sorted by relevance
226 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 …]
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()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()
1041 c.blks_per_seg - 1; in init_sb_info()1304 get_cp(overprov_segment_count)) * c.blks_per_seg); in sanity_check_ckpt()
463 u_int32_t blks_per_seg; member1067 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 * \
672 c.blks_per_seg = DEFAULT_BLOCKS_PER_SEGMENT; in f2fs_init_configuration()