Home
last modified time | relevance | path

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

/external/f2fs-tools/fsck/
Dmount.c374 struct f2fs_super_block *raw_sb = sbi->raw_super; in get_valid_checkpoint() local
389 cp_start_blk_no = le32_to_cpu(raw_sb->cp_blkaddr); in get_valid_checkpoint()
393 cp_start_blk_no += 1 << le32_to_cpu(raw_sb->log_blocks_per_seg); in get_valid_checkpoint()
422 cp_blk_no = le32_to_cpu(raw_sb->cp_blkaddr); in get_valid_checkpoint()
425 le32_to_cpu(raw_sb->log_blocks_per_seg); in get_valid_checkpoint()
510 struct f2fs_super_block *raw_sb = F2FS_RAW_SUPER(sbi); in build_sit_info() local
535 sit_segs = le32_to_cpu(raw_sb->segment_count_sit) >> 1; in build_sit_info()
542 sit_i->sit_base_addr = le32_to_cpu(raw_sb->sit_blkaddr); in build_sit_info()
1158 struct f2fs_super_block *raw_sb = F2FS_RAW_SUPER(sbi); in build_nat_area_bitmap() local
1172 nr_nat_blks = (le32_to_cpu(raw_sb->segment_count_nat) / 2) << in build_nat_area_bitmap()
Dfsck.c978 struct f2fs_super_block *raw_sb = sbi->raw_super; in fix_checkpoint() local
987 cpu_to_le32(8 + le32_to_cpu(raw_sb->cp_payload)); in fix_checkpoint()
989 le32_to_cpu(raw_sb->cp_payload)); in fix_checkpoint()
1000 cp_blk_no = le32_to_cpu(raw_sb->cp_blkaddr); in fix_checkpoint()
1002 cp_blk_no += 1 << le32_to_cpu(raw_sb->log_blocks_per_seg); in fix_checkpoint()
1007 for (i = 0; i < le32_to_cpu(raw_sb->cp_payload); i++) { in fix_checkpoint()