Lines Matching refs:root_key
651 memset(&root->root_key, 0, sizeof(root->root_key)); in __setup_root()
655 root->root_key.objectid = objectid; in __setup_root()
753 return btrfs_comp_cpu_keys(&a->root_key, &b->root_key); in global_root_cmp()
761 return btrfs_comp_cpu_keys(key, &root->root_key); in global_root_key_cmp()
777 btrfs_root_id(root), root->root_key.offset); in btrfs_global_root_insert()
870 root->root_key.objectid = objectid; in btrfs_create_tree()
871 root->root_key.type = BTRFS_ROOT_ITEM_KEY; in btrfs_create_tree()
872 root->root_key.offset = 0; in btrfs_create_tree()
929 root->root_key.objectid = BTRFS_TREE_LOG_OBJECTID; in alloc_log_tree()
930 root->root_key.type = BTRFS_ROOT_ITEM_KEY; in alloc_log_tree()
931 root->root_key.offset = BTRFS_TREE_LOG_OBJECTID; in alloc_log_tree()
1006 log_root->root_key.offset = btrfs_root_id(root); in btrfs_add_log_tree()
1042 &root->root_item, &root->root_key); in read_tree_root_path()
1236 btrfs_root_name(&root->root_key, buf), in btrfs_check_leaked_roots()