Home
last modified time | relevance | path

Searched refs:basepath (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/cmd/hotplugd/
H A Dhotplugd_info.c72 char *basepath; in getinfo() local
82 if ((basepath = base_path(path)) == NULL) in getinfo()
86 if ((rv = copy_devinfo(basepath, connection, flags, &root)) != 0) { in getinfo()
88 free(basepath); in getinfo()
95 free(basepath); in getinfo()
100 if (strcmp(basepath, "/") == 0) { in getinfo()
112 child->hp_basepath = basepath; in getinfo()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnftw.c634 const char *basepath; in nocdstat() local
638 basepath = get_unrooted(path); in nocdstat()
642 basepath = path; in nocdstat()
647 return (fstatat(fd, basepath, statp, flags)); in nocdstat()
657 const char *basepath; in nocdlstat() local
661 basepath = get_unrooted(path); in nocdlstat()
665 basepath = path; in nocdlstat()
670 return (fstatat(fd, basepath, statp, flags | AT_SYMLINK_NOFOLLOW)); in nocdlstat()
/illumos-gate/usr/src/tools/findunref/
H A Dfindunref.c287 char basepath[MAXPATHLEN]; in chdir_scmdata() local
311 (void) strlcpy(basepath, path, MAXPATHLEN); in chdir_scmdata()
318 slash = strrchr(basepath, '/'); in chdir_scmdata()
328 (void) snprintf(scmpath, MAXPATHLEN, "%s/%s", basepath, in chdir_scmdata()
337 (void) strlcpy(scmdata.root, basepath, MAXPATHLEN); in chdir_scmdata()
/illumos-gate/usr/src/lib/libhotplug/common/
H A Dlibhotplug.c128 char *basepath; in hp_fini() local
139 basepath = root->hp_basepath; in hp_fini()
142 free(basepath); in hp_fini()
780 char *basepath = NULL; in hp_unpack() local
808 if ((basepath = strdup(val_string)) == NULL) in hp_unpack()
832 if (basepath) in hp_unpack()
833 free(basepath); in hp_unpack()
842 if (basepath) { in hp_unpack()
844 root->hp_basepath = basepath; in hp_unpack()
/illumos-gate/usr/src/cmd/fs.d/ufs/fssnap/
H A Dfssnap.c61 void gen_backing_store_path(char *basepath, int num, char **outpath);
523 gen_backing_store_path(char *basepath, int num, char **outpath) in gen_backing_store_path() argument
526 *outpath = malloc(strlen(basepath) + MAX_SUFFIX); in gen_backing_store_path()
538 (void) strcpy(*outpath, basepath); in gen_backing_store_path()
540 (void) sprintf(*outpath, "%s.%d", basepath, num); in gen_backing_store_path()
/illumos-gate/usr/src/cmd/svr4pkg/pkgchk/
H A Dckentry.c73 basepath(ept->path, maptyp ? NULL : basedir, ir); in ckentry()
82 basepath(ept->ainfo.local, NULL, ir); in ckentry()
/illumos-gate/usr/src/lib/libpkg/common/
H A Dmappath.c155 basepath(char *path, char *basedir, char *ir) in basepath() function
H A Dmapfile-vers52 basepath;
H A Dpkglib.h462 extern void basepath(char *path, char *basedir, char *ir);
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Ddockspace.c384 basepath(path, get_basedir(), get_inst_root()); in readspace()
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/
H A Dmkpkgmap.c394 basepath(temp, dname[nfp], NULL); in findfile()
/illumos-gate/usr/src/uts/common/smbsrv/ndl/
H A Dsrvsvc.ndl471 IN DWORD basepath;