Lines Matching refs:root

64 	root = B_HOST_TO_LENDIAN_INT64(BTRFS_RESERVED_SPACE_OFFSET + blockSize);
196 TRACE("Volume::Mount() root: %" B_PRIu64 " (physical block %" B_PRIu64 ")\n",
201 TRACE("Volume::Mount(): Searching extent root\n");
206 btrfs_root* root;
207 status = fRootTree->FindExact(&path, search_key, (void**)&root);
209 ERROR("Volume::Mount(): Couldn't find extent root\n");
212 TRACE("Volume::Mount(): Found extent root: %" B_PRIu64 "\n",
213 root->LogicalAddress());
217 fExtentTree->SetRoot(root->LogicalAddress(), NULL);
218 free(root);
220 TRACE("Volume::Mount(): Searching fs root\n");
223 status = fRootTree->FindExact(&path, search_key, (void**)&root);
225 ERROR("Volume::Mount(): Couldn't find fs root\n");
228 TRACE("Volume::Mount(): Found fs root: %" B_PRIu64 "\n",
229 root->LogicalAddress());
233 fFSTree->SetRoot(root->LogicalAddress(), NULL);
234 free(root);
236 TRACE("Volume::Mount(): Searching dev root\n");
239 status = fRootTree->FindExact(&path, search_key, (void**)&root);
241 ERROR("Volume::Mount(): Couldn't find dev root\n");
244 TRACE("Volume::Mount(): Found dev root: %" B_PRIu64 "\n",
245 root->LogicalAddress());
249 fDevTree->SetRoot(root->LogicalAddress(), NULL);
250 free(root);
252 TRACE("Volume::Mount(): Searching checksum root\n");
255 status = fRootTree->FindExact(&path, search_key, (void**)&root);
257 ERROR("Volume::Mount(): Couldn't find checksum root\n");
260 TRACE("Volume::Mount(): Found checksum root: %" B_PRIu64 "\n",
261 root->LogicalAddress());
265 fChecksumTree->SetRoot(root->LogicalAddress(), NULL);
266 free(root);
303 ERROR("could not create root node: get_vnode() failed!\n");
307 TRACE("Volume::Mount(): Found root node: %" B_PRIu64 " (%s)\n",
394 // (add block groups to extent tree, create root dir, etc.)
430 TRACE("Volume::Unmount(): Putting root node\n");