Searched defs:opath (Results 1 - 23 of 23) sorted by relevance

/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_io.c38 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 Dprom_node.c215 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 Dprom_fio.c39 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 Ddump.c69 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 Ddlfcns.c124 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 Dlibs.c30 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 Dintp.c199 char *opath; local
253 opath = args->pathname;
295 args->pathname = opath;
/illumos-gate/usr/src/uts/common/exec/shbin/
H A Dshbin.c173 char *opath; local
227 opath = args->pathname;
260 args->pathname = opath;
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dpartition.c63 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 Ddrive.c338 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 Dinspect.c503 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 Dsupport.c169 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 Dfiles.c3396 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 Ddldump.c49 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 Djava.c98 char *opath; local
158 opath = args->pathname;
174 args->pathname = opath;
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dpaths.c828 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 Ddlfcns.c1652 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 Dpcidr.c354 * 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 Ddevctl.c56 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 Dttymux_dacf.c796 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 Dpath.c967 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 Ddt_cc.c1809 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 Dqueue.c7795 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));

Completed in 181 milliseconds