Lines Matching refs:root_key

626 	memset(&root->root_key, 0, sizeof(root->root_key));  in __setup_root()
630 root->root_key.objectid = objectid; in __setup_root()
733 return btrfs_comp_cpu_keys(&a->root_key, &b->root_key); in global_root_cmp()
741 return btrfs_comp_cpu_keys(key, &root->root_key); in global_root_key_cmp()
757 root->root_key.objectid, root->root_key.offset); in btrfs_global_root_insert()
857 root->root_key.objectid = objectid; in btrfs_create_tree()
858 root->root_key.type = BTRFS_ROOT_ITEM_KEY; in btrfs_create_tree()
859 root->root_key.offset = 0; in btrfs_create_tree()
916 root->root_key.objectid = BTRFS_TREE_LOG_OBJECTID; in alloc_log_tree()
917 root->root_key.type = BTRFS_ROOT_ITEM_KEY; in alloc_log_tree()
918 root->root_key.offset = BTRFS_TREE_LOG_OBJECTID; in alloc_log_tree()
993 log_root->root_key.offset = root->root_key.objectid; in btrfs_add_log_tree()
1029 &root->root_item, &root->root_key); in read_tree_root_path()
1058 root->root_key.objectid != BTRFS_TREE_LOG_OBJECTID && in read_tree_root_path()
1059 root->root_key.objectid != BTRFS_TREE_RELOC_OBJECTID && in read_tree_root_path()
1060 root->root_key.objectid != btrfs_header_owner(root->node)) { in read_tree_root_path()
1063 root->root_key.objectid, root->node->start, in read_tree_root_path()
1065 root->root_key.objectid); in read_tree_root_path()
1102 if (root->root_key.objectid != BTRFS_TREE_LOG_OBJECTID && in btrfs_init_fs_root()
1104 is_fstree(root->root_key.objectid)) { in btrfs_init_fs_root()
1113 if (is_fstree(root->root_key.objectid) && in btrfs_init_fs_root()
1198 (unsigned long)root->root_key.objectid, in btrfs_insert_fs_root()
1221 btrfs_root_name(&root->root_key, buf), in btrfs_check_leaked_roots()
2536 .owner_root = root->root_key.objectid in load_super_root()
2883 root_objectid = gang[ret - 1]->root_key.objectid + 1; in btrfs_cleanup_fs_roots()
2899 root_objectid = gang[i]->root_key.objectid; in btrfs_cleanup_fs_roots()
4168 (unsigned long)root->root_key.objectid); in btrfs_drop_and_free_fs_root()
4522 root_objectid = gang[i]->root_key.objectid; in btrfs_drop_all_logs()
4961 root->root_key.objectid); in btrfs_get_free_objectid()