/haiku/src/tools/bfs_shell/ |
H A D | command_resizefs.cpp | 31 int rootDir = _kern_open_dir(-1, "/myfs"); local 32 if (rootDir < 0) { 34 return rootDir; 37 status_t status = _kern_ioctl(rootDir, BFS_IOCTL_RESIZE, 40 _kern_close(rootDir);
|
H A D | command_checkfs.cpp | 30 int rootDir = _kern_open_dir(-1, "/myfs"); local 31 if (rootDir < 0) 32 return rootDir; 44 fssh_status_t status = _kern_ioctl(rootDir, BFS_IOCTL_START_CHECKING, 55 while (_kern_ioctl(rootDir, BFS_IOCTL_CHECK_NEXT_NODE, &result, 103 if (_kern_ioctl(rootDir, BFS_IOCTL_STOP_CHECKING, &result, sizeof(result)) 105 _kern_close(rootDir); 109 _kern_close(rootDir);
|
/haiku/src/tests/system/kernel/file_corruption/fs/ |
H A D | SuperBlock.h | 22 uint64 RootDirectory() const { return rootDir; }
|
H A D | SuperBlock.cpp | 45 rootDir = volume->RootDirectory()->BlockIndex();
|
/haiku/src/add-ons/index_server/ |
H A D | IndexServerAddOn.cpp | 53 BDirectory rootDir; local 54 fVolume.GetRootDirectory(&rootDir); 55 BPath path(&rootDir); 84 BDirectory rootDir; local 85 fVolume.GetRootDirectory(&rootDir); 86 BPath path(&rootDir);
|
/haiku/src/apps/diskusage/ |
H A D | Snapshot.h | 52 FileInfo* rootDir; member in struct:VolumeSnapshot
|
H A D | Snapshot.cpp | 120 rootDir = NULL; 127 delete rootDir;
|
H A D | Scanner.cpp | 149 if (startInfo == NULL || startInfo == fSnapshot->rootDir) { 161 fSnapshot->rootDir = _GetFileInfo(&root, NULL); 162 if (fSnapshot->rootDir == NULL) { 299 FileInfo* checkDir = fSnapshot->rootDir; 326 if (prefDir == fSnapshot->rootDir)
|
H A D | PieView.cpp | 479 info = snapshot->rootDir;
|
/haiku/src/tests/system/kernel/file_corruption/ |
H A D | checksumfs.h | 34 uint64 rootDir; member in struct:checksumfs_super_block
|
/haiku/src/bin/bfs_tools/lib/ |
H A D | Disk.cpp | 426 bfs_inode rootDir; local 427 if (ScanForIndexAndRoot(&indexDir,&rootDir) < B_OK) { 429 rootDir.inode_num.allocation_group = 8; 430 rootDir.inode_num.start = 0; 431 rootDir.inode_num.length = 1; 472 fSuperBlock.root_dir = rootDir.inode_num; 607 bool *root, bfs_inode *rootDir) 620 if (rootDir) 621 memcpy(rootDir, inode, sizeof(bfs_inode)); 634 Disk::ScanForIndexAndRoot(bfs_inode *indexDir,bfs_inode *rootDir) argument 606 SaveInode(bfs_inode *inode, bool *indices, bfs_inode *indexDir, bool *root, bfs_inode *rootDir) argument [all...] |
/haiku/src/servers/index/ |
H A D | VolumeWatcher.cpp | 360 BDirectory rootDir; local 361 fVolume.GetRootDirectory(&rootDir); 362 BPath path(&rootDir); 380 BDirectory rootDir; local 381 fVolume.GetRootDirectory(&rootDir); 382 BPath path(&rootDir);
|
/haiku/src/add-ons/kernel/file_systems/reiserfs/ |
H A D | Volume.h | 79 status_t FindEntry(const VNode *rootDir, const char *path,
|
H A D | Volume.cpp | 447 Volume::FindEntry(const VNode *rootDir, const char *path, VNode *foundNode) argument 451 status_t error = (rootDir && path && foundNode ? B_OK : B_BAD_VALUE); 456 *foundNode = *rootDir;
|
/haiku/src/add-ons/kernel/file_systems/netfs/server/ |
H A D | Volume.cpp | 158 BDirectory rootDir; local 159 error = FDManager::SetDirectory(&rootDir, &rootRef); 165 error = rootDir.GetStat(&st);
|
H A D | VolumeManager.cpp | 967 Directory* rootDir = GetRootDirectory(); 968 if (directory == rootDir) 973 while (descendant != rootDir) { 1186 Directory* rootDir = clientVolume->GetRootDirectory(); local 1187 if (DirectoryContains(rootDir, directory, true) 1283 Directory* rootDir = clientVolume->GetRootDirectory(); local 1284 bool containsFrom = DirectoryContains(rootDir, fromDirectory, true); 1285 bool containsTo = DirectoryContains(rootDir, toDirectory, true); 1461 if (Directory* rootDir = volume->GetRootDirectory()) { 1463 if (Entry* entry = rootDir [all...] |
H A D | ClientVolume.cpp | 100 Directory* rootDir; local 101 status_t error = volumeManager->LoadDirectory(volumeID, nodeID, &rootDir);
|
/haiku/src/tests/kits/storage/ |
H A D | VolumeTest.cpp | 126 BDirectory rootDir; local 127 CHK(volume.GetRootDirectory(&rootDir) == B_OK); 132 CHK(rootDir == actualRootDir); 168 BDirectory rootDir; local 169 CHK(volume.GetRootDirectory(&rootDir) == B_BAD_VALUE); 454 //BDirectory rootDir; 455 //dVolume.GetRootDirectory(&rootDir); 457 //rootDir.GetEntry(&rootEntry);
|
H A D | MimeTypeTest.cpp | 1634 BDirectory rootDir(mimeDatabaseDir.c_str()); 1636 CHK(rootDir.InitCheck() == B_OK); 1637 rootDir.Rewind(); 1639 status_t err = rootDir.GetNextEntry(&superEntry); 1714 BDirectory rootDir(mimeDatabaseDir.c_str()); 1716 CHK(rootDir.InitCheck() == B_OK); 1717 rootDir.Rewind(); 1719 status_t err = rootDir.GetNextEntry(&superEntry);
|
/haiku/src/tools/fs_shell/ |
H A D | fssh.cpp | 1327 int rootDir = _kern_open_dir(-1, "/myfs"); local 1328 if (rootDir < 0) 1329 return rootDir; 1331 fssh_status_t status = _kern_ioctl(rootDir, atoi(argv[1]), NULL, 0); 1333 _kern_close(rootDir);
|
/haiku/src/servers/package/ |
H A D | CommitTransactionHandler.cpp | 1424 BDirectory rootDir(&fVolume->RootDirectoryRef()); 1425 BPath scriptPath(&rootDir, script); 1486 BDirectory rootDir(&fVolume->RootDirectoryRef()); 1492 BPath scriptPath(&rootDir, scripts.StringAt(i));
|
/haiku/src/tests/kits/app/broster/ |
H A D | GetRecentTester.cpp | 1368 BDirectory rootDir; local 1369 err = rootDir.SetTo(kTempDirRoot); 1371 err = rootDir.CreateDirectory(kTempDir, &tempDir);
|