Searched refs:sit_i (Results 1 – 5 of 5) sorted by relevance
/third_party/f2fs-tools/fsck/ |
D | mount.c | 1760 struct sit_info *sit_i; in build_sit_info() local 1767 sit_i = malloc(sizeof(struct sit_info)); in build_sit_info() 1768 if (!sit_i) { in build_sit_info() 1773 SM_I(sbi)->sit_info = sit_i; in build_sit_info() 1775 sit_i->sentries = calloc(TOTAL_SEGS(sbi) * sizeof(struct seg_entry), 1); in build_sit_info() 1776 if (!sit_i->sentries) { in build_sit_info() 1786 sit_i->bitmap = calloc(bitmap_size, 1); in build_sit_info() 1787 if (!sit_i->bitmap) { in build_sit_info() 1792 bitmap = sit_i->bitmap; in build_sit_info() 1795 sit_i->sentries[start].cur_valid_map = bitmap; in build_sit_info() [all …]
|
D | f2fs.h | 507 #define SIT_ENTRY_OFFSET(sit_i, segno) \ argument 508 ((segno) % sit_i->sents_per_block) 509 #define SIT_BLOCK_OFFSET(sit_i, segno) \ argument
|
D | resize.c | 394 struct sit_info *sit_i = SIT_I(sbi); in migrate_sit() local 422 ofs = SIT_BLOCK_OFFSET(sit_i, segno - offset); in migrate_sit() 434 sit = &sit_blk->entries[SIT_ENTRY_OFFSET(sit_i, segno - offset)]; in migrate_sit()
|
D | dump.c | 113 struct sit_info *sit_i = SIT_I(sbi); in sit_dump() local 132 offset = SIT_BLOCK_OFFSET(sit_i, segno); in sit_dump() 137 f2fs_test_bit(offset, sit_i->sit_bitmap) ? 2 : 1); in sit_dump()
|
D | fsck.c | 2263 struct sit_info *sit_i = SIT_I(sbi); in flush_curseg_sit_entries() local 2279 sit = &sit_blk->entries[SIT_ENTRY_OFFSET(sit_i, curseg->segno)]; in flush_curseg_sit_entries() 2292 struct sit_info *sit_i = SIT_I(sbi); in fix_checksum() local 2302 sit_i->sit_bitmap, sit_i->bitmap_size); in fix_checksum()
|