Searched refs:mntfromname (Results 1 - 1 of 1) sorted by relevance
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_vfsops.c | 3068 /* init mount's mntfromname to first location */ 3253 char fstype[MFSTYPENAMELEN], *mntfromname = NULL, *path = NULL, *relpath, *p, *cp; local 3277 MALLOC_ZONE(mntfromname, char *, pathbuflen, M_NAMEI, M_WAITOK); 3278 if (!mntfromname) { 3296 * Set up the mntfromname for the new mount based on the 3297 * current mount's mntfromname and the directory's path 3303 nlen = strlcpy(mntfromname, vfs_statfs(nmp->nm_mountp)->f_mntfromname, MAXPATHLEN); 3304 if ((nlen > 0) && (mntfromname[nlen-1] == '/')) { /* avoid double '/' in new name */ 3305 mntfromname[nlen-1] = '\0'; 3308 relpath = mntfromname [all...] |
Completed in 77 milliseconds