Searched refs:root_backup (Results 1 – 2 of 2) sorted by relevance
26 struct btrfs_root_backup *root_backup; in btrfs_check_super_roots() local31 root_backup = sb->super_roots + i; in btrfs_check_super_roots()33 if (root_backup->tree_root == 0 && root_backup->tree_root_gen == 0) in btrfs_check_super_roots()36 if (root_backup->tree_root_gen == sb->generation) in btrfs_check_super_roots()
1611 struct btrfs_root_backup *root_backup; in find_newest_super_backup() local1615 root_backup = info->super_copy->super_roots + i; in find_newest_super_backup()1616 cur = btrfs_backup_tree_root_gen(root_backup); in find_newest_super_backup()1632 struct btrfs_root_backup *root_backup; in backup_super_roots() local1634 root_backup = info->super_for_commit->super_roots + next_backup; in backup_super_roots()1640 memset(root_backup, 0, sizeof(*root_backup)); in backup_super_roots()1644 btrfs_set_backup_tree_root(root_backup, info->tree_root->node->start); in backup_super_roots()1645 btrfs_set_backup_tree_root_gen(root_backup, in backup_super_roots()1648 btrfs_set_backup_tree_root_level(root_backup, in backup_super_roots()1651 btrfs_set_backup_chunk_root(root_backup, info->chunk_root->node->start); in backup_super_roots()[all …]