Searched refs:SM_I (Results 1 – 5 of 5) sorted by relevance
185 static inline struct f2fs_sm_info *SM_I(struct f2fs_sb_info *sbi) in SM_I() function192 return (struct sit_info *)(SM_I(sbi)->sit_info); in SIT_I()266 block_t end = SM_I(sbi)->main_blkaddr; in __end_block_addr()285 ((blk_addr) - SM_I(sbi)->seg0_blkaddr)294 GET_SEGNO_FROM_SEG0(sbi, SM_I(sbi)->main_blkaddr)297 #define START_BLOCK(sbi, segno) (SM_I(sbi)->main_blkaddr + \302 return (struct curseg_info *)(SM_I(sbi)->curseg_array + type); in CURSEG_I()329 #define TOTAL_SEGS(sbi) (SM_I(sbi)->main_segments)343 addr < SM_I(sbi)->main_blkaddr) { in IS_VALID_BLK_ADDR()360 ASSERT(blk_addr >= SM_I(sbi)->main_blkaddr); in BLKOFF_FROM_MAIN()[all …]
58 SM_I(sbi)->main_segments - free_segs, free_segs); in sit_dump()384 if (blk_addr < SM_I(sbi)->seg0_blkaddr) { in dump_info_from_blkaddr()393 } else if (blk_addr < SM_I(sbi)->ssa_blkaddr) { in dump_info_from_blkaddr()396 } else if (blk_addr < SM_I(sbi)->main_blkaddr) { in dump_info_from_blkaddr()406 SM_I(sbi)->main_blkaddr, in dump_info_from_blkaddr()
166 opt->end_sit = SM_I(sbi)->main_segments; in do_dump()168 opt->end_ssa = SM_I(sbi)->main_segments; in do_dump()
521 SM_I(sbi)->sit_info = sit_i; in build_sit_info()706 SM_I(sbi)->curseg_array = array; in build_curseg()732 unsigned int end_segno = SM_I(sbi)->segment_count - 1; in check_seg_range()776 struct f2fs_sm_info *sm_info = SM_I(sbi); in check_block_count()993 struct f2fs_sm_info *sm_i = SM_I(sbi); in build_sit_area_bitmap()1301 struct f2fs_sm_info *sm_i = SM_I(sbi); in f2fs_do_umount()
941 struct f2fs_sm_info *sm_i = SM_I(sbi); in fsck_init()