Searched refs:subvol_root (Results 1 – 4 of 4) sorted by relevance
/linux/fs/btrfs/ |
H A D | uuid-tree.c | 262 struct btrfs_root *subvol_root; in btrfs_check_uuid_tree_entry() local 268 subvol_root = btrfs_get_fs_root(fs_info, subvolid, true); in btrfs_check_uuid_tree_entry() 269 if (IS_ERR(subvol_root)) { in btrfs_check_uuid_tree_entry() 270 ret = PTR_ERR(subvol_root); in btrfs_check_uuid_tree_entry() 278 if (memcmp(uuid, subvol_root->root_item.uuid, BTRFS_UUID_SIZE)) in btrfs_check_uuid_tree_entry() 282 if (memcmp(uuid, subvol_root->root_item.received_uuid, in btrfs_check_uuid_tree_entry() 287 btrfs_put_root(subvol_root); in btrfs_check_uuid_tree_entry()
|
H A D | qgroup.h | 442 int btrfs_qgroup_add_swapped_blocks(struct btrfs_root *subvol_root,
|
H A D | qgroup.c | 4685 int btrfs_qgroup_add_swapped_blocks(struct btrfs_root *subvol_root, in btrfs_qgroup_add_swapped_blocks() argument 4691 struct btrfs_fs_info *fs_info = subvol_root->fs_info; in btrfs_qgroup_add_swapped_blocks() 4692 struct btrfs_qgroup_swapped_blocks *blocks = &subvol_root->swapped_blocks; in btrfs_qgroup_add_swapped_blocks()
|
/linux/fs/bcachefs/ |
H A D | fsck.c | 2182 struct bch_inode_unpacked subvol_root; in check_dirent_to_subvol() local 2272 ret = lookup_inode(trans, target_inum, target_snapshot, &subvol_root); in check_dirent_to_subvol() 2282 if (fsck_err_on(!ret && parent_subvol != subvol_root.bi_parent_subvol, in check_dirent_to_subvol() 2286 subvol_root.bi_parent_subvol, parent_subvol)) { in check_dirent_to_subvol() 2287 subvol_root.bi_parent_subvol = parent_subvol; in check_dirent_to_subvol() 2288 subvol_root.bi_snapshot = le32_to_cpu(s.v->snapshot); in check_dirent_to_subvol() 2289 ret = __bch2_fsck_write_inode(trans, &subvol_root); in check_dirent_to_subvol() 2294 ret = check_dirent_target(trans, iter, d, &subvol_root); in check_dirent_to_subvol() 2614 struct bch_inode_unpacked subvol_root; in check_subvol_path() local 2617 &subvol_root); in check_subvol_path()
|