Home
last modified time | relevance | path

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

/third_party/f2fs-tools/fsck/
Dmount.c1672 struct sit_info *sit_i; in build_sit_info() local
1679 sit_i = malloc(sizeof(struct sit_info)); in build_sit_info()
1680 if (!sit_i) { in build_sit_info()
1685 SM_I(sbi)->sit_info = sit_i; in build_sit_info()
1687 sit_i->sentries = calloc(TOTAL_SEGS(sbi) * sizeof(struct seg_entry), 1); in build_sit_info()
1688 if (!sit_i->sentries) { in build_sit_info()
1698 sit_i->bitmap = calloc(bitmap_size, 1); in build_sit_info()
1699 if (!sit_i->bitmap) { in build_sit_info()
1704 bitmap = sit_i->bitmap; in build_sit_info()
1707 sit_i->sentries[start].cur_valid_map = bitmap; in build_sit_info()
[all …]
Df2fs.h493 #define SIT_ENTRY_OFFSET(sit_i, segno) \ argument
494 ((segno) % sit_i->sents_per_block)
495 #define SIT_BLOCK_OFFSET(sit_i, segno) \ argument
Ddump.c110 struct sit_info *sit_i = SIT_I(sbi); in sit_dump() local
129 offset = SIT_BLOCK_OFFSET(sit_i, segno); in sit_dump()
134 f2fs_test_bit(offset, sit_i->sit_bitmap) ? 2 : 1); in sit_dump()
Dresize.c393 struct sit_info *sit_i = SIT_I(sbi); in migrate_sit() local
421 ofs = SIT_BLOCK_OFFSET(sit_i, segno - offset); in migrate_sit()
433 sit = &sit_blk->entries[SIT_ENTRY_OFFSET(sit_i, segno - offset)]; in migrate_sit()
Dfsck.c2091 struct sit_info *sit_i = SIT_I(sbi); in flush_curseg_sit_entries() local
2107 sit = &sit_blk->entries[SIT_ENTRY_OFFSET(sit_i, curseg->segno)]; in flush_curseg_sit_entries()
2120 struct sit_info *sit_i = SIT_I(sbi); in fix_checksum() local
2130 sit_i->sit_bitmap, sit_i->bitmap_size); in fix_checksum()