Home
last modified time | relevance | path

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

/third_party/f2fs-tools/fsck/
Dmount.c946 if (!(sbi->raw_super->feature & cpu_to_le32(feature))) { in check_and_set_one_feature()
947 sbi->raw_super->feature |= cpu_to_le32(feature); in check_and_set_one_feature()
968 struct f2fs_super_block *sb = sbi->raw_super; in check_and_set_features()
977 update_superblock(sbi->raw_super, SB_MASK(sb_addr)); in check_and_set_features()
987 sbi->raw_super = malloc(sizeof(struct f2fs_super_block)); in validate_super_block()
988 if (!sbi->raw_super) in validate_super_block()
994 memcpy(sbi->raw_super, buf + F2FS_SUPER_OFFSET, in validate_super_block()
997 if (!sanity_check_raw_super(sbi->raw_super, sb_addr)) { in validate_super_block()
1008 memcpy(c.sb_version, sbi->raw_super->version, VERSION_NAME_LEN); in validate_super_block()
1010 memcpy(c.init_version, sbi->raw_super->init_version, in validate_super_block()
[all …]
Dmain.c1023 if (!(sbi->raw_super->feature in init_compr()
1251 if (sbi->raw_super) in main()
1252 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()