Lines Matching refs:SM_I
220 static inline struct f2fs_sm_info *SM_I(struct f2fs_sb_info *sbi) in SM_I() function
227 return (struct sit_info *)(SM_I(sbi)->sit_info); in SIT_I()
306 block_t end = SM_I(sbi)->main_blkaddr; in __end_block_addr()
325 ((blk_addr) - SM_I(sbi)->seg0_blkaddr)
334 GET_SEGNO_FROM_SEG0(sbi, SM_I(sbi)->main_blkaddr)
337 #define START_BLOCK(sbi, segno) (SM_I(sbi)->main_blkaddr + \
342 return (struct curseg_info *)(SM_I(sbi)->curseg_array + type); in CURSEG_I()
368 #define TOTAL_SEGS(sbi) (SM_I(sbi)->main_segments)
383 addr < SM_I(sbi)->main_blkaddr) { in IS_VALID_BLK_ADDR()
406 ASSERT(blk_addr >= SM_I(sbi)->main_blkaddr); in BLKOFF_FROM_MAIN()
407 return blk_addr - SM_I(sbi)->main_blkaddr; in BLKOFF_FROM_MAIN()