Lines Matching defs:path

87 	vnode_t *startvp,		/* start path search from vp */
139 struct pathname *rpnp, /* if non-NULL, return resolved path */
212 struct pathname *rpnp, /* if non-NULL, return resolved path */
365 * path. This is used to ensure that a forward-lookup of a cached value
447 * If we hit a symbolic link and there is more path to be
499 * If rpnp is non-NULL, remember the resolved path name therein.
526 * within the resolved path.
620 if (auditing) /* reached end of path */
634 * some intermediate directory along the path, then recovery
680 * The code path in domount() is an example of support
919 * Given a global path (from rootdir), and a vnode that is the current root,
920 * return the portion of the path that is beneath the current root or NULL on
921 * failure. The path MUST be a resolved path (no '..' entries or symlinks),
925 localpath(char *path, struct vnode *vrootp, cred_t *cr)
938 return (path);
940 if (pn_get(path, UIO_SYSSPACE, &pn) != 0)
968 ret = path + (pn.pn_path - pn.pn_buf);
980 * Given a directory, return the full, resolved path. This looks up "..",
982 * is used to implement vnodetopath() and getcwd() when the cached path fails.
1047 * grab the path information from the vfs_t.
1161 * we can lookup the path in the directory
1169 * Try to obtain the path component from dnlc cache
1175 * then the answered path is correct.
1187 /* Prepend a slash to the current path */
1215 /* Prepend a slash to the current path. */
1225 * Place the path at the beginning of the buffer.
1237 * some intermediate directory along the path, then recovery
1260 * the cached path of '/foo/bar', and '/foo' has permissions 100 (execute
1261 * only), then we can legitimately look up the path to the current working
1263 * however, assume that we are determining the path by repeatedly looking up
1275 char path[MAXNAMELEN];
1294 * which is the behavior of {cwd/root}. Trying to resolve this path
1312 * Check to see if we have a cached path in the vnode.
1326 * take additional steps, since the path to the root might not
1331 * lookuppnvp() with all privileges to get the resolved path.
1332 * call localpath() to get the local portion of the path, and
1335 * If the the conversion to a local path fails, then we continue
1340 * Most of the time, the lofs path is the same as the underlying
1365 * We should have a local path at this point, so start the
1415 * directory search to find the full path.
1417 if ((pvp = dnlc_reverse_lookup(vp, path, MAXNAMELEN)) != NULL) {
1420 * we can lookup the path in the directory
1432 if (len + strlen(path) + 1 >= buflen) {
1437 bcopy(path, buf + len,
1438 strlen(path) + 1);