Searched defs:fromdir (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/backup/restore/
H A Drestore.c995 int fromfd, fromdir, tofd, todir, tfd; local
999 fromfd = tofd = fromdir = todir = tfd = -1;
1018 if ((fromdir = openat64(fromfd, ".",
1038 if ((tfd = dup(fromdir)) == -1 ||
1053 if ((renameat(fromdir, dp->d_name, todir, dp->d_name)) == -1) {
1067 if (fromdir != -1)
1068 (void) close(fromdir);
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_statd.c98 static int move_file(char *fromdir, char *file, char *todir);
889 move_file(char *fromdir, char *file, char *todir) argument
896 (void) strcpy(from, fromdir);
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dvplat.c1359 char tmp[MAXPATHLEN], fromdir[MAXPATHLEN]; local
1400 if (zone_get_rootpath(tmp, fromdir, sizeof (fromdir)) == Z_OK &&
1401 strcmp(fromdir, rootpath) != 0) {
1407 if (domount(zlogp, MNTTYPE_LOFS, RESOURCE_DEFAULT_OPTS, fromdir,
1410 fromdir);
1438 char tmp[MAXPATHLEN], fromdir[MAXPATHLEN]; local
1470 (void) snprintf(fromdir, sizeof (fromdir), "%s%s",
1476 if (domount(zlogp, MNTTYPE_LOFS, "", fromdir, tm
[all...]

Completed in 68 milliseconds