Lines Matching refs:root_backup

1826 	struct btrfs_root_backup *root_backup;  in find_newest_super_backup()  local
1830 root_backup = info->super_copy->super_roots + i; in find_newest_super_backup()
1831 cur = btrfs_backup_tree_root_gen(root_backup); in find_newest_super_backup()
1838 root_backup = info->super_copy->super_roots; in find_newest_super_backup()
1839 cur = btrfs_backup_tree_root_gen(root_backup); in find_newest_super_backup()
1874 struct btrfs_root_backup *root_backup; in backup_super_roots() local
1885 root_backup = info->super_for_commit->super_roots + last_backup; in backup_super_roots()
1886 if (btrfs_backup_tree_root_gen(root_backup) == in backup_super_roots()
1890 root_backup = info->super_for_commit->super_roots + next_backup; in backup_super_roots()
1896 memset(root_backup, 0, sizeof(*root_backup)); in backup_super_roots()
1900 btrfs_set_backup_tree_root(root_backup, info->tree_root->node->start); in backup_super_roots()
1901 btrfs_set_backup_tree_root_gen(root_backup, in backup_super_roots()
1904 btrfs_set_backup_tree_root_level(root_backup, in backup_super_roots()
1907 btrfs_set_backup_chunk_root(root_backup, info->chunk_root->node->start); in backup_super_roots()
1908 btrfs_set_backup_chunk_root_gen(root_backup, in backup_super_roots()
1910 btrfs_set_backup_chunk_root_level(root_backup, in backup_super_roots()
1913 btrfs_set_backup_extent_root(root_backup, info->extent_root->node->start); in backup_super_roots()
1914 btrfs_set_backup_extent_root_gen(root_backup, in backup_super_roots()
1916 btrfs_set_backup_extent_root_level(root_backup, in backup_super_roots()
1924 btrfs_set_backup_fs_root(root_backup, in backup_super_roots()
1926 btrfs_set_backup_fs_root_gen(root_backup, in backup_super_roots()
1928 btrfs_set_backup_fs_root_level(root_backup, in backup_super_roots()
1932 btrfs_set_backup_dev_root(root_backup, info->dev_root->node->start); in backup_super_roots()
1933 btrfs_set_backup_dev_root_gen(root_backup, in backup_super_roots()
1935 btrfs_set_backup_dev_root_level(root_backup, in backup_super_roots()
1938 btrfs_set_backup_csum_root(root_backup, info->csum_root->node->start); in backup_super_roots()
1939 btrfs_set_backup_csum_root_gen(root_backup, in backup_super_roots()
1941 btrfs_set_backup_csum_root_level(root_backup, in backup_super_roots()
1944 btrfs_set_backup_total_bytes(root_backup, in backup_super_roots()
1946 btrfs_set_backup_bytes_used(root_backup, in backup_super_roots()
1948 btrfs_set_backup_num_devices(root_backup, in backup_super_roots()
1957 sizeof(*root_backup) * BTRFS_NUM_BACKUP_ROOTS); in backup_super_roots()
1972 struct btrfs_root_backup *root_backup; in next_root_backup() local
1994 root_backup = super->super_roots + newest; in next_root_backup()
1997 btrfs_backup_tree_root_gen(root_backup)); in next_root_backup()
1998 btrfs_set_super_root(super, btrfs_backup_tree_root(root_backup)); in next_root_backup()
2000 btrfs_backup_tree_root_level(root_backup)); in next_root_backup()
2001 btrfs_set_super_bytes_used(super, btrfs_backup_bytes_used(root_backup)); in next_root_backup()
2007 btrfs_set_super_total_bytes(super, btrfs_backup_total_bytes(root_backup)); in next_root_backup()
2008 btrfs_set_super_num_devices(super, btrfs_backup_num_devices(root_backup)); in next_root_backup()