Home
last modified time | relevance | path

Searched refs:raw_super (Results 1 – 3 of 3) sorted by relevance

/external/f2fs-tools/fsck/
Dmount.c666 sbi->raw_super = malloc(sizeof(struct f2fs_super_block)); in validate_super_block()
667 if (!sbi->raw_super) in validate_super_block()
673 memcpy(sbi->raw_super, buf + F2FS_SUPER_OFFSET, in validate_super_block()
676 if (!sanity_check_raw_super(sbi->raw_super, sb_addr)) { in validate_super_block()
686 memcpy(c.sb_version, sbi->raw_super->version, VERSION_LEN); in validate_super_block()
688 memcpy(c.init_version, sbi->raw_super->init_version, VERSION_LEN); in validate_super_block()
695 memcpy(sbi->raw_super->version, in validate_super_block()
697 update_superblock(sbi->raw_super, SB_MASK(sb_addr)); in validate_super_block()
702 print_sb_state(sbi->raw_super); in validate_super_block()
706 free(sbi->raw_super); in validate_super_block()
[all …]
Df2fs.h164 struct f2fs_super_block *raw_super; member
202 return (struct f2fs_super_block *)(sbi->raw_super); in F2FS_RAW_SUPER()
Dmain.c852 if (sbi->raw_super) in main()
853 free(sbi->raw_super); in main()