Searched defs:npath (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/cmd/sgs/libcrle/common/
H A Ddump.c69 load(const char *opath, const char *npath) argument
106 dump(const char *opath, const char *npath) argument
108 (void) unlink(npath);
110 if (dldump(opath, npath, dlflag) != 0) {
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dlibs.c30 Dbg_libs_audit(Lm_list *lml, const char *opath, const char *npath) argument
35 if (npath == opath)
38 if (npath == NULL)
41 dbg_print(lml, MSG_INTL(MSG_LIB_ALTER), npath);
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Ddebug_alloc.c229 void *npath; local
231 npath = setnetpath();
232 if (npath == NULL)
235 add_alloc("SETNETPATH", npath, 0, file, line);
237 return (npath);
241 my_endnetpath(void *npath, const char *file, int line) argument
245 res = endnetpath(npath);
249 drop_alloc("SETNETPATH", npath, file, line);
/illumos-gate/usr/src/cmd/sgs/crle/common/
H A Dinspect.c510 char rpath[PATH_MAX], *npath, *nfile; local
521 npath = rpath;
522 if (nfile = strrchr(npath, '/'))
525 nfile = npath;
531 size = nfile - npath;
532 if (strncmp(opath, npath, size)) {
536 (void) strncpy(_npath, npath, size);
545 npath = (char *)opath;
552 if ((ent = enterino(crle, npath, status, flags)) == NULL)
559 if ((rent = get_hash(stbl, (Addr)npath,
[all...]
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dsupport.c176 const char *npath = *opath; local
208 (*flp->fl_fptr)(&npath, &nfile, &nfd, _flags, &nelf, ref, off,
217 if ((npath != *opath) || (nfd != *ofd) || (nelf != *oelf)) {
219 *opath, npath, *ofd, nfd, *oelf, nelf));
220 if (npath)
221 *opath = npath;
H A Dfiles.c3400 const char *npath = opath; local
3404 ld_eprintf(ofl, ERR_ELF, MSG_INTL(MSG_ELF_BEGIN), npath);
3421 ld_sup_open(ofl, &npath, &nfile, fd, flags, &elf, NULL, 0,
3427 return (ld_process_ifl(npath, nfile, *fd, elf, flags, ofl, rej,
/illumos-gate/usr/src/uts/common/syscall/
H A Dcorectl.c144 refstr_t *npath = refstr_alloc(path); local
148 ccp->ccp_path = npath;
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dpaths.c832 char buffer[PATH_MAX], *npath = NULL; local
878 npath = (char *)MSG_ORIG(MSG_STR_SLASH);
887 npath = buffer;
896 pnavl_recorded(&spavl, npath, 0, NULL)) {
897 DBG_CALL(Dbg_libs_insecure(lml, npath, 1));
931 npath = (char *)opath;
937 if (npath) {
940 if (strcmp(npath, pdp->pd_pname) == 0)
/illumos-gate/usr/src/tools/findunref/
H A Dfindunref.c51 unsigned int npath; member in struct:__anon4476
504 if (pnsetp->npath == pnsetp->maxpaths) {
513 pnsetp->paths[pnsetp->npath] = strdup(path);
514 if (pnsetp->paths[pnsetp->npath] == NULL)
517 pnsetp->npath++;
529 for (i = 0; i < pnsetp->npath; i++) {
542 while (pnsetp->npath-- != 0)
543 free(pnsetp->paths[pnsetp->npath]);
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb.c325 char **npath; local
331 npath = mdb_zalloc(sizeof (char *) * (i + 1), UM_SLEEP);
333 npath[0] = mdb_alloc(pathlen, UM_SLEEP);
334 bcopy(path[0], npath[0], pathlen);
338 npath[j] = npath[0] + (path[j] - path[0]);
339 npath[i] = NULL;
342 return ((const char **)npath);
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_log.c1019 char npath[PATH_MAX]; local
1022 (void) snprintf(npath, sizeof (npath), "%s+", lp->log_name);
1027 if ((nlp = fmd_log_open("", npath, lp->log_tag)) == NULL) {
1028 fmd_error(EFMD_LOG_ROTATE, "failed to open %s", npath);
1033 (void) snprintf(npath, sizeof (npath), "%s.0-", lp->log_name);
1049 if (rename(lp->log_name, npath) != 0) {
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dfixpath.c181 char *npath = NULL; local
185 if ((npath =
192 npath_ptr = npath;
214 npath = strdup(path);
222 npath = strdup(get_inst_root());
224 return (npath);
238 char *npath = NULL; local
242 npath = pathalloc(strlen(path) + install_root_len + 1);
244 npath_ptr = npath;
266 npath
[all...]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dqueue.c7796 char npath[MAXPATHLEN]; local
7811 (void) sm_strlcpy(npath, queuename(new, DATAFL_LETTER), sizeof(npath));
7839 if (link(opath, npath) == 0)
7842 SYNC_DIR(npath, true);
7856 (void) sm_strlcpy(npath, queuename(new, DATAFL_LETTER), sizeof(npath));
7857 if (link(opath, npath) == 0)
7860 SYNC_DIR(npath, true);
7868 opath, npath, sm_errstrin
[all...]

Completed in 77 milliseconds