Searched defs:newpath (Results 1 - 25 of 31) sorted by relevance

12

/illumos-gate/usr/src/cmd/make/lib/mksh/
H A Dmksh.cc62 static void change_sunpro_dependencies_value(char *oldpath, char *newpath);
98 * from oldpath to newpath.
101 change_sunpro_dependencies_value(char *oldpath, char *newpath) argument
116 newpath,
/illumos-gate/usr/src/cmd/devfsadm/
H A Daudio_link.c179 char newpath[PATH_MAX + 1]; local
243 (void) snprintf(newpath, sizeof (newpath), "sound/%s:%d%s",
245 (void) devfsadm_mklink(newpath, node, minor, flags);
279 (void) strlcpy(devpath, newpath, sizeof (devpath));
H A Dcfg_link.c925 char *newpath; local
929 newpath = malloc(sizeof (char) * (headlen + pathlen + 1));
930 np = newpath;
943 return (newpath);
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_subr.c123 convert_special(char **specialp, char *host, char *oldpath, char *newpath, argument
206 p2 = newpath;
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_file.c397 make_hard_link(const char *oldpath, const char *newpath) argument
402 return link(oldpath, newpath);
/illumos-gate/usr/src/cmd/svr4pkg/pkgproto/
H A Dmain.c273 newpath[PATH_MAX], local
315 while (fscanf(pp, "%[^\n]\n", newpath) == 1)
316 output(newpath, n, local);
/illumos-gate/usr/src/uts/common/syscall/
H A Dcorectl.c540 corectl_path_t *oldpath, *newpath; local
546 newpath = cg->core_default_path;
549 corectl_path_hold(newpath);
553 p->p_corefile = newpath;
/illumos-gate/usr/src/lib/libadm/common/
H A Dpkgparam.c430 set_PKGADM(char *newpath) argument
432 (void) strcpy(Adm_pkgadm, newpath);
436 set_PKGLOC(char *newpath) argument
438 (void) strcpy(Adm_pkgloc, newpath);
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dmci.c1136 char newpath[MAXPATHLEN]; local
1154 len = sizeof(newpath) - 3;
1155 if (sm_strlcpy(newpath, pathname, len) >= len)
1166 newptr = newpath + strlen(newpath);
1168 len = sizeof(newpath) - (newptr - newpath);
1192 newpath, e->d_name);
1199 ret = mci_traverse_persistent(action, newpath);
1228 ret = (*action)(newpath, NUL
[all...]
/illumos-gate/usr/src/cmd/auditd/
H A Dauditd.c471 isa_ified(char *path, char **newpath) argument
477 (void) memcpy(*newpath, path, p - path);
478 q = *newpath + (p - path);
484 *newpath = path;
/illumos-gate/usr/src/cmd/sh/
H A Dservice.c135 unsigned char *path, *newpath; local
151 newpath = locstak();
152 (void) memcpystak(newpath, path, pathlen);
153 newpath[pathlen] = ':';
154 endstak(newpath + pathlen + 1);
155 return (newpath);
/illumos-gate/usr/src/cmd/hal/hald/
H A Dhald.c365 char newpath[512]; local
382 g_strlcpy (newpath, path, sizeof (newpath));
383 g_strlcat (newpath, ":", sizeof (newpath));
386 newpath[0] = '\0';
389 g_strlcat (newpath, PACKAGE_LIBEXEC_DIR, sizeof (newpath));
390 g_strlcat (newpath, ":", sizeof (newpath));
[all...]
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm_hyper.c101 char *newpath; local
118 if ((newpath = malloc(len)) == NULL) {
123 (void) strlcpy(newpath, path, (pc - path) + 1);
126 (void) strcat(newpath, new_str);
127 (void) strcat(newpath, pc);
128 return (newpath);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_ctldir.c562 char newpath[MAXNAMELEN]; local
589 (void) strncpy(newpath, refstr_value(pathref), sizeof (newpath));
590 VERIFY((tail = strrchr(newpath, '/')) != NULL);
592 ASSERT3U(strlen(newpath) + strlen(nm), <, sizeof (newpath));
593 (void) strcat(newpath, nm);
595 vfs_setmntpoint(vfsp, newpath, 0);
598 (void) strncpy(newpath, refstr_value(pathref), sizeof (newpath));
[all...]
/illumos-gate/usr/src/lib/libshare/common/
H A Dlibshare_zfs.c1415 char newpath[MAXPATHLEN]; local
1437 (void) strlcpy(newpath, path, sizeof (newpath));
1438 pathp = newpath;
H A Dlibshare.c450 * checksubdirgroup(group, newpath, strictness)
452 * check all the specified newpath against all the paths in the
456 * SA_CHECK_NORMAL == only check newpath against shares that are active
457 * SA_CHECK_STRICT == check newpath against both active shares and those
461 checksubdirgroup(sa_group_t group, char *newpath, int strictness) argument
469 if (newpath == NULL)
497 if (strcmp(path, newpath) == 0) {
500 subdir = issubdir(newpath, path);
501 parent = issubdir(path, newpath);
516 * checksubdir(newpath, strictnes
527 checksubdir(sa_handle_t handle, char *newpath, int strictness) argument
[all...]
/illumos-gate/usr/src/lib/libzoneinfo/common/
H A Dlibzone.c1166 static char newpath[MAXPATHLEN]; local
1172 while ((len = readlink(*path, newpath, sizeof (newpath))) != -1) {
1173 newpath[len] = '\0';
1174 if (newpath[0] != '/') {
1175 if ((tp = strdup(newpath)) == NULL) {
1180 ret = snprintf(newpath, sizeof (newpath),
1183 if ((ret >= sizeof (newpath)) || (ret < 0))
1186 (void) strcpy(lastpath, newpath);
[all...]
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_devperm.c439 char *name, *newpath, *remainder_path; local
502 newpath = (char *)malloc(MAXPATHLEN);
503 if (newpath == NULL) {
510 free(newpath);
519 free(newpath);
528 free(newpath);
539 (void) snprintf(newpath,
542 (void) snprintf(newpath,
552 if (dir_dev_acc(newpath, remainder_path,
560 free(newpath);
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Ddid_props.c376 char *newpath; local
400 if ((newpath = topo_mod_alloc(mp, need)) == NULL) {
406 (void) snprintf(newpath, need, "%s@%x", path, devno);
408 (void) snprintf(newpath, need, "%s@%x,%x", path, devno, fnno);
411 return (newpath);
422 char *newpath; local
443 if ((newpath = topo_mod_strdup(mp, path)) == NULL) {
450 return (newpath);
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/
H A Dtazmo.c1303 modify_device_path(char *oldpath, char *newpath) argument
1309 (void) strcpy(newpath, "/devices");
1316 (void) strncat(newpath, oldpath, changeptr - oldpath);
1318 (void) strcat(newpath, targetstr);
/illumos-gate/usr/src/uts/common/fs/mntfs/
H A Dmntvnops.c1333 char *newpath; local
1336 newpath = kmem_alloc(elemp->mnte_text_size, KM_SLEEP);
1337 bcopy(elemp->mnte_text, newpath, (off_t)(elemp->mnte_tab.mnt_mountp));
1338 *(newpath + (off_t)elemp->mnte_tab.mnt_mountp - 1) = '\0';
1339 type = mntfs_special_info_string(newpath, NULL, NULL, cr);
1340 kmem_free(newpath, elemp->mnte_text_size);
/illumos-gate/usr/src/cmd/fs.d/nfs/mount/
H A Dmount.c406 char *newpath = NULL; local
618 newpath = malloc(strlen(path)+2);
620 if (newpath == NULL) {
627 strcpy(newpath, "/");
628 strcat(newpath, path);
630 r = get_fh(argp, host, newpath, &vers,
634 path = newpath;
737 if (newpath != NULL) {
738 free(newpath);
739 newpath
[all...]
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_vfs.c845 const char *newpath, /* Path to add to refp (above) */
862 ASSERT(strlen(newpath) < MAXPATHLEN);
877 ref = refstr_alloc(newpath);
842 vfs_setpath( struct vfs *vfsp, refstr_t **refp, const char *newpath, uint32_t flag) argument
/illumos-gate/usr/src/cmd/make/bin/
H A Dmain.cc1649 char *newpath;
1654 asprintf(&newpath, "%s=%s",
1657 asprintf(&newpath, "%s=%s",
1662 asprintf(&newpath, "%s=%s:%s",
1665 asprintf(&newpath, "%s=%s:%s",
1670 return (newpath);
1691 char *newpath, *newpath64;
1727 newpath = add_to_env(LD_SUPPORT_ENV_VAR_32, lib32, LD_SUPPORT_MAKE_LIB);
1730 putenv(newpath);
1734 prev_path = newpath;
1642 char *newpath; local
1684 char *newpath, *newpath64; local
[all...]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_server.c3086 char *newpath = rfs4_dss_newpaths[i]; local
3094 cmpret = strcmp(path, newpath);
3152 char *newpath = rfs4_dss_newpaths[i]; local
3164 if (strncmp(path, newpath, strlen(path)) == 0) {
3173 added_paths[numadded_paths] = newpath;

Completed in 222 milliseconds

12