Home
last modified time | relevance | path

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

/external/f2fs-tools/fsck/
Dmount.c512 struct sit_info *sit_i; in build_sit_info() local
517 sit_i = malloc(sizeof(struct sit_info)); in build_sit_info()
518 if (!sit_i) in build_sit_info()
521 SM_I(sbi)->sit_info = sit_i; in build_sit_info()
523 sit_i->sentries = calloc(TOTAL_SEGS(sbi) * sizeof(struct seg_entry), 1); in build_sit_info()
526 sit_i->sentries[start].cur_valid_map in build_sit_info()
528 sit_i->sentries[start].ckpt_valid_map in build_sit_info()
530 if (!sit_i->sentries[start].cur_valid_map in build_sit_info()
531 || !sit_i->sentries[start].ckpt_valid_map) in build_sit_info()
542 sit_i->sit_base_addr = le32_to_cpu(raw_sb->sit_blkaddr); in build_sit_info()
[all …]
Df2fs.h325 #define SIT_ENTRY_OFFSET(sit_i, segno) \ argument
326 (segno % sit_i->sents_per_block)
327 #define SIT_BLOCK_OFFSET(sit_i, segno) \ argument