Searched refs:SM_I (Results 1 – 7 of 7) sorted by relevance
220 static inline struct f2fs_sm_info *SM_I(struct f2fs_sb_info *sbi) in SM_I() function227 return (struct sit_info *)(SM_I(sbi)->sit_info); in SIT_I()294 block_t end = SM_I(sbi)->main_blkaddr; in __end_block_addr()313 ((blk_addr) - SM_I(sbi)->seg0_blkaddr)322 GET_SEGNO_FROM_SEG0(sbi, SM_I(sbi)->main_blkaddr)325 #define START_BLOCK(sbi, segno) (SM_I(sbi)->main_blkaddr + \330 return (struct curseg_info *)(SM_I(sbi)->curseg_array + type); in CURSEG_I()356 #define TOTAL_SEGS(sbi) (SM_I(sbi)->main_segments)368 addr < SM_I(sbi)->main_blkaddr) { in IS_VALID_BLK_ADDR()394 ASSERT(blk_addr >= SM_I(sbi)->main_blkaddr); in BLKOFF_FROM_MAIN()[all …]
582 opt->end_sit = SM_I(sbi)->main_segments; in do_dump()584 opt->end_ssa = SM_I(sbi)->main_segments; in do_dump()606 if (c.defrag_start < SM_I(sbi)->main_blkaddr) in do_defrag()607 c.defrag_start = SM_I(sbi)->main_blkaddr; in do_defrag()621 if (c.defrag_target < SM_I(sbi)->main_blkaddr || in do_defrag()
185 SM_I(sbi)->main_segments - free_segs, in sit_dump()595 if (blk_addr < SM_I(sbi)->seg0_blkaddr) { in dump_info_from_blkaddr()604 } else if (blk_addr < SM_I(sbi)->ssa_blkaddr) { in dump_info_from_blkaddr()607 } else if (blk_addr < SM_I(sbi)->main_blkaddr) { in dump_info_from_blkaddr()617 SM_I(sbi)->main_blkaddr, in dump_info_from_blkaddr()
1104 SM_I(sbi)->sit_info = sit_i; in build_sit_info()1316 SM_I(sbi)->curseg_array = array; in build_curseg()1343 unsigned int end_segno = SM_I(sbi)->segment_count - 1; in check_seg_range()1389 struct f2fs_sm_info *sm_info = SM_I(sbi); in check_block_count()1689 struct f2fs_sm_info *sm_i = SM_I(sbi); in build_sit_area_bitmap()1902 if (get_free_segments(sbi) <= SM_I(sbi)->reserved_segments + 1) in find_next_free_block()1905 while (*to >= SM_I(sbi)->main_blkaddr && *to < end_blkaddr) { in find_next_free_block()2415 struct f2fs_sm_info *sm_i = SM_I(sbi); in f2fs_do_umount()
321 move_curseg_info(sbi, SM_I(sbi)->main_blkaddr); in f2fs_sload()
35 blkaddr = SM_I(sbi)->main_blkaddr; in reserve_new_block()
1825 struct f2fs_sm_info *sm_i = SM_I(sbi); in fsck_init()2181 move_curseg_info(sbi, SM_I(sbi)->main_blkaddr); in fsck_verify()