Lines Matching refs:root_key

972 	memset(&root->root_key, 0, sizeof(root->root_key));  in __setup_root()
976 root->root_key.objectid = objectid; in __setup_root()
1079 return btrfs_comp_cpu_keys(&a->root_key, &b->root_key); in global_root_cmp()
1087 return btrfs_comp_cpu_keys(key, &root->root_key); in global_root_key_cmp()
1191 root->root_key.objectid = objectid; in btrfs_create_tree()
1192 root->root_key.type = BTRFS_ROOT_ITEM_KEY; in btrfs_create_tree()
1193 root->root_key.offset = 0; in btrfs_create_tree()
1253 root->root_key.objectid = BTRFS_TREE_LOG_OBJECTID; in alloc_log_tree()
1254 root->root_key.type = BTRFS_ROOT_ITEM_KEY; in alloc_log_tree()
1255 root->root_key.offset = BTRFS_TREE_LOG_OBJECTID; in alloc_log_tree()
1330 log_root->root_key.offset = root->root_key.objectid; in btrfs_add_log_tree()
1365 &root->root_item, &root->root_key); in read_tree_root_path()
1392 root->root_key.objectid != BTRFS_TREE_LOG_OBJECTID && in read_tree_root_path()
1393 root->root_key.objectid != BTRFS_TREE_RELOC_OBJECTID && in read_tree_root_path()
1394 root->root_key.objectid != btrfs_header_owner(root->node)) { in read_tree_root_path()
1397 root->root_key.objectid, root->node->start, in read_tree_root_path()
1399 root->root_key.objectid); in read_tree_root_path()
1445 if (root->root_key.objectid != BTRFS_TREE_LOG_OBJECTID && in btrfs_init_fs_root()
1455 if (is_fstree(root->root_key.objectid) && in btrfs_init_fs_root()
1544 (unsigned long)root->root_key.objectid, in btrfs_insert_fs_root()
1567 btrfs_root_name(&root->root_key, buf), in btrfs_check_leaked_roots()
2852 root->root_key.objectid, gen, level, NULL); in load_super_root()
4415 (unsigned long)root->root_key.objectid); in btrfs_drop_and_free_fs_root()
4449 root_objectid = gang[ret - 1]->root_key.objectid + 1; in btrfs_cleanup_fs_roots()
4465 root_objectid = gang[i]->root_key.objectid; in btrfs_cleanup_fs_roots()
4843 root_objectid = gang[i]->root_key.objectid; in btrfs_drop_all_logs()
5295 root->root_key.objectid); in btrfs_get_free_objectid()