Searched refs:sm_info (Results 1 – 4 of 4) sorted by relevance
28 return sbi->sm_info == NULL ? 0 : sbi->sm_info->reserved_segments; in reserved_segments()33 return sbi->sm_info == NULL ? 0 : sbi->sm_info->ovp_segments; in overprov_segments()
2164 struct f2fs_sm_info *sm_info = SM_I(sbi); in check_block_count() local2165 unsigned int end_segno = sm_info->segment_count - 1; in check_block_count()2511 struct f2fs_sm_info *sm_info; in early_build_segment_manager() local2513 sm_info = malloc(sizeof(struct f2fs_sm_info)); in early_build_segment_manager()2514 if (!sm_info) { in early_build_segment_manager()2520 sbi->sm_info = sm_info; in early_build_segment_manager()2521 sm_info->seg0_blkaddr = get_sb(segment0_blkaddr); in early_build_segment_manager()2522 sm_info->main_blkaddr = get_sb(main_blkaddr); in early_build_segment_manager()2523 sm_info->segment_count = get_sb(segment_count); in early_build_segment_manager()2524 sm_info->reserved_segments = get_cp(rsvd_segment_count); in early_build_segment_manager()[all …]
253 struct f2fs_sm_info *sm_info; member317 return (struct f2fs_sm_info *)(sbi->sm_info); in SM_I()445 ((sbi->sm_info->ssa_blkaddr) + segno)
189 sbi->sm_info->main_blkaddr); in ssa_dump()