Home
last modified time | relevance | path

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

/external/qemu/distrib/ext4_utils/src/
Dext4_utils.c119 aux_info.backup_sb = calloc(aux_info.groups, sizeof(char *)); in ext4_create_fs_aux_info()
135 if (aux_info.backup_sb[i]) in ext4_free_fs_aux_info()
136 free(aux_info.backup_sb[i]); in ext4_free_fs_aux_info()
225 aux_info.backup_sb[i] = calloc(info.block_size, 1); in ext4_fill_in_sb()
226 memcpy(aux_info.backup_sb[i], sb, info.block_size); in ext4_fill_in_sb()
228 aux_info.backup_sb[i]->s_block_group_nr = i; in ext4_fill_in_sb()
229 sparse_file_add_data(ext4_sparse_file, aux_info.backup_sb[i], in ext4_fill_in_sb()
Dext4_utils.h102 struct ext4_super_block **backup_sb; member
/external/e2fsprogs/e2fsck/
Dsuper.c906 struct ext2_super_block *backup_sb; in check_backup_super_block() local
932 backup_sb = (struct ext2_super_block *) buf; in check_backup_super_block()
934 ext2fs_swap_super(backup_sb); in check_backup_super_block()
936 if ((backup_sb->s_magic != EXT2_SUPER_MAGIC) || in check_backup_super_block()
937 (backup_sb->s_rev_level > EXT2_LIB_CURRENT_REV) || in check_backup_super_block()
938 ((backup_sb->s_log_block_size + EXT2_MIN_BLOCK_LOG_SIZE) > in check_backup_super_block()
940 (EXT2_INODE_SIZE(backup_sb) < EXT2_GOOD_OLD_INODE_SIZE)) in check_backup_super_block()
945 (backup_sb->x & ~FEATURE_INCOMPAT_IGNORE)) in check_backup_super_block()
948 (backup_sb->x & ~FEATURE_RO_COMPAT_IGNORE)) in check_backup_super_block()
950 (fs->super->x != backup_sb->x) in check_backup_super_block()
[all …]