Home
last modified time | relevance | path

Searched refs:todir (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_statd.c98 static int move_file(char *fromdir, char *file, char *todir);
885 move_file(char *fromdir, char *file, char *todir) in move_file() argument
912 if (create_symlink(todir, rname, file) != 0) { in move_file()
919 (void) strcpy(to, todir); in move_file()
943 create_symlink(char *todir, char *rname, char *lname) in create_symlink() argument
951 (void) strcpy(lpath, todir); in create_symlink()
963 "%s/%s -> %s\n", todir, lname, rname); in create_symlink()
972 todir, lname, rname); in create_symlink()
975 todir, lname, rname); in create_symlink()
H A Dsm_statd.h219 extern int create_symlink(char *todir, char *rname, char *lname);
/illumos-gate/usr/src/cmd/refer/
H A Dhunt1.c33 char *todir();
141 strcpy(nma, todir(argv[1])); in main()
276 todir(char *t) in todir() function
H A Dglue1.c55 char *todir(char *);
138 strcpy(indexname, todir(argv[1])); in huntmain()
290 todir(char *t) in todir() function
/illumos-gate/usr/src/cmd/backup/restore/
H A Drestore.c943 int fromfd, fromdir, tofd, todir, tfd; in movexattrs() local
947 fromfd = tofd = fromdir = todir = tfd = -1; in movexattrs()
979 (todir = openat64(tofd, ".", O_RDONLY|O_NONBLOCK|O_XATTR)) == -1) { in movexattrs()
1002 if ((renameat(fromdir, dp->d_name, todir, dp->d_name)) == -1) { in movexattrs()
1018 if (todir != -1) in movexattrs()
1019 (void) close(todir); in movexattrs()