Searched defs:basepath (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/libpkg/common/
H A Dmappath.c155 basepath(char *path, char *basedir, char *ir) function
/illumos-gate/usr/src/cmd/hotplugd/
H A Dhotplugd_info.c72 char *basepath; local
82 if ((basepath = base_path(path)) == NULL)
86 if ((rv = copy_devinfo(basepath, connection, flags, &root)) != 0) {
88 free(basepath);
95 free(basepath);
100 if (strcmp(basepath, "/") == 0) {
112 child->hp_basepath = basepath;
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnftw.c636 const char *basepath; local
640 basepath = get_unrooted(path);
644 basepath = path;
649 return (fstatat(fd, basepath, statp, flags));
659 const char *basepath; local
663 basepath = get_unrooted(path);
667 basepath = path;
672 return (fstatat(fd, basepath, statp, flags | AT_SYMLINK_NOFOLLOW));
/illumos-gate/usr/src/lib/libhotplug/common/
H A Dlibhotplug.c128 char *basepath; local
139 basepath = root->hp_basepath;
142 free(basepath);
780 char *basepath = NULL; local
808 if ((basepath = strdup(val_string)) == NULL)
832 if (basepath)
833 free(basepath);
842 if (basepath) {
844 root->hp_basepath = basepath;
/illumos-gate/usr/src/tools/findunref/
H A Dfindunref.c283 char basepath[MAXPATHLEN]; local
307 (void) strlcpy(basepath, path, MAXPATHLEN);
314 slash = strrchr(basepath, '/');
324 (void) snprintf(scmpath, MAXPATHLEN, "%s/%s", basepath,
333 (void) strlcpy(scmdata.root, basepath, MAXPATHLEN);
/illumos-gate/usr/src/cmd/fs.d/ufs/fssnap/
H A Dfssnap.c63 void gen_backing_store_path(char *basepath, int num, char **outpath);
525 gen_backing_store_path(char *basepath, int num, char **outpath) argument
528 *outpath = malloc(strlen(basepath) + MAX_SUFFIX);
540 (void) strcpy(*outpath, basepath);
542 (void) sprintf(*outpath, "%s.%d", basepath, num);

Completed in 83 milliseconds