Home
last modified time | relevance | path

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

/third_party/f2fs-tools/fsck/
Dmount.c949 sbi->raw_super = malloc(sizeof(struct f2fs_super_block)); in validate_super_block()
950 if (!sbi->raw_super) in validate_super_block()
956 memcpy(sbi->raw_super, buf + F2FS_SUPER_OFFSET, in validate_super_block()
959 if (!sanity_check_raw_super(sbi->raw_super, sb_addr)) { in validate_super_block()
969 memcpy(c.sb_version, sbi->raw_super->version, VERSION_NAME_LEN); in validate_super_block()
971 memcpy(c.init_version, sbi->raw_super->init_version, in validate_super_block()
983 memcpy(sbi->raw_super->version, in validate_super_block()
985 update_superblock(sbi->raw_super, SB_MASK(sb_addr)); in validate_super_block()
991 __le32 *ver_ts_ptr = (__le32 *)(sbi->raw_super->version in validate_super_block()
1012 memcpy(sbi->raw_super->version, in validate_super_block()
[all …]
Dmain.c1001 if (!(sbi->raw_super->feature in init_compr()
1229 if (sbi->raw_super) in main()
1230 free(sbi->raw_super); in main()
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()
Df2fs.h251 struct f2fs_super_block *raw_super; member
297 return (struct f2fs_super_block *)(sbi->raw_super); in F2FS_RAW_SUPER()