| /src/contrib/netcat/ |
| H A D | socks.c | 168 cnt = atomicio(vwrite, proxyfd, buf, 3); in socks_connect() 221 cnt = atomicio(vwrite, proxyfd, buf, wlen); in socks_connect() 257 cnt = atomicio(vwrite, proxyfd, buf, wlen); in socks_connect() 287 cnt = atomicio(vwrite, proxyfd, buf, r); in socks_connect() 306 if ((cnt = atomicio(vwrite, proxyfd, buf, r)) != r) in socks_connect() 311 if ((cnt = atomicio(vwrite, proxyfd, "\r\n", 2)) != 2) in socks_connect()
|
| H A D | atomicio.h | 37 #define vwrite (ssize_t (*)(int, void *, size_t))write macro
|
| H A D | netcat.c | 1196 if (atomicio(vwrite, nfd, obuf, 3) != 3) in atelnet()
|
| /src/crypto/openssh/ |
| H A D | msg.c | 54 if (atomicio(vwrite, fd, buf, sizeof(buf)) != sizeof(buf)) { in ssh_msg_send() 58 if (atomicio(vwrite, fd, sshbuf_mutable_ptr(m), mlen) != mlen) { in ssh_msg_send()
|
| H A D | scp.c | 750 (void) atomicio(vwrite, fd, buf, strlen(buf)); in do_times() 1452 (void) atomicio(vwrite, remout, buf, strlen(buf)); in source() 1478 (void)atomicio(vwrite, remout, bp->buf, amt); in source() 1482 if (atomicio6(vwrite, remout, bp->buf, amt, scpio, in source() 1494 (void) atomicio(vwrite, remout, "", 1); in source() 1529 (void) atomicio(vwrite, remout, path, strlen(path)); in rsource() 1548 (void) atomicio(vwrite, remout, "E\n", 2); in rsource() 1698 (void) atomicio(vwrite, remout, "", 1); 1728 (void) atomicio(vwrite, STDERR_FILENO, 1737 (void) atomicio(vwrite, remout, "", 1); [all …]
|
| H A D | progressmeter.c | 233 atomicio(vwrite, STDOUT_FILENO, obuf, strlen(obuf)); in refresh_progress_meter() 278 atomicio(vwrite, STDOUT_FILENO, "\n", 1); in stop_progress_meter()
|
| H A D | atomicio.h | 42 #define vwrite (ssize_t (*)(int, void *, size_t))write macro
|
| H A D | sshbuf-io.c | 107 if (atomicio(vwrite, fd, sshbuf_mutable_ptr(buf), in sshbuf_write_file()
|
| H A D | loginrec.c | 902 if (atomicio(vwrite, fd, ut, sizeof(*ut)) != sizeof(*ut)) { in utmp_write_direct() 1096 if (atomicio(vwrite, fd, ut, sizeof(*ut)) != sizeof(*ut)) { in wtmp_write() 1269 if (atomicio(vwrite, fd, utx, sizeof(*utx)) != sizeof(*utx)) { in wtmpx_write() 1605 if (atomicio(vwrite, fd, &last, sizeof(last)) != sizeof(last)) { in lastlog_write_entry() 1754 if (atomicio(vwrite, fd, &ut, sizeof(ut)) != sizeof(ut)) { in record_failed_login()
|
| H A D | authfd.c | 149 if (atomicio(vwrite, sock, buf, 4) != 4 || in ssh_request_reply() 150 atomicio(vwrite, sock, sshbuf_mutable_ptr(request), in ssh_request_reply()
|
| H A D | ssh-pkcs11-client.c | 193 if (atomicio(vwrite, fd, buf, 4) != 4 || in send_msg() 194 atomicio(vwrite, fd, sshbuf_mutable_ptr(m), in send_msg()
|
| H A D | monitor_wrap.c | 108 if (atomicio(vwrite, mon->m_log_sendfd, in mm_log_handler() 157 if (atomicio(vwrite, sock, buf, sizeof(buf)) != sizeof(buf) || in mm_request_send() 158 atomicio(vwrite, sock, sshbuf_mutable_ptr(m), mlen) != mlen) { in mm_request_send()
|
| H A D | kex.c | 1222 if (atomicio(vwrite, ssh_packet_get_connection_out(ssh), in send_error() 1224 atomicio(vwrite, ssh_packet_get_connection_out(ssh), in send_error() 1262 if (atomicio(vwrite, ssh_packet_get_connection_out(ssh), in kex_exchange_identification()
|
| H A D | sshd-session.c | 1076 (void)atomicio(vwrite, startup_pipe, "\0", 1); in main() 1322 (void)atomicio(vwrite, startup_pipe, "\001", 1); in main()
|
| H A D | sshkey-xmss.c | 624 if (atomicio(vwrite, fd, buf, sizeof(buf)) != sizeof(buf)) { in sshkey_xmss_update_state() 630 if (atomicio(vwrite, fd, sshbuf_mutable_ptr(enc), sshbuf_len(enc)) != in sshkey_xmss_update_state()
|
| H A D | ssh-keyscan.c | 482 if (atomicio(vwrite, s, buf, n) != (size_t)n) { in congreet()
|
| H A D | clientloop.c | 210 (void)atomicio(vwrite, STDERR_FILENO, msg, strlen(msg)); in quit_message() 769 atomicio(vwrite, fileno(stdout), sshbuf_mutable_ptr(bout), in client_suspend_self() 772 atomicio(vwrite, fileno(stderr), sshbuf_mutable_ptr(berr), in client_suspend_self()
|
| H A D | sshd.c | 814 if (atomicio(vwrite, fd, sshbuf_mutable_ptr(config), mlen) != mlen) in send_rexec_state() 819 if (atomicio(vwrite, fd, sshbuf_mutable_ptr(keys), mlen) != mlen) in send_rexec_state()
|
| H A D | sftp-server.c | 1679 ret = atomicio(vwrite, write_fd, buf, len); in process_extended_copy_data()
|
| H A D | session.c | 284 if (atomicio(vwrite, fd, sshbuf_mutable_ptr(info), in prepare_auth_info_file()
|
| H A D | sftp-client.c | 1753 atomicio(vwrite, local_fd, data, len) != len) && in sftp_download()
|
| /src/crypto/openssh/regress/ |
| H A D | netcat.c | 1090 if (atomicio(vwrite, nfd, obuf, 3) != 3) in atelnet() 1513 cnt = atomicio(vwrite, proxyfd, buf, 3); in socks_connect() 1566 cnt = atomicio(vwrite, proxyfd, buf, wlen); in socks_connect() 1602 cnt = atomicio(vwrite, proxyfd, buf, wlen); in socks_connect() 1632 cnt = atomicio(vwrite, proxyfd, buf, r); in socks_connect() 1651 if ((cnt = atomicio(vwrite, proxyfd, buf, r)) != (size_t)r) in socks_connect() 1656 if ((r = atomicio(vwrite, proxyfd, "\r\n", 2)) != 2) in socks_connect()
|
| /src/crypto/openssh/openbsd-compat/ |
| H A D | port-prngd.c | 119 if (atomicio(vwrite, fd, msg, sizeof(msg)) != sizeof(msg)) { in get_random_bytes_prngd()
|
| /src/crypto/openssh/regress/unittests/test_helper/ |
| H A D | fuzz.c | 207 atomicio(vwrite, STDERR_FILENO, buf, strlen(buf)); in siginfo() 210 atomicio(vwrite, STDERR_FILENO, buf, strlen(buf)); in siginfo()
|
| H A D | test_helper.c | 243 atomicio(vwrite, STDERR_FILENO, buf, strlen(buf)); in siginfo()
|