Searched refs:fromfd (Results 1 – 5 of 5) sorted by relevance
/titanic_41/usr/src/lib/lvm/libsvm/common/ |
H A D | start_svm.c | 239 int fromfd, tofd; in copyfile() local 244 if ((fromfd = open(from, O_RDONLY | O_NDELAY)) < 0) in copyfile() 247 if ((fstat(fromfd, &fromstat) < 0) || ! ISREG(fromstat)) { in copyfile() 248 (void) close(fromfd); in copyfile() 254 (void) close(fromfd); in copyfile() 264 rbytes = read(fromfd, buf, sizeof (buf)); in copyfile() 277 (void) close(fromfd); in copyfile()
|
/titanic_41/usr/src/cmd/backup/restore/ |
H A D | restore.c | 995 int fromfd, fromdir, tofd, todir, tfd; local 999 fromfd = tofd = fromdir = todir = tfd = -1; 1006 if ((fromfd = openat64(tfd, from, O_RDONLY|O_NONBLOCK)) == -1) { 1013 if (fpathconf(fromfd, _PC_XATTR_EXISTS) != 1) { 1018 if ((fromdir = openat64(fromfd, ".", 1061 if (fromfd != -1) 1062 (void) close(fromfd);
|
H A D | utilities.c | 103 int fromfd, tofd; in renameit() local 108 resolve(fp, &fromfd, &from); in renameit() 116 tofd = fromfd; in renameit() 127 if (renameat(fromfd, from, tofd, to) < 0) { in renameit() 136 if (fromfd != AT_FDCWD) (void) close(fromfd); in renameit()
|
/titanic_41/usr/src/cmd/tar/ |
H A D | tar.c | 8507 renameat(int fromfd, char *old, int tofd, char *new) in renameat() argument
|
/titanic_41/usr/src/cmd/cpio/ |
H A D | cpio.c | 9706 renameat(int fromfd, char *old, int tofd, char *new) in renameat() argument
|