/haiku/src/system/kernel/vm/ |
H A D | VMUtils.h | 14 get_mount_point(KPartition* partition, KPath* mountPoint);
|
H A D | VMUtils.cpp | 19 get_mount_point(KPartition* partition, KPath* mountPoint) argument 21 if (!mountPoint || !partition->ContainsFileSystem()) 45 char* path = mountPoint->LockBuffer(); 46 int32 pathLen = mountPoint->BufferSize(); 56 mountPoint->UnlockBuffer();
|
H A D | VMAnonymousCache.cpp | 1689 KPath devPath, mountPoint; local 1691 get_mount_point(visitor.fBestPartition, &mountPoint); 1692 const char* mountPath = mountPoint.Path();
|
/haiku/src/bin/ |
H A D | mount.c | 36 const char *mountPoint; local 79 mountPoint = argv[0]; 81 if (mountPoint == NULL) 84 if (stat(mountPoint, &mountStat) < 0) { 85 fprintf(stderr, "%s: The mount point '%s' is not accessible\n", programName, mountPoint); 89 fprintf(stderr, "%s: The mount point '%s' is not a directory\n", programName, mountPoint); 95 volume = fs_mount_volume(mountPoint, device, fs, flags, parameter);
|
H A D | mountvolume.cpp | 126 BPath mountPoint; local 127 status_t status = partition->GetMountPoint(&mountPoint); 132 status = get_ref_for_path(mountPoint.Path(), &ref); 214 BPath mountPoint; local 215 partition->GetMountPoint(&mountPoint); 217 mountPoint.Path()); 300 BPath mountPoint; local 302 partition->GetMountPoint(&mountPoint); 306 partition->IsMounted() ? mountPoint.Path() : "", 487 BPath mountPoint; local [all...] |
/haiku/src/tests/kits/storage/ |
H A D | BasicTest.cpp | 88 BasicTest::createVolume(string imageFile, string mountPoint, int32 megs, argument 99 + (makeMountPoint ? " ; mkdir " + mountPoint : "") 100 + " ; mount " + imageFile + " " + mountPoint); local 105 BasicTest::deleteVolume(string imageFile, string mountPoint, argument 109 + " ; unmount " + mountPoint 110 + (deleteMountPoint ? " ; rmdir " + mountPoint : "")
|
H A D | BasicTest.h | 37 static void createVolume(string imageFile, string mountPoint, int32 megs, 39 static void deleteVolume(string imageFile, string mountPoint,
|
H A D | QueryTest.cpp | 411 // mountPoint 437 static QueryTestEntry mountPoint(testMountPoint, B_DIRECTORY_NODE); 438 static QueryTestEntry dir1(mountPoint + "dir1", B_DIRECTORY_NODE); 444 static QueryTestEntry dir2(mountPoint + "dir2", B_DIRECTORY_NODE); 451 static QueryTestEntry dir3(mountPoint + "dir3", B_DIRECTORY_NODE); 457 static QueryTestEntry file1(mountPoint + "file1", B_FILE_NODE); 458 static QueryTestEntry file2(mountPoint + "file2", B_FILE_NODE); 459 static QueryTestEntry file3(mountPoint + "file3", B_FILE_NODE); 460 static QueryTestEntry link1(mountPoint + "link1", B_SYMLINK_NODE, &file1); 461 static QueryTestEntry link2(mountPoint 983 TestFetchPredicateInit(Query &query, TestSet &testSet, const char *mountPoint, const char *predicate, QueryTestEntry **entries, int32 entryCount) argument 1003 TestFetchPredicate(const char *mountPoint, const char *predicate, QueryTestEntry **entries, int32 entryCount) argument [all...] |
/haiku/src/add-ons/kernel/file_systems/netfs/netfs_config/ |
H A D | netfs_config.cpp | 79 const char* mountPoint = argv[1]; local 91 int fd = open(mountPoint, O_RDONLY); 93 fprintf(stderr, "Opening `%s' failed: %s\n", mountPoint,
|
/haiku/src/servers/mount/ |
H A D | AutoMounter.h | 49 BPath& mountPoint, const char* name);
|
H A D | AutoMounter.cpp | 662 AutoMounter::_UnmountAndEjectVolume(BPartition* partition, BPath& mountPoint, argument 669 BDiskDeviceRoster().FindPartitionByMountPoint(mountPoint.Path(), 680 status = fs_unmount_volume(mountPoint.Path(), 0); 689 status = fs_unmount_volume(mountPoint.Path(), B_FORCE_UNMOUNT); 738 if (dev_for_path(mountPoint.Path()) == dev_for_path("/")) 739 rmdir(mountPoint.Path()); 775 BDirectory mountPoint; local 776 status = volume.GetRootDirectory(&mountPoint); 778 status = path.SetTo(&mountPoint, ".");
|
/haiku/src/kits/storage/disk_device/ |
H A D | Partition.cpp | 489 \param mountPoint Pointer to the path to be set to refer the mount point 494 BPartition::GetMountPoint(BPath* mountPoint) const 496 if (mountPoint == NULL || !ContainsFileSystem()) 505 error = mountPoint->SetTo(&dir, NULL); 539 return mountPoint->SetTo(mountPointPath.String()); 552 \param mountPoint The directory where to mount the file system. May be 561 BPartition::Mount(const char* mountPoint, uint32 mountFlags, argument 576 if (!mountPoint) { 582 mountPoint = mountPointPath.Path(); 587 if (mkdir(mountPoint, S_IRWX [all...] |
H A D | DiskDeviceRoster.cpp | 368 BDiskDeviceRoster::FindPartitionByMountPoint(const char* mountPoint, argument 371 BVolume volume(dev_for_path(mountPoint));
|
/haiku/headers/private/storage/ |
H A D | Partition.h | 71 status_t GetMountPoint(BPath* mountPoint) const; 73 status_t Mount(const char* mountPoint = NULL,
|
H A D | DiskDeviceRoster.h | 122 status_t FindPartitionByMountPoint(const char* mountPoint,
|
/haiku/src/tests/add-ons/kernel/file_systems/random_file_actions/ |
H A D | random_file_actions.cpp | 486 mount_image(const char* image, const char* mountPoint) argument 488 dev_t volume = fs_mount_volume(mountPoint, image, NULL, 0, NULL); 495 unmount_image(const char* mountPoint) argument 497 status_t status = fs_unmount_volume(mountPoint, 0);
|
/haiku/src/tests/system/kernel/vm/ |
H A D | VMGetMountPointTest.cpp | 101 get_mount_point(KPartition* partition, KPath* mountPoint);
|
/haiku/src/apps/installer/ |
H A D | WorkerThread.cpp | 845 BPath mountPoint; local 846 if (partition->GetMountPoint(&mountPoint) != B_OK) 848 isBootPartition = strcmp(BOOT_PATH, mountPoint.Path()) == 0; 912 BPath mountPoint; local 913 partition->GetMountPoint(&mountPoint); 914 isBootPartition = strcmp(BOOT_PATH, mountPoint.Path()) == 0;
|
/haiku/src/apps/packageinstaller/ |
H A D | PackageView.cpp | 637 BDirectory mountPoint; local 639 || volume.GetRootDirectory(&mountPoint) != B_OK) { 643 if (path.SetTo(&mountPoint, NULL) != B_OK)
|
H A D | PackageItem.cpp | 207 BPath mountPoint(&temp, NULL); 208 ret = destination->SetTo(mountPoint.Path(), fPath.String());
|
/haiku/src/tools/fs_shell/ |
H A D | vfs.cpp | 983 struct vnode *mountPoint = NULL; local 987 mountPoint = mount->covers_vnode; 988 inc_vnode_ref_count(mountPoint); 991 return mountPoint; 1231 struct vnode *mountPoint = resolve_mount_point_to_volume_root(vnode); local 1232 if (mountPoint) { 1234 vnode = mountPoint; 1459 struct vnode *mountPoint = resolve_volume_root_to_mount_point(vnode); local 1460 if (mountPoint) { 1462 vnode = mountPoint; [all...] |
/haiku/src/add-ons/kernel/file_systems/netfs/server/ |
H A D | ClientConnection.cpp | 576 node_ref mountPoint; local 581 mountPoint = share->GetNodeRef(); 583 mountPoint);
|
/haiku/src/system/kernel/fs/ |
H A D | vfs.cpp | 5159 Vnode* mountPoint = mount->covers_vnode; 5161 *_mountPointMountID = mountPoint->device; 5162 *_mountPointNodeID = mountPoint->id;
|