Home
last modified time | relevance | path

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

/third_party/f2fs-tools/fsck/
H A Dmount.c1817 struct sit_info *sit_i; in build_sit_info() local
1824 sit_i = malloc(sizeof(struct sit_info)); in build_sit_info()
1825 if (!sit_i) { in build_sit_info()
1830 SM_I(sbi)->sit_info = sit_i; in build_sit_info()
1832 sit_i->sentries = calloc(MAIN_SEGS(sbi) * sizeof(struct seg_entry), 1); in build_sit_info()
1833 if (!sit_i->sentries) { in build_sit_info()
1843 sit_i->bitmap = calloc(bitmap_size, 1); in build_sit_info()
1844 if (!sit_i->bitmap) { in build_sit_info()
1849 bitmap = sit_i->bitmap; in build_sit_info()
1852 sit_i in build_sit_info()
2132 struct sit_info *sit_i = SIT_I(sbi); current_sit_addr() local
2216 struct sit_info *sit_i = SIT_I(sbi); get_seg_entry() local
2442 struct sit_info *sit_i = SIT_I(sbi); build_sit_entries() local
2601 struct sit_info *sit_i = SIT_I(sbi); rewrite_sit_area_bitmap() local
2652 struct sit_info *sit_i = SIT_I(sbi); flush_sit_journal_entries() local
2730 struct sit_info *sit_i = SIT_I(sbi); flush_sit_entries() local
3804 struct sit_info *sit_i = SIT_I(sbi); f2fs_do_umount() local
[all...]
H A Df2fs.h511 #define SIT_ENTRY_OFFSET(sit_i, segno) \
512 ((segno) % sit_i->sents_per_block)
513 #define SIT_BLOCK_OFFSET(sit_i, segno) \
H A Dresize.c396 struct sit_info *sit_i = SIT_I(sbi); in migrate_sit() local
424 ofs = SIT_BLOCK_OFFSET(sit_i, segno - offset); in migrate_sit()
436 sit = &sit_blk->entries[SIT_ENTRY_OFFSET(sit_i, segno - offset)]; in migrate_sit()
H A Ddump.c113 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()
H A Dfsck.c2268 struct sit_info *sit_i = SIT_I(sbi); in flush_curseg_sit_entries() local
2284 sit = &sit_blk->entries[SIT_ENTRY_OFFSET(sit_i, curseg->segno)]; in flush_curseg_sit_entries()
2297 struct sit_info *sit_i = SIT_I(sbi); in fix_checksum() local
2307 sit_i->sit_bitmap, sit_i->bitmap_size); in fix_checksum()

Completed in 16 milliseconds