Home
last modified time | relevance | path

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

/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.c371 (root == fs_info->uuid_root)) in get_block_rsv()
Ddisk-io.c1563 return fs_info->uuid_root ? fs_info->uuid_root : in btrfs_get_fs_root()
2033 free_root_extent_buffers(info->uuid_root); in free_root_pointers()
2376 fs_info->uuid_root = root; in btrfs_read_roots()
3113 if (fs_info->uuid_root && !btrfs_test_opt(fs_info, RESCAN_UUID_TREE) && in open_ctree()
3328 if (!fs_info->uuid_root) { in open_ctree()
Dvolumes.c4646 trans = btrfs_start_transaction(fs_info->uuid_root, 2); in btrfs_uuid_scan_kthread()
4784 struct btrfs_root *uuid_root; in btrfs_create_uuid_tree() local
4796 uuid_root = btrfs_create_tree(trans, BTRFS_UUID_TREE_OBJECTID); in btrfs_create_uuid_tree()
4797 if (IS_ERR(uuid_root)) { in btrfs_create_uuid_tree()
4798 ret = PTR_ERR(uuid_root); in btrfs_create_uuid_tree()
4804 fs_info->uuid_root = uuid_root; in btrfs_create_uuid_tree()
Dctree.h535 struct btrfs_root *uuid_root; member
2664 kfree(fs_info->uuid_root); in free_fs_info()
Dsuper.c1853 if (!fs_info->uuid_root) { in btrfs_remount()