Home
last modified time | relevance | path

Searched refs:sit_i (Results 1 – 5 of 5) sorted by relevance

/external/f2fs-tools/fsck/
Dmount.c898 struct sit_info *sit_i; in build_sit_info() local
903 sit_i = malloc(sizeof(struct sit_info)); in build_sit_info()
904 if (!sit_i) in build_sit_info()
907 SM_I(sbi)->sit_info = sit_i; in build_sit_info()
909 sit_i->sentries = calloc(TOTAL_SEGS(sbi) * sizeof(struct seg_entry), 1); in build_sit_info()
910 if (!sit_i->sentries) in build_sit_info()
914 sit_i->sentries[start].cur_valid_map in build_sit_info()
916 sit_i->sentries[start].ckpt_valid_map in build_sit_info()
918 if (!sit_i->sentries[start].cur_valid_map in build_sit_info()
919 || !sit_i->sentries[start].ckpt_valid_map) in build_sit_info()
[all …]
Df2fs.h353 #define SIT_ENTRY_OFFSET(sit_i, segno) \ argument
354 ((segno) % sit_i->sents_per_block)
355 #define SIT_BLOCK_OFFSET(sit_i, segno) \ argument
Ddump.c122 struct sit_info *sit_i = SIT_I(sbi); in sit_dump() local
141 offset = SIT_BLOCK_OFFSET(sit_i, segno); in sit_dump()
146 f2fs_test_bit(offset, sit_i->sit_bitmap) ? 2 : 1); in sit_dump()
Dresize.c359 struct sit_info *sit_i = SIT_I(sbi); in migrate_sit() local
387 ofs = SIT_BLOCK_OFFSET(sit_i, segno - offset); in migrate_sit()
399 sit = &sit_blk->entries[SIT_ENTRY_OFFSET(sit_i, segno - offset)]; in migrate_sit()
Dfsck.c1716 struct sit_info *sit_i = SIT_I(sbi); in flush_curseg_sit_entries() local
1730 sit = &sit_blk->entries[SIT_ENTRY_OFFSET(sit_i, curseg->segno)]; in flush_curseg_sit_entries()