Home
last modified time | relevance | path

Searched refs:fromdir (Results 1 – 3 of 3) sorted by relevance

/titanic_44/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);
/titanic_44/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) in move_file() argument
896 (void) strcpy(from, fromdir); in move_file()
/titanic_44/usr/src/cmd/zoneadmd/
H A Dvplat.c1357 char tmp[MAXPATHLEN], fromdir[MAXPATHLEN]; in build_mounted_pre_var() local
1398 if (zone_get_rootpath(tmp, fromdir, sizeof (fromdir)) == Z_OK && in build_mounted_pre_var()
1399 strcmp(fromdir, rootpath) != 0) { in build_mounted_pre_var()
1405 if (domount(zlogp, MNTTYPE_LOFS, RESOURCE_DEFAULT_OPTS, fromdir, in build_mounted_pre_var()
1408 fromdir); in build_mounted_pre_var()
1436 char tmp[MAXPATHLEN], fromdir[MAXPATHLEN]; in build_mounted_post_var() local
1468 (void) snprintf(fromdir, sizeof (fromdir), "%s%s", in build_mounted_post_var()
1474 if (domount(zlogp, MNTTYPE_LOFS, "", fromdir, tmp) in build_mounted_post_var()