Home
last modified time | relevance | path

Searched refs:dest_fd (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/xz/src/xz/
H A Dfile_io.c190 pfd[0].fd = pair->dest_fd; in io_wait()
338 if (fchmod(pair->dest_fd, mode)) in io_copy_attrs()
404 (void)futimes(pair->dest_fd, tv); in io_copy_attrs()
709 .dest_fd = -1, in io_open_src()
783 pair->dest_fd = STDOUT_FILENO; in io_open_dest_real()
853 if (pair->dest_fd == -1) { in io_open_dest_real()
888 (void)close(pair->dest_fd); in io_open_dest_real()
889 pair->dest_fd = -1; in io_open_dest_real()
1003 if (pair->dest_fd == -1 || pair->dest_fd == STDOUT_FILENO) in io_close_dest()
1006 if (close(pair->dest_fd)) { in io_close_dest()
[all …]
H A Dfile_io.h56 int dest_fd; member
/freebsd/bin/mv/
H A Dmv.c65 static void preserve_fd_acls(int source_fd, int dest_fd, const char *source_path,
441 preserve_fd_acls(int source_fd, int dest_fd, const char *source_path, in preserve_fd_acls() argument
485 if (acl_set_fd_np(dest_fd, acl, acl_type) < 0) { in preserve_fd_acls()
/freebsd/lib/libc/tests/sys/
H A Dsendfile_test.c286 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/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dclonefile.c110 int64_t dest_fd; member
357 fdri->dest_fd = dfd; in do_deduperange()
/freebsd/bin/cp/
H A Dutils.c390 preserve_fd_acls(int source_fd, int dest_fd) in preserve_fd_acls() argument
432 if (acl_set_fd_np(dest_fd, acl, acl_type) < 0) { in preserve_fd_acls()
/freebsd/contrib/ntp/sntp/libevent/
H A Dbuffer.c2468 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/contrib/libevent/
H A Dbuffer.c2468 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/contrib/tcsh/
H A Dtc.func.c1882 getremotehost(int dest_fd) argument
2008 res = xwrite(dest_fd, host, left);