Home
last modified time | relevance | path

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

/linux-6.15/fs/btrfs/
H A Duuid-tree.c262 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 Dqgroup.h445 int btrfs_qgroup_add_swapped_blocks(struct btrfs_root *subvol_root,
H A Dqgroup.c4685 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-6.15/fs/bcachefs/
H A Dfsck.c2009 struct bch_inode_unpacked subvol_root; in check_dirent_to_subvol() local
2099 ret = lookup_inode(trans, target_inum, target_snapshot, &subvol_root); in check_dirent_to_subvol()
2109 if (fsck_err_on(!ret && parent_subvol != subvol_root.bi_parent_subvol, in check_dirent_to_subvol()
2113 subvol_root.bi_parent_subvol, parent_subvol)) { in check_dirent_to_subvol()
2114 subvol_root.bi_parent_subvol = parent_subvol; in check_dirent_to_subvol()
2115 subvol_root.bi_snapshot = le32_to_cpu(s.v->snapshot); in check_dirent_to_subvol()
2116 ret = __bch2_fsck_write_inode(trans, &subvol_root); in check_dirent_to_subvol()
2121 ret = bch2_check_dirent_target(trans, iter, d, &subvol_root, true); in check_dirent_to_subvol()
2476 struct bch_inode_unpacked subvol_root; in check_subvol_path() local
2479 &subvol_root); in check_subvol_path()