Lines Matching refs:sm_info
1650 struct f2fs_sm_info *sm_info = SM_I(sbi); in check_block_count() local
1651 unsigned int end_segno = sm_info->segment_count - 1; in check_block_count()
1932 struct f2fs_sm_info *sm_info; in build_segment_manager() local
1934 sm_info = malloc(sizeof(struct f2fs_sm_info)); in build_segment_manager()
1935 if (!sm_info) { in build_segment_manager()
1941 sbi->sm_info = sm_info; in build_segment_manager()
1942 sm_info->seg0_blkaddr = get_sb(segment0_blkaddr); in build_segment_manager()
1943 sm_info->main_blkaddr = get_sb(main_blkaddr); in build_segment_manager()
1944 sm_info->segment_count = get_sb(segment_count); in build_segment_manager()
1945 sm_info->reserved_segments = get_cp(rsvd_segment_count); in build_segment_manager()
1946 sm_info->ovp_segments = get_cp(overprov_segment_count); in build_segment_manager()
1947 sm_info->main_segments = get_sb(segment_count_main); in build_segment_manager()
1948 sm_info->ssa_blkaddr = get_sb(ssa_blkaddr); in build_segment_manager()
1951 free(sm_info); in build_segment_manager()
2706 free(sbi->sm_info); in f2fs_do_umount()