Home
last modified time | relevance | path

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

/third_party/f2fs-tools/fsck/
Dmount.c939 sbi->raw_super = malloc(sizeof(struct f2fs_super_block)); in validate_super_block()
940 if (!sbi->raw_super) in validate_super_block()
946 memcpy(sbi->raw_super, buf + F2FS_SUPER_OFFSET, in validate_super_block()
949 if (!sanity_check_raw_super(sbi->raw_super, sb_addr)) { in validate_super_block()
959 memcpy(c.sb_version, sbi->raw_super->version, VERSION_LEN); in validate_super_block()
961 memcpy(c.init_version, sbi->raw_super->init_version, VERSION_LEN); in validate_super_block()
969 memcpy(sbi->raw_super->version, in validate_super_block()
971 update_superblock(sbi->raw_super, SB_MASK(sb_addr)); in validate_super_block()
976 print_sb_state(sbi->raw_super); in validate_super_block()
980 free(sbi->raw_super); in validate_super_block()
[all …]
Ddir.c440 __u8 (*extlist)[F2FS_EXTENSION_LEN] = sbi->raw_super->extension_list; in set_file_temperature()
443 cold_count = le32_to_cpu(sbi->raw_super->extension_count); in set_file_temperature()
444 hot_count = sbi->raw_super->hot_ext_count; in set_file_temperature()
Df2fs.h240 struct f2fs_super_block *raw_super; member
283 return (struct f2fs_super_block *)(sbi->raw_super); in F2FS_RAW_SUPER()
Dmain.c962 if (sbi->raw_super) in main()
963 free(sbi->raw_super); in main()