Searched refs:subvol_root (Results 1 - 4 of 4) sorted by relevance

/linux-master/fs/btrfs/
H A Duuid-tree.c262 struct btrfs_root *subvol_root; local
268 subvol_root = btrfs_get_fs_root(fs_info, subvolid, true);
269 if (IS_ERR(subvol_root)) {
270 ret = PTR_ERR(subvol_root);
278 if (memcmp(uuid, subvol_root->root_item.uuid, BTRFS_UUID_SIZE))
282 if (memcmp(uuid, subvol_root->root_item.received_uuid,
287 btrfs_put_root(subvol_root);
H A Dqgroup.h426 struct btrfs_root *subvol_root,
H A Dqgroup.c4576 * Add subtree roots record into @subvol_root.
4578 * @subvol_root: tree root of the subvolume tree get swapped
4586 struct btrfs_root *subvol_root,
4592 struct btrfs_fs_info *fs_info = subvol_root->fs_info;
4593 struct btrfs_qgroup_swapped_blocks *blocks = &subvol_root->swapped_blocks;
4585 btrfs_qgroup_add_swapped_blocks(struct btrfs_trans_handle *trans, 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) argument
/linux-master/fs/bcachefs/
H A Dfsck.c1922 struct bch_inode_unpacked subvol_root; local
2011 ret = lookup_inode(trans, target_inum, &subvol_root, &target_snapshot);
2022 if (fsck_err_on(!ret && parent_subvol != subvol_root.bi_parent_subvol,
2026 subvol_root.bi_parent_subvol, parent_subvol)) {
2027 subvol_root.bi_parent_subvol = parent_subvol;
2028 ret = __bch2_fsck_write_inode(trans, &subvol_root, target_snapshot);
2033 ret = check_dirent_target(trans, iter, d, &subvol_root,

Completed in 147 milliseconds