Searched refs:path (Results 1 - 25 of 1726) sorted by path

1234567891011>>

/illumos-gate/usr/src/boot/lib/libstand/
H A Dbootparam.h4 int bp_getfile(int sock, char *key, struct in_addr *addrp, char *path);
H A Dbzipfs.c65 static int bzf_open(const char *path, struct open_file *f);
H A Dcd9660.c65 static int cd9660_open(const char *path, struct open_file *f);
74 static int dirmatch(struct open_file *f, const char *path,
229 dirmatch(struct open_file *f, const char *path, struct iso_directory_record *dp, argument
246 for (i = len; --i >= 0; path++, cp++) {
247 if (!*path || *path == '/')
249 if (*path == *cp)
251 if (!icase && toupper(*path) == *cp)
255 if (*path && *path !
274 cd9660_open(const char *path, struct open_file *f) argument
[all...]
H A Ddosfs.c45 static int dos_open(const char *path, struct open_file *fd);
254 dos_open(const char *path, struct open_file *fd) argument
268 if ((err = namede(fs, path, &de)))
557 * Return directory entry from path
560 namede(DOS_FS *fs, const char *path, DOS_DE **dep) argument
570 while (*path) {
571 while (*path == '/')
572 path++;
573 if (*path == '\0')
575 if (!(s = strchr(path, '/')))
[all...]
H A Dext2fs.c97 static int ext2fs_open(const char *path, struct open_file *f);
342 char *cp, *ncp, *path = NULL, *buf = NULL; local
423 path = strdup(upath);
424 if (path == NULL) {
428 cp = path;
447 * Get next component of path name.
543 if (path)
544 free(path);
H A Dgzipfs.c48 static int zf_open(const char *path, struct open_file *f);
H A Dnandfs.c369 nandfs_open(const char *path, struct open_file *f) argument
375 NANDFS_DEBUG("nandfs_open('%s', %p)\n", path, f);
408 node = nandfs_lookup_path(fs, path);
631 nandfs_lookup_path(struct nandfs *fs, const char *path) argument
645 strncpy(namebuf, path, MAXPATHLEN);
H A Dnfs.c93 char path[NFS_MAXPATHLEN]; member in struct:nfs_readlnk_repl
192 int nfs_open(const char *path, struct open_file *f);
219 nfs_getrootfh(struct iodesc *d, char *path, u_char *fhp) argument
224 char path[FNAME_SIZE]; member in struct:args
242 printf("nfs_getrootfh: %s\n", path);
249 len = strlen(path);
250 if (len > sizeof(args->path))
251 len = sizeof(args->path);
253 bcopy(path, args->path, le
459 char *path; local
819 nfs_getrootfh(struct iodesc *d, char *path, uint32_t *fhlenp, u_char *fhp) argument
824 char path[FNAME_SIZE]; member in struct:args
959 u_char path[NFS_MAXPATHLEN]; member in struct:repl
1101 char *path; local
[all...]
H A Dnullfs.c71 int null_open (const char *path, struct open_file *f) argument
H A Dsplitfs.c48 static int splitfs_open(const char *path, struct open_file *f);
H A Dstand.h103 int (*fo_open)(const char *path, struct open_file *f);
364 extern int null_open(const char *path, struct open_file *f);
H A Dtftp.c65 static int tftp_open(const char *path, struct open_file *f);
114 char *path; /* saved for re-requests */ member in struct:tftp_handle
294 l = strlen(h->path);
304 bcopy(h->path, wtail, l + 1);
397 tftp_open(const char *path, struct open_file *f) argument
429 pathsize = (strlen(rootpath) + 1 + strlen(path) + 1) * sizeof(char);
430 tftpfile->path = malloc(pathsize);
431 if (tftpfile->path == NULL) {
435 if (rootpath[strlen(rootpath) - 1] == '/' || path[0] == '/')
439 res = snprintf(tftpfile->path, pathsiz
[all...]
H A Dufs.c86 static int ufs_open(const char *path, struct open_file *f);
503 char *path = NULL; local
553 cp = path = strdup(upath);
554 if (path == NULL) {
577 * Get next component of path name.
680 if (path)
681 free(path);
/illumos-gate/usr/src/boot/lib/libz/
H A Dgzguts.h170 char *path; /* path or fd for error messages */ member in struct:__anon107
H A Dgzlib.c94 local gzFile gz_open(path, fd, mode)
95 const void *path;
110 if (path == NULL)
193 /* save the path name for error messages */
196 len = wcstombs(NULL, path, 0);
202 len = strlen((const char *)path);
203 state->path = (char *)malloc(len + 1);
204 if (state->path == NULL) {
211 wcstombs(state->path, path, le
291 char *path; /* identifier for error messages */ local
[all...]
H A Dgzread.c593 free(state->path);
H A Dgzwrite.c575 free(state->path);
H A Dzlib.h1227 ZEXTERN gzFile ZEXPORT gzopen OF((const char *path, const char *mode));
1753 ZEXTERN gzFile ZEXPORT gzopen_w OF((const wchar_t *path,
/illumos-gate/usr/src/boot/lib/libz/test/
H A Dminigzip.c182 gzFile gzopen(path, mode)
183 const char *path;
186 return gz_open(path, -1, mode);
196 gzFile gz_open(path, fd, mode)
197 const char *path;
222 gz->file = path == NULL ? fdopen(fd, gz->write ? "wb" : "rb") :
223 fopen(path, gz->write ? "wb" : "rb");
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dbootstrap.h287 /* Locate the device for (name), return pointer to tail in (*path) */
288 int (*arch_getdev)(void **dev, const char *name, const char **path);
H A Ddisk.c485 disk_parsedev(struct disk_devdesc *dev, const char *devspec, const char **path) argument
531 if (path != NULL)
532 *path = (*cp == '\0') ? cp: cp + 1;
H A Ddisk.h122 const char **path);
H A Dinstall.c57 char *path; local
63 path = malloc(len + rel);
64 if (path == NULL)
66 path[0] = '/';
67 strcpy(path + rel, val);
69 *what = path;
H A Dls.c64 char *buf, *path; local
89 path = "";
91 path = argv[1];
94 if (stat(path, &sb) == 0 && !S_ISDIR(sb.st_mode)) {
98 (int)sb.st_size, path);
101 typestr[sb.st_mode >> 12], path);
106 fd = ls_getdir(&path);
112 pager_output(path);
121 buf = malloc(strlen(path) + strlen(d->d_name) + 2);
122 sprintf(buf, "%s/%s", path,
159 char *path; local
[all...]
H A Dmodule.c48 char *d_path; /* path of modules directory */
93 * load -t <type> <path>
97 * load <path> <options>
420 /* locate the file on the load path */
501 /* locate file with the module on the search path */
513 * Load specified KLD. If path is omitted, then try to locate it via
514 * search path.
672 * Check if the given file is in place and return full path to it.
675 file_lookup(const char *path, const char *name, int namelen, const char **extlist) argument
682 pathlen = strlen(path);
971 char *path; local
1014 const char *path, *cp, *ep; local
[all...]

Completed in 1166 milliseconds

1234567891011>>