| /freebsd-14.2/contrib/xz/src/xz/ |
| H A D | file_io.c | 277 pfd[0].fd = pair->dest_fd; in io_wait() 425 if (fchmod(pair->dest_fd, mode)) in io_copy_attrs() 491 (void)futimes(pair->dest_fd, tv); in io_copy_attrs() 796 .dest_fd = -1, in io_open_src() 869 pair->dest_fd = STDOUT_FILENO; in io_open_dest_real() 939 if (pair->dest_fd == -1) { in io_open_dest_real() 974 (void)close(pair->dest_fd); in io_open_dest_real() 975 pair->dest_fd = -1; in io_open_dest_real() 1089 if (pair->dest_fd == -1 || pair->dest_fd == STDOUT_FILENO) in io_close_dest() 1092 if (close(pair->dest_fd)) { in io_close_dest() [all …]
|
| H A D | file_io.h | 47 int dest_fd; member
|
| /freebsd-14.2/bin/mv/ |
| H A D | mv.c | 77 static void preserve_fd_acls(int source_fd, int dest_fd, const char *source_path, 453 preserve_fd_acls(int source_fd, int dest_fd, const char *source_path, in preserve_fd_acls() argument 497 if (acl_set_fd_np(dest_fd, acl, acl_type) < 0) { in preserve_fd_acls()
|
| /freebsd-14.2/lib/libc/tests/sys/ |
| H A D | sendfile_test.c | 286 int dest_fd; in verify_source_and_dest() local 290 dest_fd = open(dest_filename, O_RDONLY); in verify_source_and_dest() 291 ATF_REQUIRE_MSG(dest_fd != -1, "open failed"); in verify_source_and_dest() 293 dest_file_size = file_size_from_fd(dest_fd); in verify_source_and_dest() 311 dest_pointer = mmap(NULL, length, PROT_READ, MAP_PRIVATE, dest_fd, 0); in verify_source_and_dest() 328 (void)close(dest_fd); in verify_source_and_dest()
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
| H A D | clonefile.c | 110 int64_t dest_fd; member 357 fdri->dest_fd = dfd; in do_deduperange()
|
| /freebsd-14.2/bin/cp/ |
| H A D | utils.c | 393 preserve_fd_acls(int source_fd, int dest_fd) in preserve_fd_acls() argument 435 if (acl_set_fd_np(dest_fd, acl, acl_type) < 0) { in preserve_fd_acls()
|
| /freebsd-14.2/contrib/ntp/sntp/libevent/ |
| H A D | buffer.c | 2468 evbuffer_write_sendfile(struct evbuffer *buffer, evutil_socket_t dest_fd, in evbuffer_write_sendfile() argument 2487 res = sendfile(source_fd, dest_fd, chain->misalign, &len, NULL, 0); in evbuffer_write_sendfile() 2493 res = sendfile(source_fd, dest_fd, chain->misalign, chain->off, NULL, &len, 0); in evbuffer_write_sendfile() 2500 res = sendfile(dest_fd, source_fd, &offset, chain->off); in evbuffer_write_sendfile() 2509 res = sendfile(dest_fd, source_fd, &offset, chain->off); in evbuffer_write_sendfile()
|
| /freebsd-14.2/contrib/libevent/ |
| H A D | buffer.c | 2468 evbuffer_write_sendfile(struct evbuffer *buffer, evutil_socket_t dest_fd, in evbuffer_write_sendfile() argument 2487 res = sendfile(source_fd, dest_fd, chain->misalign, &len, NULL, 0); in evbuffer_write_sendfile() 2493 res = sendfile(source_fd, dest_fd, chain->misalign, chain->off, NULL, &len, 0); in evbuffer_write_sendfile() 2500 res = sendfile(dest_fd, source_fd, &offset, chain->off); in evbuffer_write_sendfile() 2509 res = sendfile(dest_fd, source_fd, &offset, chain->off); in evbuffer_write_sendfile()
|
| /freebsd-14.2/contrib/tcsh/ |
| H A D | tc.func.c | 1882 getremotehost(int dest_fd) argument 2008 res = xwrite(dest_fd, host, left);
|