Home
last modified time | relevance | path

Searched refs:SM_I (Results 1 – 7 of 7) sorted by relevance

/external/f2fs-tools/fsck/
Df2fs.h220 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()
[all …]
Dmain.c649 opt->end_sit = SM_I(sbi)->main_segments; in do_dump()
651 opt->end_ssa = SM_I(sbi)->main_segments; in do_dump()
673 if (c.defrag_start < SM_I(sbi)->main_blkaddr) in do_defrag()
674 c.defrag_start = SM_I(sbi)->main_blkaddr; in do_defrag()
688 if (c.defrag_target < SM_I(sbi)->main_blkaddr || in do_defrag()
Ddump.c166 SM_I(sbi)->main_segments - free_segs, in sit_dump()
685 if (blk_addr < SM_I(sbi)->seg0_blkaddr) { in dump_info_from_blkaddr()
694 } else if (blk_addr < SM_I(sbi)->ssa_blkaddr) { in dump_info_from_blkaddr()
697 } else if (blk_addr < SM_I(sbi)->main_blkaddr) { in dump_info_from_blkaddr()
707 SM_I(sbi)->main_blkaddr, in dump_info_from_blkaddr()
Dmount.c1331 SM_I(sbi)->sit_info = sit_i; in build_sit_info()
1570 SM_I(sbi)->curseg_array = array; in build_curseg()
1609 unsigned int end_segno = SM_I(sbi)->segment_count - 1; in check_seg_range()
1650 struct f2fs_sm_info *sm_info = SM_I(sbi); in check_block_count()
1961 struct f2fs_sm_info *sm_i = SM_I(sbi); in build_sit_area_bitmap()
2176 if (get_free_segments(sbi) <= SM_I(sbi)->reserved_segments + 1) in find_next_free_block()
2179 while (*to >= SM_I(sbi)->main_blkaddr && *to < end_blkaddr) { in find_next_free_block()
2684 struct f2fs_sm_info *sm_i = SM_I(sbi); in f2fs_do_umount()
Dsload.c321 move_curseg_info(sbi, SM_I(sbi)->main_blkaddr, 0); in f2fs_sload()
Dsegment.c35 blkaddr = SM_I(sbi)->main_blkaddr; in reserve_new_block()
Dfsck.c1923 struct f2fs_sm_info *sm_i = SM_I(sbi); in fsck_init()
2715 move_curseg_info(sbi, SM_I(sbi)->main_blkaddr, 0); in fsck_verify()