Lines Matching refs:SM_I
315 static inline struct f2fs_sm_info *SM_I(struct f2fs_sb_info *sbi) in SM_I() function
322 return (struct sit_info *)(SM_I(sbi)->sit_info); in SIT_I()
419 block_t end = SM_I(sbi)->main_blkaddr; in __end_block_addr()
435 (SM_I(sbi) ? SM_I(sbi)->main_blkaddr : \
438 (SM_I(sbi) ? SM_I(sbi)->seg0_blkaddr : \
445 ((blk_addr) - SM_I(sbi)->seg0_blkaddr)
459 GET_SEGNO_FROM_SEG0(sbi, SM_I(sbi)->main_blkaddr)
462 #define MAIN_SEGS(sbi) (SM_I(sbi)->main_segments)
466 #define START_BLOCK(sbi, segno) (SM_I(sbi)->main_blkaddr + \
477 return (struct curseg_info *)(SM_I(sbi)->curseg_array + type); in CURSEG_I()
511 #define TOTAL_SEGS(sbi) (SM_I(sbi)->main_segments)
526 addr < SM_I(sbi)->main_blkaddr) { in IS_VALID_BLK_ADDR()
557 ASSERT(blk_addr >= SM_I(sbi)->main_blkaddr); in BLKOFF_FROM_MAIN()
558 return blk_addr - SM_I(sbi)->main_blkaddr; in BLKOFF_FROM_MAIN()