Lines Matching refs:super_copy
1610 kfree(fs_info->super_copy); in btrfs_free_fs_info()
1933 const u64 newest_gen = btrfs_super_generation(info->super_copy); in find_newest_super_backup()
1939 root_backup = info->super_copy->super_roots + i; in find_newest_super_backup()
2019 btrfs_super_total_bytes(info->super_copy)); in backup_super_roots()
2021 btrfs_super_bytes_used(info->super_copy)); in backup_super_roots()
2023 btrfs_super_num_devices(info->super_copy)); in backup_super_roots()
2029 memcpy(&info->super_copy->super_roots, in backup_super_roots()
2046 struct btrfs_super_block *super = fs_info->super_copy; in read_backup_root()
2354 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_replay_log()
2697 if (memcmp(fs_info->fs_devices->fsid, fs_info->super_copy->fsid, in btrfs_validate_super()
2701 fs_info->super_copy->fsid, fs_info->fs_devices->fsid); in btrfs_validate_super()
2707 fs_info->super_copy->metadata_uuid, BTRFS_FSID_SIZE)) { in btrfs_validate_super()
2710 fs_info->super_copy->metadata_uuid, in btrfs_validate_super()
2809 return btrfs_validate_super(fs_info, fs_info->super_copy, 0); in btrfs_validate_mount_super()
2872 struct btrfs_super_block *sb = fs_info->super_copy; in load_important_roots()
2890 struct btrfs_super_block *sb = fs_info->super_copy; in init_tree_roots()
3311 struct btrfs_super_block *disk_super = fs_info->super_copy; in btrfs_check_features()
3494 memcpy(fs_info->super_copy, disk_super, sizeof(*fs_info->super_copy)); in open_ctree()
3497 disk_super = fs_info->super_copy; in open_ctree()
3508 memcpy(fs_info->super_for_commit, fs_info->super_copy, in open_ctree()
4322 max_errors = btrfs_super_num_devices(fs_info->super_copy) - 1; in write_all_supers()