Searched refs:uuid_root (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/fs/btrfs/ |
D | uuid-tree.c | 22 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() 150 struct btrfs_root *uuid_root = fs_info->uuid_root; in btrfs_uuid_tree_remove() local 162 if (WARN_ON_ONCE(!uuid_root)) { in btrfs_uuid_tree_remove() [all …]
|
D | block-rsv.c | 483 (root == fs_info->uuid_root) || in get_block_rsv()
|
D | disk-io.c | 1527 return btrfs_grab_root(fs_info->uuid_root) ? in btrfs_get_global_root() 1528 fs_info->uuid_root : ERR_PTR(-ENOENT); in btrfs_get_global_root() 1611 btrfs_put_root(fs_info->uuid_root); in btrfs_free_fs_info() 2145 free_root_extent_buffers(info->uuid_root); in free_root_pointers() 2599 fs_info->uuid_root = root; in btrfs_read_roots() 3289 if (!fs_info->uuid_root) { in btrfs_start_pre_rw_mount() 3668 if (fs_info->uuid_root && !btrfs_test_opt(fs_info, RESCAN_UUID_TREE) && in open_ctree() 3808 if (fs_info->uuid_root && in open_ctree()
|
D | volumes.c | 4699 trans = btrfs_start_transaction(fs_info->uuid_root, 2); in btrfs_uuid_scan_kthread() 4773 struct btrfs_root *uuid_root; in btrfs_create_uuid_tree() local 4785 uuid_root = btrfs_create_tree(trans, BTRFS_UUID_TREE_OBJECTID); in btrfs_create_uuid_tree() 4786 if (IS_ERR(uuid_root)) { in btrfs_create_uuid_tree() 4787 ret = PTR_ERR(uuid_root); in btrfs_create_uuid_tree() 4793 fs_info->uuid_root = uuid_root; in btrfs_create_uuid_tree()
|
D | ctree.h | 640 struct btrfs_root *uuid_root; member
|