Searched refs:sit_i (Results 1 – 5 of 5) sorted by relevance
/third_party/f2fs-tools/fsck/ |
D | mount.c | 1672 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 …]
|
D | f2fs.h | 493 #define SIT_ENTRY_OFFSET(sit_i, segno) \ argument 494 ((segno) % sit_i->sents_per_block) 495 #define SIT_BLOCK_OFFSET(sit_i, segno) \ argument
|
D | dump.c | 110 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()
|
D | resize.c | 393 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()
|
D | fsck.c | 2091 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()
|