Searched defs:tpath (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/lib/efcode/fcdriver/
H A Dload_node.c117 char *tpath, *fpath; local
123 tpath = MALLOC(strlen(p) + strlen(name) + 2);
124 sprintf(tpath, "%s/%s", p, name);
125 if ((*fn)(tpath)) {
127 return (tpath);
129 FREE(tpath);
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Ddockspace.c194 char tpath[PATH_MAX]; local
214 (void) sprintf(tpath, "%s/%s", pkgloc, ept->path);
216 (void) sprintf(tpath, "%s/install/%s", pkgloc,
221 ext->fsys_value = fsys(tpath);
229 ext->fsys_base = resolved_fsys(tpath);
288 ext->fsys_base = resolved_fsys(tpath);
304 strcpy(tpath, server_map(ept->path, ext->fsys_value));
306 strcpy(tpath, ept->path);
309 if (stat(tpath, &statbuf)) {
H A Dreqexec.c141 char tpath[PATH_MAX]; local
144 (void) strlcpy(tpath, path, sizeof (tpath));
156 r = copyf(tpath, resppath, (time_t)0);
158 progerr(ERR_NORESPCOPY, tpath, resppath);
/illumos-gate/usr/src/lib/efcode/engine/
H A Dpackage.c591 char *tpath, *fpath; local
606 tpath = MALLOC(strlen(p) + strlen(start) + 2);
607 sprintf(tpath, "%s/%s", p, start);
608 if ((d = match_package_path(env, tpath)) != NULL) {
610 FREE(tpath);
613 FREE(tpath);
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddisk_link.c600 char *s, tpath[PATH_MAX + 1]; local
609 (void) snprintf(tpath, sizeof (tpath), "%s/dev/%s",
611 if (lstat(tpath, &sb) != -1)
H A Ddevfsadm.c2600 char *tpath; local
2612 tpath = primary_link;
2615 while (*fpath == *tpath && *fpath != '\0') {
2616 fpath++, tpath++;
2632 while (tpath != primary_link && *(tpath-1) != '/') {
2633 tpath--;
2635 (void) strcpy(op, tpath);
/illumos-gate/usr/src/cmd/chmod/
H A Dchmod.c1075 char *tpath = NULL; local
1096 tpath = strdup(file);
1097 parentd = dirname(tpath);
1105 if (tpath != NULL) {
1106 free(tpath);
1121 if (tpath != NULL) {
1122 free(tpath);
1134 free(tpath);
/illumos-gate/usr/src/ucbcmd/shutdown/
H A Dshutdown.c106 char tpath[] = "/dev/"; variable
114 char term[sizeof tpath + sizeof (utmpx->ut_line)];
354 (void) strcpy(term, tpath);
/illumos-gate/usr/src/cmd/tar/
H A Dtar.c5873 char *tpath; local
5895 if ((tpath = calloc(1, pathlen)) == NULL) {
5908 (void) snprintf(tpath, pathlen, "%s%s%s",
5926 free(tpath);
5943 (*attrinfo)->attr_path = tpath;
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c2456 char tpath[PATH_MAX]; local
2465 (void) snprintf(tpath, sizeof (tpath), "%s/%s",
2467 if (stat(tpath, &sb) == 0) {
2469 (void) rmdir_r(tpath);
2471 (void) remove(tpath);

Completed in 169 milliseconds