/external/openssh/ |
D | msg.c | 54 if (atomicio(vwrite, fd, buf, sizeof(buf)) != sizeof(buf)) { in ssh_msg_send() 58 if (atomicio(vwrite, fd, (u_char *)sshbuf_ptr(m), mlen) != mlen) { in ssh_msg_send() 74 if (atomicio(read, fd, buf, sizeof(buf)) != sizeof(buf)) { in ssh_msg_recv() 89 if (atomicio(read, fd, p, msg_len) != msg_len) { in ssh_msg_recv()
|
D | scp.c | 581 (void) atomicio(vwrite, fd, buf, strlen(buf)); in do_times() 818 (void) atomicio(vwrite, remout, buf, strlen(buf)); in source() 836 if ((nr = atomicio(read, fd, in source() 844 (void)atomicio(vwrite, remout, bp->buf, amt); in source() 860 (void) atomicio(vwrite, remout, "", 1); in source() 895 (void) atomicio(vwrite, remout, path, strlen(path)); in rsource() 914 (void) atomicio(vwrite, remout, "E\n", 2); in rsource() 953 (void) atomicio(vwrite, remout, "", 1); 958 if (atomicio(read, remin, cp, 1) != 1) 963 if (atomicio(read, remin, &ch, sizeof(ch)) != sizeof(ch)) [all …]
|
D | ssh-pkcs11-client.c | 57 if (atomicio(vwrite, fd, buf, 4) != 4 || in send_msg() 58 atomicio(vwrite, fd, buffer_ptr(m), in send_msg() 70 if ((len = atomicio(read, fd, buf, 4)) != 4) { in recv_msg() 83 if (atomicio(read, fd, buf, l) != l) { in recv_msg()
|
D | loginrec.c | 892 if (atomicio(read, fd, &old_ut, sizeof(old_ut)) == sizeof(old_ut) && in utmp_write_direct() 909 if (atomicio(vwrite, fd, ut, sizeof(*ut)) != sizeof(*ut)) { in utmp_write_direct() 1103 if (atomicio(vwrite, fd, ut, sizeof(*ut)) != sizeof(*ut)) { in wtmp_write() 1211 if (atomicio(read, fd, &ut, sizeof(ut)) != sizeof(ut)) { in wtmp_get_entry() 1276 if (atomicio(vwrite, fd, utx, sizeof(*utx)) != sizeof(*utx)) { in wtmpx_write() 1376 if (atomicio(read, fd, &utx, sizeof(utx)) != sizeof(utx)) { in wtmpx_get_entry() 1554 if (atomicio(vwrite, fd, &last, sizeof(last)) != sizeof(last)) { in lastlog_write_entry() 1597 ret = atomicio(read, fd, &last, sizeof(last)); in lastlog_get_entry() 1722 if (atomicio(vwrite, fd, &ut, sizeof(ut)) != sizeof(ut)) in record_failed_login()
|
D | entropy.c | 137 if (atomicio(vwrite, fd, msg, sizeof(msg)) != sizeof(msg)) { in get_random_bytes_prngd() 148 if (atomicio(read, fd, buf, len) != (size_t)len) { in get_random_bytes_prngd()
|
D | progressmeter.c | 225 atomicio(vwrite, STDOUT_FILENO, buf, win_size - 1); in refresh_progress_meter() 282 atomicio(vwrite, STDOUT_FILENO, "\n", 1); in stop_progress_meter()
|
D | atomicio.h | 38 size_t atomicio(ssize_t (*)(int, void *, size_t), int, void *, size_t);
|
D | authfd.c | 136 if (atomicio(vwrite, sock, buf, 4) != 4 || in ssh_request_reply() 137 atomicio(vwrite, sock, (u_char *)sshbuf_ptr(request), in ssh_request_reply() 144 if (atomicio(read, sock, buf, 4) != 4) in ssh_request_reply() 158 if (atomicio(read, sock, buf, l) != l) in ssh_request_reply()
|
D | monitor_wrap.c | 114 if (atomicio(vwrite, mon->m_log_sendfd, buffer_ptr(&log_msg), in mm_log_handler() 140 if (atomicio(vwrite, sock, buf, sizeof(buf)) != sizeof(buf)) in mm_request_send() 142 if (atomicio(vwrite, sock, buffer_ptr(m), mlen) != mlen) in mm_request_send() 154 if (atomicio(read, sock, buf, sizeof(buf)) != sizeof(buf)) { in mm_request_receive() 164 if (atomicio(read, sock, buffer_ptr(m), msg_len) != msg_len) in mm_request_receive()
|
D | atomicio.c | 92 atomicio(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n) in atomicio() function
|
D | authfile.c | 63 if (atomicio(vwrite, fd, (u_char *)sshbuf_ptr(keybuf), in sshkey_save_private_blob() 123 if ((len = atomicio(read, fd, buf, sizeof(buf))) == 0) { in sshkey_load_file()
|
D | ssh-keyscan.c | 490 (n = atomicio(read, s, cp, 1)) == 1 && *cp != '\n') { in congreet() 547 if (atomicio(vwrite, s, buf, n) != (size_t)n) { in congreet() 571 n = atomicio(read, s, c->c_data + c->c_off, c->c_len - c->c_off); in conread()
|
D | Android.mk | 31 atomicio.c \
|
D | sshd.c | 391 if (atomicio(vwrite, sock_out, server_version_string, in sshd_exchange_identification() 402 if (atomicio(read, sock_in, &buf[i], 1) != 1) { in sshd_exchange_identification() 431 (void) atomicio(vwrite, sock_out, s, strlen(s)); in sshd_exchange_identification() 473 (void) atomicio(vwrite, sock_out, s, strlen(s)); in sshd_exchange_identification()
|
D | clientloop.c | 725 atomicio(vwrite, fileno(stdout), buffer_ptr(bout), in client_suspend_self() 728 atomicio(vwrite, fileno(stderr), buffer_ptr(berr), in client_suspend_self() 1760 len = atomicio(vwrite, fileno(stdout), in client_loop() 1770 len = atomicio(vwrite, fileno(stderr), in client_loop()
|
D | auth2.c | 124 n = atomicio(read, fd, banner, len); in auth2_read_banner()
|
D | sshconnect.c | 534 if (atomicio(vwrite, connection_out, client_version_string, in send_client_banner() 594 len = atomicio(read, connection_in, &buf[i], 1); in ssh_exchange_identification()
|
D | monitor.c | 426 if (atomicio(read, pmonitor->m_log_recvfd, in monitor_read_log() 444 if (atomicio(read, pmonitor->m_log_recvfd, in monitor_read_log()
|
D | sftp-client.c | 1331 atomicio(vwrite, local_fd, data, len) != len) && in do_download()
|
D | ssh-keygen.c | 2175 if (atomicio(vwrite, fd, (void *)sshbuf_ptr(kbuf), sshbuf_len(kbuf)) != in do_gen_krl()
|
D | config.h.in | 47 /* NetBSD read function is sometimes redirected, breaking atomicio comparisons
|
D | configure.ac | 841 [NetBSD read function is sometimes redirected, breaking atomicio comparisons against it])
|
/external/openssh/regress/ |
D | netcat.c | 1076 if (atomicio(vwrite, nfd, obuf, 3) != 3) in atelnet() 1416 if (atomicio(read, fd, buf + off, 1) != 1) in proxy_read_line() 1486 cnt = atomicio(vwrite, proxyfd, buf, 3); in socks_connect() 1490 cnt = atomicio(read, proxyfd, buf, 2); in socks_connect() 1539 cnt = atomicio(vwrite, proxyfd, buf, wlen); in socks_connect() 1543 cnt = atomicio(read, proxyfd, buf, 4); in socks_connect() 1550 cnt = atomicio(read, proxyfd, buf + 4, 6); in socks_connect() 1555 cnt = atomicio(read, proxyfd, buf + 4, 18); in socks_connect() 1575 cnt = atomicio(vwrite, proxyfd, buf, wlen); in socks_connect() 1579 cnt = atomicio(read, proxyfd, buf, 8); in socks_connect() [all …]
|
/external/openssh/regress/unittests/test_helper/ |
D | fuzz.c | 208 atomicio(vwrite, STDERR_FILENO, buf, strlen(buf)); in siginfo() 211 atomicio(vwrite, STDERR_FILENO, buf, strlen(buf)); in siginfo()
|
D | test_helper.c | 201 atomicio(vwrite, STDERR_FILENO, buf, strlen(buf)); in siginfo()
|