Lines Matching refs:sm_info
1944 struct f2fs_sm_info *sm_info = SM_I(sbi); in check_block_count() local
1945 unsigned int end_segno = sm_info->segment_count - 1; in check_block_count()
2291 struct f2fs_sm_info *sm_info; in early_build_segment_manager() local
2293 sm_info = malloc(sizeof(struct f2fs_sm_info)); in early_build_segment_manager()
2294 if (!sm_info) { in early_build_segment_manager()
2300 sbi->sm_info = sm_info; in early_build_segment_manager()
2301 sm_info->seg0_blkaddr = get_sb(segment0_blkaddr); in early_build_segment_manager()
2302 sm_info->main_blkaddr = get_sb(main_blkaddr); in early_build_segment_manager()
2303 sm_info->segment_count = get_sb(segment_count); in early_build_segment_manager()
2304 sm_info->reserved_segments = get_cp(rsvd_segment_count); in early_build_segment_manager()
2305 sm_info->ovp_segments = get_cp(overprov_segment_count); in early_build_segment_manager()
2306 sm_info->main_segments = get_sb(segment_count_main); in early_build_segment_manager()
2307 sm_info->ssa_blkaddr = get_sb(ssa_blkaddr); in early_build_segment_manager()
2310 free(sm_info); in early_build_segment_manager()
2324 free (sbi->sm_info); in late_build_segment_manager()
3540 free(sbi->sm_info); in f2fs_do_umount()