Lines Matching defs:pszMountPoint

106                                                char *pszMountPoint, size_t cbMountPoint)
109 AssertPtrReturn(pszMountPoint, VERR_INVALID_PARAMETER);
129 fMounted = RTStrPrintf(pszMountPoint, cbMountPoint, "%s", mntTab.mnt_mountp)
148 fMounted = RTStrPrintf(pszMountPoint, cbMountPoint, "%s", pMntEnt->mnt_dir)
158 pszShare, fMounted ? pszMountPoint : "<None>", fMounted ? "Yes" : "No");
163 static int VBoxServiceAutoMountUnmount(const char *pszMountPoint)
165 AssertPtrReturn(pszMountPoint, VERR_INVALID_PARAMETER);
172 r = umount(pszMountPoint);
183 static int VBoxServiceAutoMountPrepareMountPoint(const char *pszMountPoint, const char *pszShareName,
187 AssertPtrReturn(pszMountPoint, VERR_INVALID_PARAMETER);
191 int rc = RTDirCreateFullPath(pszMountPoint, fMode);
194 rc = RTPathSetOwnerEx(pszMountPoint, NIL_RTUID /* Owner, unchanged */, pOpts->gid, RTPATH_F_ON_LINK);
197 rc = RTPathSetMode(pszMountPoint, fMode);
202 VBoxServiceVerbose(3, "VBoxServiceAutoMountPrepareMountPoint: Mount directory \"%s\" already is used/mounted\n", pszMountPoint);
207 fMode, pszMountPoint, rc);
212 pszMountPoint, rc);
216 pszMountPoint, fMode, rc);
221 static int VBoxServiceAutoMountSharedFolder(const char *pszShareName, const char *pszMountPoint,
235 if (RTStrICmp(pszMountPoint, szAlreadyMountedTo))
252 rc = VBoxServiceAutoMountPrepareMountPoint(pszMountPoint, pszShareName, pOpts);
263 pszMountPoint,
272 VBoxServiceVerbose(0, "VBoxServiceAutoMountWorker: Shared folder \"%s\" was mounted to \"%s\"\n", pszShareName, pszMountPoint);
278 pszShareName, pszMountPoint, strerror(errno));
304 pszMountPoint,
310 VBoxServiceVerbose(0, "VBoxServiceAutoMountWorker: Shared folder \"%s\" was mounted to \"%s\"\n", pszShareName, pszMountPoint);
312 r = vbsfmount_complete(pszShareName, pszMountPoint, flags, pOpts);
350 if (!strncmp(pszMountPoint, szCWD, cchCWD))
352 while (pszMountPoint[cchCWD] == '/')
355 strcpy(mntinf.name, pszMountPoint + cchCWD);
357 r = mount(NULL, pszMountPoint, "vboxsf", flags, &mntinf);
371 r = mount(NULL, pszMountPoint, "vboxsf", flags, &mntinf_old);
389 pszShareName, pszMountPoint, strerror(errno), errno);