Searched refs:fromdir (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | restore.c | 943 int fromfd, fromdir, tofd, todir, tfd; in movexattrs() local 947 fromfd = tofd = fromdir = todir = tfd = -1; in movexattrs() 966 if ((fromdir = openat64(fromfd, ".", in movexattrs() 987 if ((tfd = dup(fromdir)) == -1 || in movexattrs() 1002 if ((renameat(fromdir, dp->d_name, todir, dp->d_name)) == -1) { in movexattrs() 1016 if (fromdir != -1) in movexattrs() 1017 (void) close(fromdir); in movexattrs()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/ |
H A D | sm_statd.c | 98 static int move_file(char *fromdir, char *file, char *todir); 885 move_file(char *fromdir, char *file, char *todir) in move_file() argument 892 (void) strcpy(from, fromdir); in move_file()
|
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | vplat.c | 1377 char tmp[MAXPATHLEN], fromdir[MAXPATHLEN]; in build_mounted_pre_var() local 1418 if (zone_get_rootpath(tmp, fromdir, sizeof (fromdir)) == Z_OK && in build_mounted_pre_var() 1419 strcmp(fromdir, rootpath) != 0) { in build_mounted_pre_var() 1425 if (domount(zlogp, MNTTYPE_LOFS, RESOURCE_DEFAULT_OPTS, fromdir, in build_mounted_pre_var() 1428 fromdir); in build_mounted_pre_var() 1456 char tmp[MAXPATHLEN], fromdir[MAXPATHLEN]; in build_mounted_post_var() local 1488 (void) snprintf(fromdir, sizeof (fromdir), "%s%s", in build_mounted_post_var() 1494 if (domount(zlogp, MNTTYPE_LOFS, "", fromdir, tmp) in build_mounted_post_var()
|