Searched defs:tmppath (Results 1 - 9 of 9) sorted by relevance

/osnet-11/usr/src/lib/libinstzones/common/
H A Dzones_lofs.c222 char tmppath[MAXPATHLEN]; local
225 if ((len = resolvepath(path, tmppath, sizeof (tmppath))) == -1)
228 tmppath[len] = '\0';
229 (void) strlcpy(path, tmppath, pathlen);
282 (void) snprintf(tmppath, sizeof (tmppath), "%s%s",
284 if ((len = resolvepath(tmppath, path, pathlen)) == -1)
/osnet-11/usr/src/lib/libkmf/libkmf/common/
H A Dmapping.c120 char *tmppath = NULL; local
140 tmppath = strdup(path);
141 if (tmppath == NULL)
145 tmppath = get_mapper_pathname(name, dir);
150 if (tmppath == NULL)
157 tmppath = strdup(map->pathname);
158 if (tmppath == NULL)
162 tmppath = get_mapper_pathname(map->mapname, map->dir);
167 if (tmppath == NULL)
188 map->curpathname = tmppath;
[all...]
/osnet-11/usr/src/lib/libast/common/path/
H A Dpathtemp.c98 char* tmppath; member in struct:__anon1176
174 if (tmp.tmppath)
175 free(tmp.tmppath);
176 tmp.tmppath = dir ? strdup(dir) : (char*)0;
189 if ((x = tmp.tmppath) || (x = getenv(TMP_PATH_ENV)))
/osnet-11/usr/src/lib/libc/port/gen/
H A Dnftw.c146 char *tmppath; member in struct:Var
311 comp = vp->tmppath;
421 rc = (*fn)(vp->tmppath, &statb, type, &vp->state);
428 if (vp->tmppath[0] != '\0' && component[-1] != '/')
451 rc = (*fn)(vp->tmppath, &statb, type, &vp->state);
485 vp->state.base = (int)(component - vp->tmppath);
511 base_tmppath = vp->tmppath - vp->home;
523 vp->tmppath = vp->home + base_tmppath;
558 vp->tmppath, strerror(errno));
568 if ((vp->tmppath[
[all...]
/osnet-11/usr/src/lib/storage/libg_fc/common/
H A Dgenf.c1140 char *tmppath; local
1196 tmppath = di_devfs_path(node);
1197 strcat(hbapathfound, tmppath);
1198 (void) free(tmppath);
/osnet-11/usr/src/lib/libpkg/common/
H A Dpkgtrans.c97 static char *tmppath; variable
375 tmppath = tmpnam(NULL);
376 tmppath = strdup(tmppath);
377 if (tmppath == NULL) {
382 if (mkdir(tmppath, 0755)) {
384 logerr(pkg_gt(MSG_MKDIR), tmppath); local
387 device2 = tmppath;
1828 if (tmppath) {
1829 /* remove any previous tmppath stuf
[all...]
/osnet-11/usr/src/lib/nsswitch/pynss/common/
H A Dnssbase.py504 tmppath = '.'.join((self.mnt_path(), str(os.getpid()))) variable
505 self.traceit('in tmp_path: tmppath= ', tmppath)
506 return tmppath
513 tmppath = self.tmp_path() variable
514 self.traceit(' opening: tmppath= ', tmppath)
515 self.tmpfd = open(tmppath, 'w+')
562 tmppath = self.tmp_path() variable
564 if os.path.exists(tmppath)
634 tmppath = self.tmp_path() variable
695 tmppath = self.tmp_path() variable
[all...]
/osnet-11/usr/src/lib/libsmb/common/
H A Dsmb_util.c783 char tmppath[MAXPATHLEN]; local
793 (void) strlcpy(tmppath, path, MAXPATHLEN);
794 cp = tmppath;
799 mntpref.mnt_mountp = tmppath;
810 if (strcmp(tmppath, "/") == 0)
813 if ((cp = strrchr(tmppath, '/')) == NULL)
821 if (tmppath[0] == '\0')
822 (void) strcpy(tmppath, "/");
824 cp = tmppath;
/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c2232 char *tmppath; local
2236 &tmppath) != 0)
2243 rsz = snprintf(physpath + pos, bytes_left, format, tmppath);

Completed in 154 milliseconds