Searched refs:fromfd (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() 954 if ((fromfd = openat64(tfd, from, O_RDONLY|O_NONBLOCK)) == -1) { in movexattrs() 961 if (fpathconf(fromfd, _PC_XATTR_EXISTS) != 1) { in movexattrs() 966 if ((fromdir = openat64(fromfd, ".", in movexattrs() 1010 if (fromfd != -1) in movexattrs() 1011 (void) close(fromfd); in movexattrs()
|
H A D | utilities.c | 101 int fromfd, tofd; in renameit() local 106 resolve(fp, &fromfd, &from); in renameit() 114 tofd = fromfd; in renameit() 125 if (renameat(fromfd, from, tofd, to) < 0) { in renameit() 134 if (fromfd != AT_FDCWD) (void) close(fromfd); in renameit()
|
/illumos-gate/usr/src/cmd/tar/ |
H A D | tar.c | 8549 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
|