Searched refs:mountPoint (Results 1 - 23 of 23) sorted by relevance

/haiku/src/system/kernel/vm/
H A DVMUtils.h14 get_mount_point(KPartition* partition, KPath* mountPoint);
H A DVMUtils.cpp19 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 DVMAnonymousCache.cpp1514 KPath devPath, mountPoint; local
1516 get_mount_point(visitor.fBestPartition, &mountPoint);
1517 const char* mountPath = mountPoint.Path();
/haiku/src/bin/
H A Dmount.c36 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 Dmountvolume.cpp126 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 DBasicTest.cpp88 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 DBasicTest.h37 static void createVolume(string imageFile, string mountPoint, int32 megs,
39 static void deleteVolume(string imageFile, string mountPoint,
H A DQueryTest.cpp411 // 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 Dnetfs_config.cpp79 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 DAutoMounter.h49 BPath& mountPoint, const char* name);
H A DAutoMounter.cpp648 AutoMounter::_UnmountAndEjectVolume(BPartition* partition, BPath& mountPoint, argument
655 BDiskDeviceRoster().FindPartitionByMountPoint(mountPoint.Path(),
666 status = fs_unmount_volume(mountPoint.Path(), 0);
675 status = fs_unmount_volume(mountPoint.Path(), B_FORCE_UNMOUNT);
724 if (dev_for_path(mountPoint.Path()) == dev_for_path("/"))
725 rmdir(mountPoint.Path());
761 BDirectory mountPoint; local
762 status = volume.GetRootDirectory(&mountPoint);
764 status = path.SetTo(&mountPoint, ".");
/haiku/src/kits/storage/disk_device/
H A DPartition.cpp452 \param mountPoint Pointer to the path to be set to refer the mount point
457 BPartition::GetMountPoint(BPath* mountPoint) const
459 if (mountPoint == NULL || !ContainsFileSystem())
468 error = mountPoint->SetTo(&dir, NULL);
502 return mountPoint->SetTo(mountPointPath.String());
515 \param mountPoint The directory where to mount the file system. May be
524 BPartition::Mount(const char* mountPoint, uint32 mountFlags, argument
539 if (!mountPoint) {
545 mountPoint = mountPointPath.Path();
550 if (mkdir(mountPoint, S_IRWX
[all...]
H A DDiskDeviceRoster.cpp368 BDiskDeviceRoster::FindPartitionByMountPoint(const char* mountPoint, argument
371 BVolume volume(dev_for_path(mountPoint));
/haiku/src/apps/installer/
H A DWorkerThread.cpp787 BPath mountPoint; local
788 if (partition->GetMountPoint(&mountPoint) != B_OK)
790 isBootPartition = strcmp(BOOT_PATH, mountPoint.Path()) == 0;
862 BPath mountPoint; local
863 partition->GetMountPoint(&mountPoint);
864 isBootPartition = strcmp(BOOT_PATH, mountPoint.Path()) == 0;
/haiku/headers/private/storage/
H A DPartition.h69 status_t GetMountPoint(BPath* mountPoint) const;
71 status_t Mount(const char* mountPoint = NULL,
H A DDiskDeviceRoster.h122 status_t FindPartitionByMountPoint(const char* mountPoint,
/haiku/src/tests/add-ons/kernel/file_systems/random_file_actions/
H A Drandom_file_actions.cpp486 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 DVMGetMountPointTest.cpp101 get_mount_point(KPartition* partition, KPath* mountPoint);
/haiku/src/apps/packageinstaller/
H A DPackageView.cpp637 BDirectory mountPoint; local
639 || volume.GetRootDirectory(&mountPoint) != B_OK) {
643 if (path.SetTo(&mountPoint, NULL) != B_OK)
H A DPackageItem.cpp207 BPath mountPoint(&temp, NULL);
208 ret = destination->SetTo(mountPoint.Path(), fPath.String());
/haiku/src/tools/fs_shell/
H A Dvfs.cpp982 struct vnode *mountPoint = NULL; local
986 mountPoint = mount->covers_vnode;
987 inc_vnode_ref_count(mountPoint);
990 return mountPoint;
1226 struct vnode *mountPoint = resolve_mount_point_to_volume_root(vnode); local
1227 if (mountPoint) {
1229 vnode = mountPoint;
1454 struct vnode *mountPoint = resolve_volume_root_to_mount_point(vnode); local
1455 if (mountPoint) {
1457 vnode = mountPoint;
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DClientConnection.cpp576 node_ref mountPoint; local
581 mountPoint = share->GetNodeRef();
583 mountPoint);
/haiku/src/system/kernel/fs/
H A Dvfs.cpp5244 Vnode* mountPoint = mount->covers_vnode;
5246 *_mountPointMountID = mountPoint->device;
5247 *_mountPointNodeID = mountPoint->id;

Completed in 259 milliseconds