Searched refs:gRoot (Results 1 - 5 of 5) sorted by relevance

/haiku/src/tests/system/boot/loader/
H A Dplatform_menu.cpp23 extern RootFileSystem *gRoot;
102 if (gRoot->Open(&cookie, O_RDONLY) == B_OK) {
104 while (gRoot->GetNextNode(cookie, (Node **)&directory) == B_OK) {
117 gRoot->Close(cookie);
/haiku/src/system/boot/loader/
H A DRootFileSystem.h48 extern RootFileSystem *gRoot;
H A Dvfs.cpp83 RootFileSystem *gRoot; variable
609 gRoot = new(nothrow) RootFileSystem();
610 if (gRoot == NULL)
621 gRoot->AddLink("boot", rootDirectory);
624 status_t status = gRoot->GetPartitionFor(rootDirectory, &partition);
763 if (gRoot->Open(&cookie, O_RDONLY) == B_OK) {
765 while (gRoot->GetNextNode(cookie, (Node **)&directory) == B_OK) {
778 gRoot->Close(cookie);
1040 RETURN_AND_SET_ERRNO(open_from(gRoot, name, mode, permissions));
1049 directory = gRoot;
[all...]
H A Dmenu.cpp1246 if (gRoot->Open(&cookie, O_RDONLY) == B_OK) {
1248 while (gRoot->GetNextNode(cookie, (Node**)&volume) == B_OK) {
1260 gRoot->Close(cookie);
1368 if (gRoot->Open(&cookie, O_RDONLY) == B_OK) {
1370 while (gRoot->GetNextNode(cookie, &node) == B_OK) {
1373 if (gRoot->GetPartitionFor(volume, &partition) != B_OK)
1406 gRoot->Close(cookie);
H A Dpartitions.cpp262 gRoot->AddVolume(fileSystem, this);

Completed in 108 milliseconds