Searched refs:subvol_root (Results 1 – 2 of 2) sorted by relevance
| /linux/fs/btrfs/ |
| H A D | uuid-tree.c | 265 struct btrfs_root *subvol_root; in btrfs_check_uuid_tree_entry() local 271 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()
|
| H A D | qgroup.c | 4748 * Add subtree roots record into @subvol_root. in qgroup_swapped_block_bytenr_cmp() 4750 * @subvol_root: tree root of the subvolume tree get swapped 4757 int btrfs_qgroup_add_swapped_blocks(struct btrfs_root *subvol_root, 4763 struct btrfs_fs_info *fs_info = subvol_root->fs_info; in btrfs_qgroup_add_swapped_blocks() 4764 struct btrfs_qgroup_swapped_blocks *blocks = &subvol_root->swapped_blocks; in btrfs_qgroup_add_swapped_blocks() 4761 btrfs_qgroup_add_swapped_blocks(struct btrfs_root * subvol_root,struct btrfs_block_group * bg,struct extent_buffer * subvol_parent,int subvol_slot,struct extent_buffer * reloc_parent,int reloc_slot,u64 last_snapshot) btrfs_qgroup_add_swapped_blocks() argument
|