Home
last modified time | relevance | path

Searched refs:sm_info (Results 1 – 3 of 3) sorted by relevance

/external/f2fs-tools/fsck/
Dmount.c776 struct f2fs_sm_info *sm_info = SM_I(sbi); in check_block_count() local
777 unsigned int end_segno = sm_info->segment_count - 1; in check_block_count()
965 struct f2fs_sm_info *sm_info; in build_segment_manager() local
967 sm_info = malloc(sizeof(struct f2fs_sm_info)); in build_segment_manager()
968 if (!sm_info) in build_segment_manager()
972 sbi->sm_info = sm_info; in build_segment_manager()
973 sm_info->seg0_blkaddr = le32_to_cpu(raw_super->segment0_blkaddr); in build_segment_manager()
974 sm_info->main_blkaddr = le32_to_cpu(raw_super->main_blkaddr); in build_segment_manager()
975 sm_info->segment_count = le32_to_cpu(raw_super->segment_count); in build_segment_manager()
976 sm_info->reserved_segments = le32_to_cpu(ckpt->rsvd_segment_count); in build_segment_manager()
[all …]
Df2fs.h131 struct f2fs_sm_info *sm_info; member
187 return (struct f2fs_sm_info *)(sbi->sm_info); in SM_I()
282 ((sbi->sm_info->ssa_blkaddr) + segno)
Ddump.c78 sbi->sm_info->main_blkaddr); in ssa_dump()