Lines Matching defs:path

88 	vnode_t *startvp,		/* start path search from vp */
140 struct pathname *rpnp, /* if non-NULL, return resolved path */
213 struct pathname *rpnp, /* if non-NULL, return resolved path */
366 * path. This is used to ensure that a forward-lookup of a cached value
448 * If we hit a symbolic link and there is more path to be
510 * If rpnp is non-NULL, remember the resolved path name therein.
537 * within the resolved path.
631 if (auditing) /* reached end of path */
645 * some intermediate directory along the path, then recovery
691 * The code path in domount() is an example of support
930 * Given a global path (from rootdir), and a vnode that is the current root,
931 * return the portion of the path that is beneath the current root or NULL on
932 * failure. The path MUST be a resolved path (no '..' entries or symlinks),
936 localpath(char *path, struct vnode *vrootp, cred_t *cr)
949 return (path);
951 if (pn_get(path, UIO_SYSSPACE, &pn) != 0)
979 ret = path + (pn.pn_path - pn.pn_buf);
991 * Given a directory, return the full, resolved path. This looks up "..",
993 * is used to implement vnodetopath() and getcwd() when the cached path fails.
1058 * grab the path information from the vfs_t.
1172 * we can lookup the path in the directory
1194 /* Prepend a slash to the current path. */
1204 * Place the path at the beginning of the buffer.
1216 * some intermediate directory along the path, then recovery
1239 * the cached path of '/foo/bar', and '/foo' has permissions 100 (execute
1240 * only), then we can legitimately look up the path to the current working
1242 * however, assume that we are determining the path by repeatedly looking up
1272 * which is the behavior of {cwd/root}. Trying to resolve this path
1290 * Check to see if we have a cached path in the vnode.
1304 * take additional steps, since the path to the root might not
1309 * lookuppnvp() with all privileges to get the resolved path.
1310 * call localpath() to get the local portion of the path, and
1313 * If the the conversion to a local path fails, then we continue
1318 * Most of the time, the lofs path is the same as the underlying
1343 * We should have a local path at this point, so start the