/illumos-gate/usr/src/psm/promif/ieee1275/common/ |
H A D | prom_io.c | 38 char *opath = NULL; local 42 opath = path; 43 len = prom_strlen(opath) + 1; /* include terminating NUL */ 47 (void) prom_strcpy(path, opath); 65 if (opath != NULL)
|
H A D | prom_node.c | 215 char *opath = NULL; local 219 opath = path; 220 len = prom_strlen(opath) + 1; /* include terminating NUL */ 225 (void) prom_strcpy(path, opath); 242 if (opath != NULL)
|
/illumos-gate/usr/src/psm/promif/ieee1275/sun4/ |
H A D | prom_fio.c | 39 char *opath = NULL; local 42 opath = path; 43 len = prom_strlen(opath) + 1; /* include terminating NUL */ 47 (void) prom_strcpy(path, opath); 66 if (opath != NULL) 86 char *opath = NULL; local 89 opath = path; 90 len = prom_strlen(opath) + 1; /* include terminating NUL */ 94 (void) prom_strcpy(path, opath); 113 if (opath ! [all...] |
/illumos-gate/usr/src/cmd/sgs/libcrle/common/ |
H A D | dump.c | 69 load(const char *opath, const char *npath) argument 75 if ((ghp = (Grp_hdl *)dlmopen(LM_ID_BASE, opath, 106 dump(const char *opath, const char *npath) argument 110 if (dldump(opath, npath, dlflag) != 0) {
|
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | dlfcns.c | 124 Dbg_dl_dldump(Rt_map *clmp, const char *ipath, const char *opath, int flags) argument 134 opath ? opath : MSG_INTL(MSG_STR_NULL),
|
H A D | libs.c | 30 Dbg_libs_audit(Lm_list *lml, const char *opath, const char *npath) argument 35 if (npath == opath) 39 dbg_print(lml, MSG_INTL(MSG_LIB_SKIP), opath);
|
/illumos-gate/usr/src/uts/common/exec/intp/ |
H A D | intp.c | 199 char *opath; local 253 opath = args->pathname; 295 args->pathname = opath;
|
/illumos-gate/usr/src/uts/common/exec/shbin/ |
H A D | shbin.c | 173 char *opath; local 227 opath = args->pathname; 260 args->pathname = opath;
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | partition.c | 63 static int get_parts(disk_t *disk, struct ipart *iparts, char *opath, 65 static int open_disk(disk_t *diskp, char *opath, int len); 541 * opath -The device path 542 * opath_len -Buffer size used with opath 549 get_parts(disk_t *disk, struct ipart *iparts, char *opath, int opath_len) argument 567 if ((fd = open_disk(disk, opath, opath_len)) < 0) { 789 open_disk(disk_t *diskp, char *opath, int len) argument 796 if (opath != NULL) { 797 (void) strlcpy(opath, diskp->aliases->devpaths->devpath, len); 824 if (opath ! [all...] |
H A D | drive.c | 338 static int get_attrs(disk_t *diskp, int fd, char *opath, 411 char opath[MAXPATHLEN]; local 418 opath[0] = 0; 419 fd = drive_open_disk(dp->p.disk, opath, sizeof (opath)); 421 if ((*errp = get_attrs(dp->p.disk, fd, opath, attrs)) != 0) { 629 drive_open_disk(disk_t *diskp, char *opath, int len) argument 635 if (opath != NULL) { 636 (void) strlcpy(opath, diskp->aliases->devpaths->devpath, len); 854 get_attrs(disk_t *diskp, int fd, char *opath, nvlist_ argument [all...] |
/illumos-gate/usr/src/cmd/sgs/crle/common/ |
H A D | inspect.c | 503 enterfile(Crle_desc *crle, const char *opath, const char *ofile, Half flags, argument 517 if (realpath(opath, rpath) == NULL) 520 if (strcmp(opath, rpath)) { 532 if (strncmp(opath, npath, size)) { 545 npath = (char *)opath; 607 if ((ent = enterino(crle, opath, status, 0)) == NULL) 614 if ((rent = get_hash(stbl, (Addr)opath, 0, 618 if (_enterfile(crle, opath, 0, rent, 0, odent, obj) == 0) 627 off = ofile - opath;
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | support.c | 169 ld_sup_open(Ofl_desc *ofl, const char **opath, const char **ofile, int *ofd, argument 176 const char *npath = *opath; 207 support[LDS_OPEN].sup_name, LDS_OPEN, *opath)); 217 if ((npath != *opath) || (nfd != *ofd) || (nelf != *oelf)) { 219 *opath, npath, *ofd, nfd, *oelf, nelf)); 221 *opath = npath;
|
H A D | files.c | 3396 ld_process_open(const char *opath, const char *ofile, int *fd, Ofl_desc *ofl, argument 3400 const char *npath = opath;
|
/illumos-gate/usr/src/cmd/sgs/librtld/common/ |
H A D | dldump.c | 49 int fd, const char *opath) 71 if (opath) 72 (void) unlink(opath); 81 * rt_dldump(Rt_map * lmp, const char * opath, int flags, Addr addr) 85 * opath specifies the output file. 145 rt_dldump(Rt_map *lmp, const char *opath, int flags, Addr addr) argument 253 if ((fd = open(opath, (O_RDWR | O_CREAT | O_TRUNC), 0777)) == -1) { 255 eprintf(lml, ERR_FATAL, MSG_INTL(MSG_SYS_OPEN), opath, 261 eprintf(lml, ERR_ELF, MSG_ORIG(MSG_ELF_BEGIN), opath); 262 cleanup(ielf, oelf, melf, icache, mcache, fd, opath); 48 cleanup(Elf *ielf, Elf *oelf, Elf *melf, Cache *icache, Cache *mcache, int fd, const char *opath) argument [all...] |
/illumos-gate/usr/src/uts/common/exec/java/ |
H A D | java.c | 98 char *opath; local 158 opath = args->pathname; 174 args->pathname = opath;
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | paths.c | 828 is_path_secure(char *opath, Rt_map *clmp, uint_t info, uint_t flags) argument 852 str = strrchr(opath, '/'); 868 ((*opath == '/') && (str != opath) && 877 if (str == opath) 882 if ((size = str - opath) >= PATH_MAX) 885 (void) strncpy(buffer, opath, size); 912 if (((info & LA_SER_LIBPATH) == 0) && (*opath == '/') && 926 else if (pnavl_recorded(&spavl, opath, 0, NULL)) { 927 DBG_CALL(Dbg_libs_insecure(lml, opath, 954 opath); local 973 opath, NAME(clmp)); local 979 opath); local 992 (void) printf(MSG_INTL(MSG_LDD_PTH_IGNORE), opath); local [all...] |
H A D | dlfcns.c | 1652 dldump_core(Rt_map *clmp, Rt_map *lmp, const char *ipath, const char *opath, argument 1661 if ((opath == NULL) || (opath[0] == '\0') || 1708 return (rt_dldump(lmp, opath, flags, addr)); 1717 dldump(const char *ipath, const char *opath, int flags) argument 1733 DBG_CALL(Dbg_dl_dldump(clmp, ipath, opath, flags)); 1735 error = dldump_core(clmp, lmp, ipath, opath, flags);
|
/illumos-gate/usr/src/cmd/pcidr/ |
H A D | pcidr.c | 354 * evaluates any macros in <opath> and returns allocated string on success; 358 parse_path(char *const opath) argument 374 path = strdup(opath);
|
/illumos-gate/usr/src/lib/libdevice/ |
H A D | devctl.c | 56 char *opath; /* copy of the original path */ member in struct:devctl_hdl 90 if (DCP(hdl)->opath != NULL) 91 free(DCP(hdl)->opath); 251 if ((dcp->opath = strdup(path)) == NULL) { 1006 (void) strcat(devpath, DCP(dcp)->opath); 1318 (void) snprintf(pathbuf, bufsz, "%s", DCP(dcp)->opath);
|
/illumos-gate/usr/src/uts/sun4u/montecarlo/io/ttymux_dacf/ |
H A D | ttymux_dacf.c | 796 char *dname, *nname, *ipath, *opath; local 813 opath = prom_stdoutpath(); 820 if (opath != NULL && strstr(opath, nname) != 0)
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | path.c | 967 const char *opath; local 994 opath = stakfreeze(1)+PATH_OFFSET; 997 opath = arg0; 998 path_spawn(opath,argv,envp,libpath,0); 1011 pid_t path_spawn(const char *opath,register char **argv, char **envp, Pathcomp_t *libpath, int spawn) argument 1026 stakputs(opath); 1027 opath = stakfreeze(1)+PATH_OFFSET+pidsize; 1037 stakputs(opath); 1103 if(!opath) 1104 opath [all...] |
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_cc.c | 1809 char ipath[20], opath[20]; /* big enough for /dev/fd/ + INT_MAX + \0 */ local 1845 (void) snprintf(opath, sizeof (opath), "/dev/fd/%d", fileno(ofp)); 1864 argv[argc++] = opath;
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | queue.c | 7795 char opath[MAXPATHLEN]; local 7810 (void) sm_strlcpy(opath, queuename(old, DATAFL_LETTER), sizeof(opath)); 7818 syserr("@can't commit %s", opath); 7839 if (link(opath, npath) == 0) 7857 if (link(opath, npath) == 0) 7868 opath, npath, sm_errstring(errno));
|