Home
last modified time | relevance | path

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

/external/f2fs-tools/fsck/
Dmount.c1320 struct sit_info *sit_i; in build_sit_info() local
1325 sit_i = malloc(sizeof(struct sit_info)); in build_sit_info()
1326 if (!sit_i) { in build_sit_info()
1331 SM_I(sbi)->sit_info = sit_i; in build_sit_info()
1333 sit_i->sentries = calloc(TOTAL_SEGS(sbi) * sizeof(struct seg_entry), 1); in build_sit_info()
1334 if (!sit_i->sentries) { in build_sit_info()
1340 sit_i->sentries[start].cur_valid_map in build_sit_info()
1342 if (!sit_i->sentries[start].cur_valid_map) { in build_sit_info()
1360 sit_i->sit_base_addr = get_sb(sit_blkaddr); in build_sit_info()
1361 sit_i->sit_blocks = sit_segs << sbi->log_blocks_per_seg; in build_sit_info()
[all …]
Df2fs.h364 #define SIT_ENTRY_OFFSET(sit_i, segno) \ argument
365 ((segno) % sit_i->sents_per_block)
366 #define SIT_BLOCK_OFFSET(sit_i, segno) \ argument
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()
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()
Dfsck.c1995 struct sit_info *sit_i = SIT_I(sbi); in flush_curseg_sit_entries() local
2011 sit = &sit_blk->entries[SIT_ENTRY_OFFSET(sit_i, curseg->segno)]; in flush_curseg_sit_entries()