Lines Matching defs:path
1060 /* find the server-side path being mounted */
1073 /* count fs location path components */
1320 /* find the server-side path being mounted */
1333 /* count fs location path components */
1549 /* find the server-side path being mounted */
1562 /* count fs location path components */
1946 * Update an NFSv4 mount path with the contents of the symlink.
1949 * Insert the link's components into the path.
2029 /* set up new path */
2067 /* move new path into place */
2125 * SECINFO, so we'll do that on the last component of the server path we are
2132 /* make a copy of the current location's path */
2206 /* look up each path component */
2304 /* add new server's remote path to beginning of our path and continue */
2331 /* free up unused parts of old path (prior components and component array) */
2336 /* put new path in place */
2348 /* if file handle is for a symlink, then update the path with the symlink contents */
2356 /* path traversal starts at beginning of the path again */
3002 * Apparently some people think a path with zero components should
3253 char fstype[MFSTYPENAMELEN], *mntfromname = NULL, *path = NULL, *relpath, *p, *cp;
3276 /* allocate a couple path buffers we need */
3282 MALLOC_ZONE(path, char *, pathbuflen, M_NAMEI, M_WAITOK);
3283 if (!path) {
3288 /* get the path for the directory being mounted on */
3289 error = vn_getpath(vp, path, &pathbuflen);
3297 * current mount's mntfromname and the directory's path
3299 * Set up relpath to point at the relative path on the current mount.
3301 * We'll be adding those to each fs location path in the new args.
3309 nlen = strlcat(mntfromname, path + strlen(vfs_statfs(nmp->nm_mountp)->f_mntonname), MAXPATHLEN);
3549 /* insert a '/' if the relative path doesn't start with one */
3554 /* add the additional relative path */
3588 error = kernel_mount(fstype, dvp, vp, path, xb_buffer_base(&xbnew), argslength,
3594 mntfromname, path, error);
3599 if (path)
3600 FREE_ZONE(path, MAXPATHLEN, M_NAMEI);
3629 * (a) this isn't the last component of the path OR
3904 nfs3_mount_rpc(struct nfsmount *nmp, struct sockaddr *sa, int sotype, int nfsvers, char *path, vfs_context_t ctx, int timeo, fhandle_t *fh, struct nfs_sec *sec)
3954 slen = strlen(path);
3956 nfsm_chain_add_name(error, &nmreq, path, slen, nmp);
3992 char *path;
4039 path = &vfs_statfs(nmp->nm_mountp)->f_mntfromname[0];
4040 while (*path && (*path != '/'))
4041 path++;
4042 slen = strlen(path);
4044 nfsm_chain_add_name(error, &nmreq, path, slen, nmp);
4416 char *path;
4466 path = &vfs_statfs(nmp->nm_mountp)->f_mntfromname[0];
4467 while (*path && (*path != '/'))
4468 path++;
4469 slen = strlen(path);
4471 nfsm_chain_add_name(error, &nmreq, path, slen, nmp);
5249 /* build exported filesystem path */
5250 snprintf(statrec.path, sizeof(statrec.path), "%s%s%s",
5302 /* copy out path */
5304 snprintf(upath_rec.path, sizeof(upath_rec.path), "%s%s%s",