/external/openssh/ |
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()
|
D | scp.c | 621 (void) atomicio(vwrite, fd, buf, strlen(buf)); in do_times() 1125 (void) atomicio(vwrite, remout, buf, strlen(buf)); in source() 1151 (void)atomicio(vwrite, remout, bp->buf, amt); in source() 1155 if (atomicio6(vwrite, remout, bp->buf, amt, scpio, in source() 1167 (void) atomicio(vwrite, remout, "", 1); in source() 1202 (void) atomicio(vwrite, remout, path, strlen(path)); in rsource() 1221 (void) atomicio(vwrite, remout, "E\n", 2); in rsource() 1267 (void) atomicio(vwrite, remout, "", 1); 1297 (void) atomicio(vwrite, STDERR_FILENO, 1306 (void) atomicio(vwrite, remout, "", 1); [all …]
|
D | atomicio.h | 42 #define vwrite (ssize_t (*)(int, void *, size_t))write macro
|
D | progressmeter.c | 228 atomicio(vwrite, STDOUT_FILENO, buf, win_size - 1); in refresh_progress_meter() 272 atomicio(vwrite, STDOUT_FILENO, "\n", 1); in stop_progress_meter()
|
D | sshbuf-io.c | 107 if (atomicio(vwrite, fd, sshbuf_mutable_ptr(buf), in sshbuf_write_file()
|
D | loginrec.c | 906 if (atomicio(vwrite, fd, ut, sizeof(*ut)) != sizeof(*ut)) { in utmp_write_direct() 1100 if (atomicio(vwrite, fd, ut, sizeof(*ut)) != sizeof(*ut)) { in wtmp_write() 1273 if (atomicio(vwrite, fd, utx, sizeof(*utx)) != sizeof(*utx)) { in wtmpx_write() 1551 if (atomicio(vwrite, fd, &last, sizeof(last)) != sizeof(last)) { in lastlog_write_entry() 1719 if (atomicio(vwrite, fd, &ut, sizeof(ut)) != sizeof(ut)) in record_failed_login()
|
D | ssh-pkcs11-client.c | 63 if (atomicio(vwrite, fd, buf, 4) != 4 || in send_msg() 64 atomicio(vwrite, fd, sshbuf_mutable_ptr(m), in send_msg()
|
D | entropy.c | 139 if (atomicio(vwrite, fd, msg, sizeof(msg)) != sizeof(msg)) { in get_random_bytes_prngd()
|
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()
|
D | monitor_wrap.c | 105 if (atomicio(vwrite, mon->m_log_sendfd, in mm_log_handler() 133 if (atomicio(vwrite, sock, buf, sizeof(buf)) != sizeof(buf)) in mm_request_send() 135 if (atomicio(vwrite, sock, sshbuf_mutable_ptr(m), mlen) != mlen) in mm_request_send()
|
D | kex.c | 1154 if (atomicio(vwrite, ssh_packet_get_connection_out(ssh), in send_error() 1156 atomicio(vwrite, ssh_packet_get_connection_out(ssh), in send_error() 1194 if (atomicio(vwrite, ssh_packet_get_connection_out(ssh), in kex_exchange_identification()
|
D | sshkey-xmss.c | 622 if (atomicio(vwrite, fd, buf, sizeof(buf)) != sizeof(buf)) { in sshkey_xmss_update_state() 628 if (atomicio(vwrite, fd, sshbuf_mutable_ptr(enc), sshbuf_len(enc)) != in sshkey_xmss_update_state()
|
D | clientloop.c | 584 atomicio(vwrite, fileno(stdout), sshbuf_mutable_ptr(bout), in client_suspend_self() 587 atomicio(vwrite, fileno(stderr), sshbuf_mutable_ptr(berr), in client_suspend_self() 1452 len = atomicio(vwrite, fileno(stderr), in client_loop()
|
D | ssh-keyscan.c | 482 if (atomicio(vwrite, s, buf, n) != (size_t)n) { in congreet()
|
D | sshd.c | 1315 (void)atomicio(vwrite, startup_pipe, 1697 (void)atomicio(vwrite, startup_pipe, "\0", 1);
|
D | sftp-client.c | 1377 atomicio(vwrite, local_fd, data, len) != len) && in do_download()
|
D | session.c | 275 if (atomicio(vwrite, fd, sshbuf_mutable_ptr(info), in prepare_auth_info_file()
|
D | ssh-keygen.c | 2553 if (atomicio(vwrite, wfd, asig, in sign_one()
|
/external/openssh/regress/ |
D | netcat.c | 1084 if (atomicio(vwrite, nfd, obuf, 3) != 3) in atelnet() 1498 cnt = atomicio(vwrite, proxyfd, buf, 3); in socks_connect() 1551 cnt = atomicio(vwrite, proxyfd, buf, wlen); in socks_connect() 1587 cnt = atomicio(vwrite, proxyfd, buf, wlen); in socks_connect() 1617 cnt = atomicio(vwrite, proxyfd, buf, r); in socks_connect() 1636 if ((cnt = atomicio(vwrite, proxyfd, buf, r)) != (size_t)r) in socks_connect() 1641 if ((r = atomicio(vwrite, proxyfd, "\r\n", 2)) != 2) in socks_connect()
|
/external/openssh/regress/unittests/test_helper/ |
D | fuzz.c | 207 atomicio(vwrite, STDERR_FILENO, buf, strlen(buf)); in siginfo() 210 atomicio(vwrite, STDERR_FILENO, buf, strlen(buf)); in siginfo()
|
D | test_helper.c | 242 atomicio(vwrite, STDERR_FILENO, buf, strlen(buf)); in siginfo()
|