Home
last modified time | relevance | path

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

/linux-4.19.296/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 …]
Ddisk-io.c1588 return fs_info->uuid_root ? fs_info->uuid_root : in btrfs_get_fs_root()
2059 free_root_extent_buffers(info->uuid_root); in free_root_pointers()
2370 fs_info->uuid_root = root; in btrfs_read_roots()
3049 if (fs_info->uuid_root && !btrfs_test_opt(fs_info, RESCAN_UUID_TREE) && in open_ctree()
3264 if (!fs_info->uuid_root) { in open_ctree()
Dvolumes.c4175 trans = btrfs_start_transaction(fs_info->uuid_root, 2); in btrfs_uuid_scan_kthread()
4313 struct btrfs_root *uuid_root; in btrfs_create_uuid_tree() local
4325 uuid_root = btrfs_create_tree(trans, fs_info, in btrfs_create_uuid_tree()
4327 if (IS_ERR(uuid_root)) { in btrfs_create_uuid_tree()
4328 ret = PTR_ERR(uuid_root); in btrfs_create_uuid_tree()
4334 fs_info->uuid_root = uuid_root; in btrfs_create_uuid_tree()
Dctree.h764 struct btrfs_root *uuid_root; member
2984 kfree(fs_info->uuid_root); in free_fs_info()
Dsuper.c1908 if (!fs_info->uuid_root) { in btrfs_remount()
Dextent-tree.c5265 (root == fs_info->uuid_root)) in get_block_rsv()