Home
last modified time | relevance | path

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

/external/f2fs-tools/fsck/
Dmount.c951 sbi->raw_super = malloc(sizeof(struct f2fs_super_block)); in validate_super_block()
952 if (!sbi->raw_super) in validate_super_block()
958 memcpy(sbi->raw_super, buf + F2FS_SUPER_OFFSET, in validate_super_block()
961 if (!sanity_check_raw_super(sbi->raw_super, sb_addr)) { in validate_super_block()
971 memcpy(c.sb_version, sbi->raw_super->version, VERSION_LEN); in validate_super_block()
973 memcpy(c.init_version, sbi->raw_super->init_version, VERSION_LEN); in validate_super_block()
985 memcpy(sbi->raw_super->version, in validate_super_block()
987 update_superblock(sbi->raw_super, SB_MASK(sb_addr)); in validate_super_block()
989 print_sb_state(sbi->raw_super); in validate_super_block()
993 free(sbi->raw_super); in validate_super_block()
[all …]
Dmain.c991 if (!(sbi->raw_super->feature in init_compr()
1217 if (sbi->raw_super) in main()
1218 free(sbi->raw_super); in main()
Df2fs.h247 struct f2fs_super_block *raw_super; member
293 return (struct f2fs_super_block *)(sbi->raw_super); in F2FS_RAW_SUPER()
Ddir.c441 __u8 (*extlist)[F2FS_EXTENSION_LEN] = sbi->raw_super->extension_list; in set_file_temperature()
444 cold_count = le32_to_cpu(sbi->raw_super->extension_count); in set_file_temperature()
445 hot_count = sbi->raw_super->hot_ext_count; in set_file_temperature()