Lines Matching defs:path
156 char path[PATH_MAX];
161 strlcpy(path, host_base, PATH_MAX);
162 if (path[strlen(path) - 1] == '/')
163 path[strlen(path) - 1] = 0;
164 strlcat(path, filename, PATH_MAX);
166 if (stat(path, &cf->cf_stat) < 0) {
174 cf->cf_u.dir = opendir(path);
182 cf->cf_u.fd = open(path, O_RDONLY);
595 altcons_open(char *path)
606 if (!strcmp(path, "stdio"))
609 err = stat(path, &sb);
614 fd = open(path, O_RDWR | O_NONBLOCK);
626 disk_open(char *path)
634 fd = open(path, O_RDONLY);
650 "usage: %s [-S][-c <console-device>] [-d <disk-path>] [-e <name=value>]\n"
651 " %*s [-h <host-path>] [-m memsize[K|k|M|m|G|g|T|t]] <vmname>\n",