Searched refs:tofd (Results 1 – 4 of 4) 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() 978 if ((tofd = openat64(tfd, to, O_RDONLY|O_NONBLOCK)) == -1 || in movexattrs() 979 (todir = openat64(tofd, ".", O_RDONLY|O_NONBLOCK|O_XATTR)) == -1) { in movexattrs() 985 (void) close(tofd); in movexattrs() 1012 if (tofd != -1) in movexattrs() 1013 (void) close(tofd); in movexattrs()
|
H A D | utilities.c | 101 int fromfd, tofd; in renameit() local 114 tofd = fromfd; in renameit() 124 resolve(tp, &tofd, &to); in renameit() 125 if (renameat(fromfd, from, tofd, to) < 0) { in renameit() 135 if (tofd != AT_FDCWD) (void) close(tofd); in renameit()
|
/illumos-gate/usr/src/cmd/tar/ |
H A D | tar.c | 8562 renameat(int fromfd, char *old, int tofd, char *new) in renameat() argument
|
/illumos-gate/usr/src/cmd/cpio/ |
H A D | cpio.c | 9724 renameat(int fromfd, char *old, int tofd, char *new) in renameat() argument
|