Searched refs:mntfromname (Results 1 - 4 of 4) sorted by relevance
/macosx-10.10.1/diskdev_cmds-576/mount.tproj/ |
H A D | mount.c | 120 const char *mntfromname, **vfslist, *vfstype; local 233 mntfromname = mntbuf->f_mntfromname; 234 if (strchr(mntfromname, '/') == NULL) { 237 mntfromname = fs->fs_spec; 241 rval = mountfs(mntbuf->f_fstypename, mntfromname,
|
/macosx-10.10.1/webdavfs-367/mount.tproj/ |
H A D | webdav_agent.c | 83 static char mntfromname[MNAMELEN]; /* the mntfromname */ variable 444 (void *)webdav_force_unmount, (void *)mntfromname); 841 /* Create a mntfromname from the uri. Make sure the string is no longer than MNAMELEN */ 842 strlcpy(mntfromname, uri , MNAMELEN); 844 /* Check to see if this mntfromname is already used by a mount point by the 850 mntfromnameLength = (unsigned int)strlen(mntfromname); 853 /* Is mntfromname already being used as a mntfromname for a webdav mount 859 (strncasecmp(buffer[i].f_mntfromname, mntfromname, mntfromnameLengt [all...] |
/macosx-10.10.1/webdavfs-367/WebDAVPlugin/ |
H A D | WebDAV_Mount.c | 478 char mntfromname[MNAMELEN]; local 483 /* Copy URL to mntfromname and fix it up if needed */ 484 if ( GetMountURI(url, mntfromname, sizeof(mntfromname)) != 0 ) { 489 mntfromnameLength = strlen(mntfromname); 497 (strncasecmp(buffer[i].f_mntfromname, mntfromname, mntfromnameLength) == 0) ) 721 * The mount attempt failed because this 'mntfromname' is already 723 * that 'mntfromname' is currently mounted on.
|
/macosx-10.10.1/xnu-2782.1.97/bsd/nfs/ |
H A D | nfs_vfsops.c | 3129 /* init mount's mntfromname to first location */ 3312 char fstype[MFSTYPENAMELEN], *mntfromname = NULL, *path = NULL, *relpath, *p, *cp; local 3336 MALLOC_ZONE(mntfromname, char *, pathbuflen, M_NAMEI, M_WAITOK); 3337 if (!mntfromname) { 3355 * Set up the mntfromname for the new mount based on the 3356 * current mount's mntfromname and the directory's path 3362 nlen = strlcpy(mntfromname, vfs_statfs(nmp->nm_mountp)->f_mntfromname, MAXPATHLEN); 3363 if ((nlen > 0) && (mntfromname[nlen-1] == '/')) { /* avoid double '/' in new name */ 3364 mntfromname[nlen-1] = '\0'; 3367 relpath = mntfromname [all...] |
Completed in 114 milliseconds