Searched refs:subvol_root (Results 1 – 2 of 2) sorted by relevance
265 struct btrfs_root *subvol_root; in btrfs_check_uuid_tree_entry() local271 subvol_root = btrfs_get_fs_root(fs_info, subvolid, true); in btrfs_check_uuid_tree_entry()272 if (IS_ERR(subvol_root)) { in btrfs_check_uuid_tree_entry()273 ret = PTR_ERR(subvol_root); in btrfs_check_uuid_tree_entry()281 if (memcmp(uuid, subvol_root->root_item.uuid, BTRFS_UUID_SIZE)) in btrfs_check_uuid_tree_entry()285 if (memcmp(uuid, subvol_root->root_item.received_uuid, in btrfs_check_uuid_tree_entry()290 btrfs_put_root(subvol_root); in btrfs_check_uuid_tree_entry()
4739 int btrfs_qgroup_add_swapped_blocks(struct btrfs_root *subvol_root, in btrfs_qgroup_add_swapped_blocks() argument4745 struct btrfs_fs_info *fs_info = subvol_root->fs_info; in btrfs_qgroup_add_swapped_blocks()4746 struct btrfs_qgroup_swapped_blocks *blocks = &subvol_root->swapped_blocks; in btrfs_qgroup_add_swapped_blocks()