path               48 include/ipc/exec.h 	char	path[PATH_MAX];		/* program path */
path               61 include/ipc/exec.h 	char	path[PATH_MAX];		/* program path */
path              104 include/ipc/fs.h 	char	path[PATH_MAX];		/* open file */
path              124 include/ipc/fs.h 	char	path[PATH_MAX];		/* open file */
path              134 include/ipc/fs.h 	char	path[PATH_MAX];
path              131 usr/bin/cp/cp.c 	char path[PATH_MAX];
path              140 usr/bin/cp/cp.c 		strlcpy(path, to, sizeof(path));
path              142 usr/bin/cp/cp.c 			strlcat(path, "/", sizeof(path));
path              143 usr/bin/cp/cp.c 		strlcat(path, p, sizeof(path));
path              144 usr/bin/cp/cp.c 		to = path;
path               47 usr/bin/ls/ls.c static int do_ls(char *path);
path              255 usr/bin/ls/ls.c do_ls(char *path)
path              263 usr/bin/ls/ls.c 	if (stat(path, &st) == -1)
path              268 usr/bin/ls/ls.c 		dir = opendir(path);
path              280 usr/bin/ls/ls.c 			strlcpy(buf, path, sizeof(buf));
path              302 usr/bin/ls/ls.c 		printentry(path, &st);
path               82 usr/bin/mkdir/mkdir.c build(path)
path               83 usr/bin/mkdir/mkdir.c 	char *path;
path               88 usr/bin/mkdir/mkdir.c 	p = path;
path               97 usr/bin/mkdir/mkdir.c 		if (stat(path, &sb)) {
path               99 usr/bin/mkdir/mkdir.c 			    mkdir(path, (mode_t)(S_IRWXU | S_IRWXG | S_IRWXO)) < 0) {
path              100 usr/bin/mkdir/mkdir.c 				warn("%s", path);
path               46 usr/bin/mv/mv.c 	char path[PATH_MAX];
path               71 usr/bin/mv/mv.c 		strlcpy(path, dest, sizeof(path));
path               73 usr/bin/mv/mv.c 			strlcat(path, "/", sizeof(path));
path               74 usr/bin/mv/mv.c 		strlcat(path, p, sizeof(path));
path               75 usr/bin/mv/mv.c 		dest = path;
path               23 usr/lib/libc/gen/basename.c basename(const char *path)
path               30 usr/lib/libc/gen/basename.c         if (path == NULL || *path == '\0') {
path               37 usr/lib/libc/gen/basename.c         endp = path + strlen(path) - 1;
path               38 usr/lib/libc/gen/basename.c         while (endp > path && *endp == '/')
path               42 usr/lib/libc/gen/basename.c         if (endp == path && *endp == '/') {
path               50 usr/lib/libc/gen/basename.c         while (startp > path && *(startp - 1) != '/')
path               23 usr/lib/libc/gen/dirname.c dirname(const char *path)
path               30 usr/lib/libc/gen/dirname.c         if (path == NULL || *path == '\0') {
path               37 usr/lib/libc/gen/dirname.c         endp = path + strlen(path) - 1;
path               38 usr/lib/libc/gen/dirname.c         while (endp > path && *endp == '/')
path               42 usr/lib/libc/gen/dirname.c         while (endp > path && *endp != '/')
path               46 usr/lib/libc/gen/dirname.c         if (endp == path) {
path               54 usr/lib/libc/gen/dirname.c                 } while (endp > path && *endp == '/');
path               57 usr/lib/libc/gen/dirname.c         len = endp - path + 1;
path               62 usr/lib/libc/gen/dirname.c         memcpy(dname, path, len);
path               51 usr/lib/libc/gen/execvp.c 	const char *bp, *path, *p;
path               61 usr/lib/libc/gen/execvp.c 		path = "";
path               67 usr/lib/libc/gen/execvp.c 	if (!(path = getenv("PATH")))
path               68 usr/lib/libc/gen/execvp.c 		path = _PATH_DEFPATH;
path               73 usr/lib/libc/gen/execvp.c 		for (p = path; *path != 0 && *path != ':'; path++)
path               79 usr/lib/libc/gen/execvp.c 		if (p == path) {
path               83 usr/lib/libc/gen/execvp.c 			lp = path - p;
path              123 usr/lib/libc/gen/execvp.c 	} while (*path++ == ':');	/* Otherwise, *path was NUL */
path               60 usr/lib/libc/gen/fts.c #define	CHDIR(sp, path)	(!ISSET(FTS_NOCHDIR) && chdir(path))
path              563 usr/lib/libc/gen/fts.c #define __opendir2(path, flag) opendir(path)
path               41 usr/lib/libc/stdio/mktemp.c mkstemp(path)
path               42 usr/lib/libc/stdio/mktemp.c 	char *path;
path               46 usr/lib/libc/stdio/mktemp.c 	return (_gettemp(path, &fd) ? fd : -1);
path               50 usr/lib/libc/stdio/mktemp.c mktemp(path)
path               51 usr/lib/libc/stdio/mktemp.c 	char *path;
path               53 usr/lib/libc/stdio/mktemp.c 	return(_gettemp(path, (int *)NULL) ? path : (char *)NULL);
path               57 usr/lib/libc/stdio/mktemp.c _gettemp(path, doopen)
path               58 usr/lib/libc/stdio/mktemp.c 	char *path;
path               67 usr/lib/libc/stdio/mktemp.c 	for (trv = path; *trv; ++trv);		/* extra X's get set to 0's */
path               78 usr/lib/libc/stdio/mktemp.c 		if (trv <= path)
path               82 usr/lib/libc/stdio/mktemp.c 			if (stat(path, &sbuf))
path               96 usr/lib/libc/stdio/mktemp.c 			    open(path, O_CREAT|O_EXCL|O_RDWR, 0600)) >= 0)
path              101 usr/lib/libc/stdio/mktemp.c 		else if (stat(path, &sbuf))
path               50 usr/lib/posix/exec/execve.c execve(const char *path, char * const *argv, char * const *envp)
path               61 usr/lib/posix/exec/execve.c 	if (path == NULL)
path              103 usr/lib/posix/exec/execve.c 	strlcpy(msg.path, path, PATH_MAX);
path               36 usr/lib/posix/file/access.c access(const char *path, int mode)
path               42 usr/lib/posix/file/access.c 	strlcpy(m.path, (char *)path, PATH_MAX);
path               39 usr/lib/posix/file/chdir.c chdir(char *path)
path               43 usr/lib/posix/file/chdir.c 	if (path == NULL) {
path               48 usr/lib/posix/file/chdir.c 	strlcpy(m.path, (char *)path, PATH_MAX);
path               37 usr/lib/posix/file/chmod.c chmod(const char *path, mode_t mode)
path               37 usr/lib/posix/file/chown.c chown(const char *path, uid_t owner, gid_t group)
path               50 usr/lib/posix/file/getcwd.c 	strlcpy(buf, m.path, PATH_MAX);
path               52 usr/lib/posix/file/link.c 	strlcpy(m.path, oldpath, PATH_MAX);
path               40 usr/lib/posix/file/lstat.c lstat(const char *path, struct stat *st)
path               42 usr/lib/posix/file/lstat.c 	return stat(path, st);
path               40 usr/lib/posix/file/mkdir.c mkdir(const char *path, mode_t mode)
path               47 usr/lib/posix/file/mkdir.c 	strlcpy(m.path, (char *)path, PATH_MAX);
path               40 usr/lib/posix/file/mknod.c mknod(const char *path, mode_t mode, dev_t dev)
path               47 usr/lib/posix/file/mknod.c 	strlcpy(m.path, (char *)path, PATH_MAX);
path               40 usr/lib/posix/file/open.c open(const char *path, int flags, ...)
path               53 usr/lib/posix/file/open.c 	strlcpy(m.path, (char *)path, PATH_MAX);
path               50 usr/lib/posix/file/opendir.c 	strlcpy(m.path, (char *)name, PATH_MAX);
path               52 usr/lib/posix/file/rename.c 	strlcpy(m.path, oldpath, PATH_MAX);
path               39 usr/lib/posix/file/rmdir.c rmdir(char *path)
path               43 usr/lib/posix/file/rmdir.c 	if (path == NULL) {
path               47 usr/lib/posix/file/rmdir.c 	if (strlen(path) >= PATH_MAX) {
path               52 usr/lib/posix/file/rmdir.c 	strlcpy(m.path, path, PATH_MAX);
path               40 usr/lib/posix/file/stat.c stat(const char *path, struct stat *st)
path               45 usr/lib/posix/file/stat.c 	strlcpy(m.path, (char *)path, PATH_MAX);
path               38 usr/lib/posix/file/truncate.c truncate(const char *path, off_t length)
path               44 usr/lib/posix/file/truncate.c 	strlcpy(m.path, (char *)path, PATH_MAX);
path               45 usr/lib/posix/file/umount.c 	strlcpy(m.path, (char *)dir, PATH_MAX);
path               39 usr/lib/posix/file/unlink.c unlink(char *path)
path               43 usr/lib/posix/file/unlink.c 	if (path == NULL || strlen(path) >= PATH_MAX) {
path               48 usr/lib/posix/file/unlink.c 	strlcpy(m.path, path, PATH_MAX);
path              115 usr/sbin/install/install.c 	char path[PATH_MAX];
path              123 usr/sbin/install/install.c 	strlcpy(path, to, sizeof(path));
path              124 usr/sbin/install/install.c 	strlcat(path, "/", sizeof(path));
path              125 usr/sbin/install/install.c 	strlcat(path, p, sizeof(path));
path              126 usr/sbin/install/install.c 	to = path;
path              223 usr/server/boot/boot.c 	strlcpy(msg.path, "/boot/init", sizeof(msg.path));
path              297 usr/server/boot/boot.c 	strlcpy(bm.path, "/boot/boot", sizeof(bm.path));
path               59 usr/server/exec/exec.h 	char	*path;			/* path name */
path               45 usr/server/exec/exec_cap.c bind_cap(char *path, task_t task)
path               56 usr/server/exec/exec_cap.c 		if (!strncmp(path, map->c_path, PATH_MAX)) {
path               63 usr/server/exec/exec_cap.c 		DPRINTF(("exec: set capability:%08x to %s\n", cap, path));
path               81 usr/server/exec/exec_cap.c 	if (msg->path == NULL)
path               94 usr/server/exec/exec_cap.c 	bind_cap(msg->path, task);
path              341 usr/server/exec/exec_elf.c 	if (access(exec->path, X_OK) == -1) {
path              346 usr/server/exec/exec_elf.c 	if ((fd = open(exec->path, O_RDONLY)) == -1)
path               79 usr/server/exec/exec_execve.c 	char path[PATH_MAX];
path               83 usr/server/exec/exec_execve.c 	DPRINTF(("exec_execve: path=%s task=%x\n", msg->path, msg->hdr.task));
path               90 usr/server/exec/exec_execve.c 	if ((error = conv_path(msg->cwd, msg->path, path)) != 0) {
path               98 usr/server/exec/exec_execve.c 	if (access(path, X_OK) == -1) {
path              104 usr/server/exec/exec_execve.c 	exec.path = path;
path              113 usr/server/exec/exec_execve.c 	DPRINTF(("exec: read header for %s\n", exec.path));
path              114 usr/server/exec/exec_execve.c 	if ((error = read_header(exec.path)) != 0)
path              144 usr/server/exec/exec_execve.c 	if (access(exec.path, X_OK) == -1) {
path              164 usr/server/exec/exec_execve.c 	if (*exec.path != '\0')
path              165 usr/server/exec/exec_execve.c 		task_setname(new_task, basename(exec.path));
path              170 usr/server/exec/exec_execve.c 	bind_cap(exec.path, new_task);
path              183 usr/server/exec/exec_execve.c 	if ((error = build_args(new_task, stack, exec.path, msg,
path              233 usr/server/exec/exec_execve.c conv_path(char *cwd, char *path, char *full)
path              238 usr/server/exec/exec_execve.c 	path[PATH_MAX - 1] = '\0';
path              239 usr/server/exec/exec_execve.c 	len = strlen(path);
path              244 usr/server/exec/exec_execve.c 	src = path;
path              247 usr/server/exec/exec_execve.c 	if (path[0] == '/') {
path              254 usr/server/exec/exec_execve.c 		if (len > 1 && path[0] != '.') {
path              314 usr/server/exec/exec_execve.c build_args(task_t task, void *stack, char *path, struct exec_msg *msg,
path              344 usr/server/exec/exec_execve.c 	sp -= strlen(path);
path              346 usr/server/exec/exec_execve.c 	strlcpy((char *)sp, path, PATH_MAX);
path              443 usr/server/exec/exec_execve.c read_header(char *path)
path              451 usr/server/exec/exec_execve.c 	if ((fd = open(path, O_RDONLY)) == -1)
path               98 usr/server/exec/exec_script.c 	strlcpy(script, exec->path, sizeof(script));
path               99 usr/server/exec/exec_script.c 	exec->path = interp;
path              117 usr/server/fs/devfs/devfs_vnops.c 	char *path;
path              123 usr/server/fs/devfs/devfs_vnops.c 	path = vp->v_path;
path              124 usr/server/fs/devfs/devfs_vnops.c 	if (!strcmp(path, "/"))	/* root ? */
path              131 usr/server/fs/devfs/devfs_vnops.c 	if (*path == '/')
path              132 usr/server/fs/devfs/devfs_vnops.c 		path++;
path              133 usr/server/fs/devfs/devfs_vnops.c 	error = device_open(path, flags & DO_RWMASK, &dev);
path              136 usr/server/fs/devfs/devfs_vnops.c 			 path, error));
path              116 usr/server/fs/vfs/main.c 	return sys_umount(msg->path);
path              129 usr/server/fs/vfs/main.c 	char path[PATH_MAX];
path              150 usr/server/fs/vfs/main.c 	if ((error = task_conv(t, msg->path, acc, path)) != 0)
path              153 usr/server/fs/vfs/main.c 	if ((error = sys_open(path, msg->flags, msg->mode, &fp)) != 0)
path              187 usr/server/fs/vfs/main.c 	char path[PATH_MAX];
path              190 usr/server/fs/vfs/main.c 	if ((error = task_conv(t, msg->path, VWRITE, path)) != 0)
path              193 usr/server/fs/vfs/main.c 	return sys_mknod(path, msg->mode);
path              293 usr/server/fs/vfs/main.c 	char path[PATH_MAX];
path              302 usr/server/fs/vfs/main.c 	if ((error = task_conv(t, msg->path, VREAD, path)) != 0)
path              305 usr/server/fs/vfs/main.c 	if ((error = sys_opendir(path, &fp)) != 0)
path              386 usr/server/fs/vfs/main.c 	char path[PATH_MAX];
path              389 usr/server/fs/vfs/main.c 	if ((error = task_conv(t, msg->path, VWRITE, path)) != 0)
path              392 usr/server/fs/vfs/main.c 	return sys_mkdir(path, msg->mode);
path              398 usr/server/fs/vfs/main.c 	char path[PATH_MAX];
path              401 usr/server/fs/vfs/main.c 	if (msg->path == NULL)
path              403 usr/server/fs/vfs/main.c 	if ((error = task_conv(t, msg->path, VWRITE, path)) != 0)
path              406 usr/server/fs/vfs/main.c 	return sys_rmdir(path);
path              416 usr/server/fs/vfs/main.c 	if (msg->path == NULL || msg->path2 == NULL)
path              419 usr/server/fs/vfs/main.c 	if ((error = task_conv(t, msg->path, VREAD, src)) != 0)
path              431 usr/server/fs/vfs/main.c 	char path[PATH_MAX];
path              435 usr/server/fs/vfs/main.c 	if (msg->path == NULL)
path              437 usr/server/fs/vfs/main.c 	if ((error = task_conv(t, msg->path, VREAD, path)) != 0)
path              441 usr/server/fs/vfs/main.c 	if ((error = sys_opendir(path, &fp)) != 0)
path              446 usr/server/fs/vfs/main.c 	strlcpy(t->t_cwd, path, sizeof(t->t_cwd));
path              476 usr/server/fs/vfs/main.c 	char path[PATH_MAX];
path              479 usr/server/fs/vfs/main.c 	if (msg->path == NULL)
path              481 usr/server/fs/vfs/main.c 	if ((error = task_conv(t, msg->path, VWRITE, path)) != 0)
path              484 usr/server/fs/vfs/main.c 	return sys_unlink(path);
path              490 usr/server/fs/vfs/main.c 	char path[PATH_MAX];
path              494 usr/server/fs/vfs/main.c 	error = task_conv(t, msg->path, 0, path);
path              497 usr/server/fs/vfs/main.c 		error = sys_stat(path, st);
path              506 usr/server/fs/vfs/main.c 	strlcpy(msg->path, t->t_cwd, sizeof(msg->path));
path              621 usr/server/fs/vfs/main.c 	char path[PATH_MAX];
path              631 usr/server/fs/vfs/main.c 	if ((error = task_conv(t, msg->path, acc, path)) != 0)
path              634 usr/server/fs/vfs/main.c 	return sys_access(path, mode);
path              762 usr/server/fs/vfs/main.c 	char path[PATH_MAX];
path              776 usr/server/fs/vfs/main.c 	sprintf(path, "/mnt/fifo/pipe-%x-%d", (u_int)t->t_taskid, rfd);
path              778 usr/server/fs/vfs/main.c 	if ((error = sys_mknod(path, S_IFIFO)) != 0)
path              780 usr/server/fs/vfs/main.c 	if ((error = sys_open(path, O_RDONLY | O_NONBLOCK, 0, &rfp)) != 0) {
path              783 usr/server/fs/vfs/main.c 	if ((error = sys_open(path, O_WRONLY | O_NONBLOCK, 0, &wfp)) != 0) {
path              822 usr/server/fs/vfs/main.c 	char path[PATH_MAX];
path              825 usr/server/fs/vfs/main.c 	if (msg->path == NULL)
path              827 usr/server/fs/vfs/main.c 	if ((error = task_conv(t, msg->path, VWRITE, path)) != 0)
path              830 usr/server/fs/vfs/main.c 	return sys_truncate(path, msg->data[0]);
path              865 usr/server/fs/vfs/main.c 	strlcpy(bm.path, "/boot/fs", sizeof(bm.path));
path               94 usr/server/fs/vfs/vfs.h int	 sys_open(char *path, int flags, mode_t mode, file_t *pfp);
path              104 usr/server/fs/vfs/vfs.h int	 sys_opendir(char *path, file_t * file);
path              110 usr/server/fs/vfs/vfs.h int	 sys_fchdir(file_t fp, char *path);
path              112 usr/server/fs/vfs/vfs.h int	 sys_mkdir(char *path, mode_t mode);
path              113 usr/server/fs/vfs/vfs.h int	 sys_rmdir(char *path);
path              114 usr/server/fs/vfs/vfs.h int	 sys_mknod(char *path, mode_t mode);
path              116 usr/server/fs/vfs/vfs.h int	 sys_unlink(char *path);
path              117 usr/server/fs/vfs/vfs.h int	 sys_access(char *path, int mode);
path              118 usr/server/fs/vfs/vfs.h int	 sys_stat(char *path, struct stat *st);
path              119 usr/server/fs/vfs/vfs.h int	 sys_truncate(char *path, off_t length);
path              122 usr/server/fs/vfs/vfs.h int	 sys_umount(char *path);
path              137 usr/server/fs/vfs/vfs.h int	 task_conv(struct task *t, char *path, int mode, char *full);
path              140 usr/server/fs/vfs/vfs.h int	 sec_file_permission(task_t task, char *path, int mode);
path              141 usr/server/fs/vfs/vfs.h int	 sec_vnode_permission(char *path);
path              143 usr/server/fs/vfs/vfs.h int	 namei(char *path, vnode_t *vpp);
path              144 usr/server/fs/vfs/vfs.h int	 lookup(char *path, vnode_t *vpp, char **name);
path              147 usr/server/fs/vfs/vfs.h int	 vfs_findroot(char *path, mount_t *mp, char **root);
path               51 usr/server/fs/vfs/vfs_lookup.c namei(char *path, vnode_t *vpp)
path               60 usr/server/fs/vfs/vfs_lookup.c 	DPRINTF(VFSDB_VNODE, ("namei: path=%s\n", path));
path               66 usr/server/fs/vfs/vfs_lookup.c 	if (vfs_findroot(path, &mp, &p))
path              131 usr/server/fs/vfs/vfs_lookup.c 	if (vp->v_type != VDIR && sec_vnode_permission(path) != 0) {
path              150 usr/server/fs/vfs/vfs_lookup.c lookup(char *path, vnode_t *vpp, char **name)
path              158 usr/server/fs/vfs/vfs_lookup.c 	DPRINTF(VFSDB_VNODE, ("lookup: path=%s\n", path));
path              163 usr/server/fs/vfs/vfs_lookup.c 	strlcpy(buf, path, sizeof(buf));
path              187 usr/server/fs/vfs/vfs_lookup.c 	*name = strrchr(path, '/') + 1;
path              212 usr/server/fs/vfs/vfs_mount.c sys_umount(char *path)
path              218 usr/server/fs/vfs/vfs_mount.c 	DPRINTF(VFSDB_SYSCALL, ("sys_umount: path=%s\n", path));
path              226 usr/server/fs/vfs/vfs_mount.c 		if (!strcmp(path, mp->m_path))
path              285 usr/server/fs/vfs/vfs_mount.c count_match(char *path, char *mount_root)
path              289 usr/server/fs/vfs/vfs_mount.c 	while (*path && *mount_root) {
path              290 usr/server/fs/vfs/vfs_mount.c 		if (*path++ != *mount_root++)
path              297 usr/server/fs/vfs/vfs_mount.c 	if (len == 1 && *(path - 1) == '/')
path              300 usr/server/fs/vfs/vfs_mount.c 	if (*path == '\0' || *path == '/')
path              312 usr/server/fs/vfs/vfs_mount.c vfs_findroot(char *path, mount_t *mp, char **root)
path              318 usr/server/fs/vfs/vfs_mount.c 	if (!path)
path              327 usr/server/fs/vfs/vfs_mount.c 		len = count_match(path, tmp->m_path);
path              336 usr/server/fs/vfs/vfs_mount.c 	*root = (char *)(path + max_len);
path              113 usr/server/fs/vfs/vfs_security.c 	char	*path;			/* directory name */
path              160 usr/server/fs/vfs/vfs_security.c sec_file_permission(task_t task, char *path, int acc)
path              173 usr/server/fs/vfs/vfs_security.c 	while (map->path != NULL) {
path              174 usr/server/fs/vfs/vfs_security.c 		if (!strncmp(path, map->path, map->len)) {
path              196 usr/server/fs/vfs/vfs_security.c 			 path, map->cap_read, map->cap_write, map->cap_exec));
path              203 usr/server/fs/vfs/vfs_security.c 			 acc, task, path));
path              212 usr/server/fs/vfs/vfs_security.c sec_vnode_permission(char *path)
path              221 usr/server/fs/vfs/vfs_security.c 	while (map->path != NULL) {
path              222 usr/server/fs/vfs/vfs_security.c 		if (!strncmp(path, map->path, map->len)) {
path               55 usr/server/fs/vfs/vfs_syscalls.c sys_open(char *path, int flags, mode_t mode, file_t *pfp)
path               63 usr/server/fs/vfs/vfs_syscalls.c 				path, flags, mode));
path               69 usr/server/fs/vfs/vfs_syscalls.c 		error = namei(path, &vp);
path               72 usr/server/fs/vfs/vfs_syscalls.c 			if ((error = lookup(path, &dvp, &filename)) != 0)
path               84 usr/server/fs/vfs/vfs_syscalls.c 			if ((error = namei(path, &vp)) != 0)
path               99 usr/server/fs/vfs/vfs_syscalls.c 		if ((error = namei(path, &vp)) != 0)
path              322 usr/server/fs/vfs/vfs_syscalls.c check_dir_empty(char *path)
path              330 usr/server/fs/vfs/vfs_syscalls.c 	if ((error = sys_opendir(path, &fp)) != 0)
path              348 usr/server/fs/vfs/vfs_syscalls.c sys_opendir(char *path, file_t *file)
path              354 usr/server/fs/vfs/vfs_syscalls.c 	DPRINTF(VFSDB_SYSCALL, ("sys_opendir: path=%s\n", path));
path              356 usr/server/fs/vfs/vfs_syscalls.c 	if ((error = sys_open(path, O_RDONLY, 0, &fp)) != 0)
path              461 usr/server/fs/vfs/vfs_syscalls.c sys_mkdir(char *path, mode_t mode)
path              467 usr/server/fs/vfs/vfs_syscalls.c 	DPRINTF(VFSDB_SYSCALL, ("sys_mkdir: path=%s mode=%d\n",	path, mode));
path              469 usr/server/fs/vfs/vfs_syscalls.c 	if ((error = namei(path, &vp)) == 0) {
path              476 usr/server/fs/vfs/vfs_syscalls.c 	if ((error = lookup(path, &dvp, &name)) != 0) {
path              492 usr/server/fs/vfs/vfs_syscalls.c sys_rmdir(char *path)
path              498 usr/server/fs/vfs/vfs_syscalls.c 	DPRINTF(VFSDB_SYSCALL, ("sys_rmdir: path=%s\n", path));
path              500 usr/server/fs/vfs/vfs_syscalls.c 	if ((error = check_dir_empty(path)) != 0)
path              502 usr/server/fs/vfs/vfs_syscalls.c 	if ((error = namei(path, &vp)) != 0)
path              514 usr/server/fs/vfs/vfs_syscalls.c 	if ((error = lookup(path, &dvp, &name)) != 0)
path              529 usr/server/fs/vfs/vfs_syscalls.c sys_mknod(char *path, mode_t mode)
path              535 usr/server/fs/vfs/vfs_syscalls.c 	DPRINTF(VFSDB_SYSCALL, ("sys_mknod: path=%s mode=%d\n",	path, mode));
path              548 usr/server/fs/vfs/vfs_syscalls.c 	if ((error = namei(path, &vp)) == 0) {
path              553 usr/server/fs/vfs/vfs_syscalls.c 	if ((error = lookup(path, &dvp, &name)) != 0)
path              655 usr/server/fs/vfs/vfs_syscalls.c sys_unlink(char *path)
path              661 usr/server/fs/vfs/vfs_syscalls.c 	DPRINTF(VFSDB_SYSCALL, ("sys_unlink: path=%s\n", path));
path              663 usr/server/fs/vfs/vfs_syscalls.c 	if ((error = namei(path, &vp)) != 0)
path              676 usr/server/fs/vfs/vfs_syscalls.c 	if ((error = lookup(path, &dvp, &name)) != 0)
path              691 usr/server/fs/vfs/vfs_syscalls.c sys_access(char *path, int mode)
path              696 usr/server/fs/vfs/vfs_syscalls.c 	DPRINTF(VFSDB_SYSCALL, ("sys_access: path=%s mode=%x\n", path, mode));
path              699 usr/server/fs/vfs/vfs_syscalls.c 	if ((error = namei(path, &vp)) != 0)
path              717 usr/server/fs/vfs/vfs_syscalls.c sys_stat(char *path, struct stat *st)
path              722 usr/server/fs/vfs/vfs_syscalls.c 	DPRINTF(VFSDB_SYSCALL, ("sys_stat: path=%s\n", path));
path              724 usr/server/fs/vfs/vfs_syscalls.c 	if ((error = namei(path, &vp)) != 0)
path              732 usr/server/fs/vfs/vfs_syscalls.c sys_truncate(char *path, off_t length)
path              224 usr/server/fs/vfs/vfs_task.c task_conv(struct task *t, char *path, int acc, char *full)
path              230 usr/server/fs/vfs/vfs_task.c 	path[PATH_MAX - 1] = '\0';
path              231 usr/server/fs/vfs/vfs_task.c 	len = strlen(path);
path              236 usr/server/fs/vfs/vfs_task.c 	src = path;
path              239 usr/server/fs/vfs/vfs_task.c 	if (path[0] == '/') {
path              246 usr/server/fs/vfs/vfs_task.c 		if (len > 1 && path[0] != '.') {
path               89 usr/server/fs/vfs/vfs_vnode.c vn_hash(mount_t mp, char *path)
path               93 usr/server/fs/vfs/vfs_vnode.c 	if (path) {
path               94 usr/server/fs/vfs/vfs_vnode.c 		while (*path)
path               95 usr/server/fs/vfs/vfs_vnode.c 			val = ((val << 5) + val) + *path++;
path              105 usr/server/fs/vfs/vfs_vnode.c vn_lookup(mount_t mp, char *path)
path              111 usr/server/fs/vfs/vfs_vnode.c 	head = &vnode_table[vn_hash(mp, path)];
path              115 usr/server/fs/vfs/vfs_vnode.c 		    !strncmp(vp->v_path, path, PATH_MAX)) {
path              161 usr/server/fs/vfs/vfs_vnode.c vget(mount_t mp, char *path)
path              167 usr/server/fs/vfs/vfs_vnode.c 	DPRINTF(VFSDB_VNODE, ("vget: %s\n", path));
path              173 usr/server/fs/vfs/vfs_vnode.c 	len = strlen(path) + 1;
path              181 usr/server/fs/vfs/vfs_vnode.c 	strlcpy(vp->v_path, path, len);
path              199 usr/server/fs/vfs/vfs_vnode.c 	list_insert(&vnode_table[vn_hash(mp, path)], &vp->v_link);
path              418 usr/server/pow/pow.c 	strlcpy(bm.path, "/boot/pow", sizeof(bm.path));
path              424 usr/server/proc/main.c 	strlcpy(m.path, "/boot/proc", sizeof(m.path));
path               46 usr/test/creat/creat.c static char path[128];
path               55 usr/test/creat/creat.c 	sprintf(path, "t%05d", pid);
path               56 usr/test/creat/creat.c 	if (mkdir(path, 0770) < 0)
path               57 usr/test/creat/creat.c 		err(1, "mkdir(%s)", path);
path               58 usr/test/creat/creat.c 	if (chdir(path) == -1)
path               59 usr/test/creat/creat.c 		err(1, "chdir(%s)", path);