Home
last modified time | relevance | path

Searched refs:uuid_root (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/fs/btrfs/
Duuid-tree.c22 static int btrfs_uuid_tree_lookup(struct btrfs_root *uuid_root, u8 *uuid, in btrfs_uuid_tree_lookup() argument
33 if (WARN_ON_ONCE(!uuid_root)) { in btrfs_uuid_tree_lookup()
45 ret = btrfs_search_slot(NULL, uuid_root, &key, path, 0, 0); in btrfs_uuid_tree_lookup()
60 btrfs_warn(uuid_root->fs_info, in btrfs_uuid_tree_lookup()
86 struct btrfs_root *uuid_root = fs_info->uuid_root; in btrfs_uuid_tree_add() local
95 ret = btrfs_uuid_tree_lookup(uuid_root, uuid, type, subid_cpu); in btrfs_uuid_tree_add()
99 if (WARN_ON_ONCE(!uuid_root)) { in btrfs_uuid_tree_add()
112 ret = btrfs_insert_empty_item(trans, uuid_root, path, &key, in btrfs_uuid_tree_add()
151 struct btrfs_root *uuid_root = fs_info->uuid_root; in btrfs_uuid_tree_remove() local
163 if (WARN_ON_ONCE(!uuid_root)) { in btrfs_uuid_tree_remove()
[all …]
Dblock-rsv.c463 (root == fs_info->uuid_root)) in get_block_rsv()
Ddisk-io.c1443 return btrfs_grab_root(fs_info->uuid_root) ? in btrfs_get_global_root()
1444 fs_info->uuid_root : ERR_PTR(-ENOENT); in btrfs_get_global_root()
1511 btrfs_put_root(fs_info->uuid_root); in btrfs_free_fs_info()
2035 free_root_extent_buffers(info->uuid_root); in free_root_pointers()
2371 fs_info->uuid_root = root; in btrfs_read_roots()
3178 if (fs_info->uuid_root && !btrfs_test_opt(fs_info, RESCAN_UUID_TREE) && in open_ctree()
3383 if (!fs_info->uuid_root) { in open_ctree()
Dvolumes.c4476 trans = btrfs_start_transaction(fs_info->uuid_root, 2); in btrfs_uuid_scan_kthread()
4550 struct btrfs_root *uuid_root; in btrfs_create_uuid_tree() local
4562 uuid_root = btrfs_create_tree(trans, BTRFS_UUID_TREE_OBJECTID); in btrfs_create_uuid_tree()
4563 if (IS_ERR(uuid_root)) { in btrfs_create_uuid_tree()
4564 ret = PTR_ERR(uuid_root); in btrfs_create_uuid_tree()
4570 fs_info->uuid_root = uuid_root; in btrfs_create_uuid_tree()
Dsuper.c1958 if (!fs_info->uuid_root) { in btrfs_remount()
Dctree.h595 struct btrfs_root *uuid_root; member