/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() 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 | 621 (void) atomicio(vwrite, fd, buf, strlen(buf)); in do_times() 1125 (void) atomicio(vwrite, remout, buf, strlen(buf)); in source() 1143 if ((nr = atomicio(read, fd, in source() 1151 (void)atomicio(vwrite, remout, bp->buf, amt); 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); 1280 if (atomicio(read, remin, cp, 1) != 1) 1285 if (atomicio(read, remin, &ch, sizeof(ch)) != sizeof(ch)) [all …]
|
D | sshbuf-io.c | 52 if ((len = atomicio(read, fd, buf, sizeof(buf))) == 0) { in sshbuf_load_fd() 107 if (atomicio(vwrite, fd, sshbuf_mutable_ptr(buf), in sshbuf_write_file()
|
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() 78 if ((len = atomicio(read, fd, buf, 4)) != 4) { in recv_msg() 91 if (atomicio(read, fd, buf, l) != l) { in recv_msg()
|
D | loginrec.c | 889 if (atomicio(read, fd, &old_ut, sizeof(old_ut)) == sizeof(old_ut) && in utmp_write_direct() 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() 1208 if (atomicio(read, fd, &ut, sizeof(ut)) != sizeof(ut)) { in wtmp_get_entry() 1273 if (atomicio(vwrite, fd, utx, sizeof(*utx)) != sizeof(*utx)) { in wtmpx_write() 1373 if (atomicio(read, fd, &utx, sizeof(utx)) != sizeof(utx)) { in wtmpx_get_entry() 1551 if (atomicio(vwrite, fd, &last, sizeof(last)) != sizeof(last)) { in lastlog_write_entry() 1594 ret = atomicio(read, fd, &last, sizeof(last)); in lastlog_get_entry() 1719 if (atomicio(vwrite, fd, &ut, sizeof(ut)) != sizeof(ut)) in record_failed_login()
|
D | entropy.c | 139 if (atomicio(vwrite, fd, msg, sizeof(msg)) != sizeof(msg)) { in get_random_bytes_prngd() 150 if (atomicio(read, fd, buf, len) != (size_t)len) { in get_random_bytes_prngd()
|
D | atomicio.h | 40 size_t atomicio(ssize_t (*)(int, void *, size_t), int, void *, size_t);
|
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 | 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() 157 if (atomicio(read, sock, buf, 4) != 4) in ssh_request_reply() 171 if (atomicio(read, sock, buf, l) != l) 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() 148 if (atomicio(read, sock, buf, sizeof(buf)) != sizeof(buf)) { in mm_request_receive() 159 if (atomicio(read, sock, p, msg_len) != msg_len) in mm_request_receive()
|
D | atomicio.c | 97 atomicio(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n) in atomicio() function
|
D | ssh-keyscan.c | 482 if (atomicio(vwrite, s, buf, n) != (size_t)n) { in congreet() 493 (n = atomicio(read, s, cp, 1)) == 1 && *cp != '\n') { in congreet() 551 n = atomicio(read, s, c->c_data + c->c_off, c->c_len - c->c_off); in conread()
|
D | sshkey-xmss.c | 405 if (atomicio(read, fd, buf, sizeof(buf)) != sizeof(buf)) { in sshkey_xmss_get_state_from_file() 414 if (atomicio(read, fd, data, len) != len) { in sshkey_xmss_get_state_from_file() 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 | 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() 1247 len = atomicio(read, ssh_packet_get_connection_in(ssh), in kex_exchange_identification()
|
/external/openssh/regress/ |
D | netcat.c | 1084 if (atomicio(vwrite, nfd, obuf, 3) != 3) in atelnet() 1428 if (atomicio(read, fd, buf + off, 1) != 1) in proxy_read_line() 1498 cnt = atomicio(vwrite, proxyfd, buf, 3); in socks_connect() 1502 cnt = atomicio(read, proxyfd, buf, 2); in socks_connect() 1551 cnt = atomicio(vwrite, proxyfd, buf, wlen); in socks_connect() 1555 cnt = atomicio(read, proxyfd, buf, 4); in socks_connect() 1562 cnt = atomicio(read, proxyfd, buf + 4, 6); in socks_connect() 1567 cnt = atomicio(read, proxyfd, buf + 4, 18); in socks_connect() 1587 cnt = atomicio(vwrite, proxyfd, buf, wlen); in socks_connect() 1591 cnt = atomicio(read, proxyfd, buf, 8); in socks_connect() [all …]
|
/external/openssh/regress/unittests/bitmap/ |
D | Makefile | 7 SRCS+=bitmap.c atomicio.c
|
/external/openssh/regress/unittests/utf8/ |
D | Makefile | 7 SRCS+=utf8.c atomicio.c
|
/external/openssh/regress/unittests/conversion/ |
D | Makefile | 8 SRCS+=atomicio.c misc.c xmalloc.c log.c uidswap.c cleanup.c fatal.c ssherr.c
|
/external/openssh/regress/unittests/match/ |
D | Makefile | 9 SRCS+=cleanup.c atomicio.c
|
/external/openssh/regress/unittests/sshbuf/ |
D | Makefile | 17 SRCS+=sshbuf-io.c atomicio.c misc.c xmalloc.c log.c fatal.c ssherr.c cleanup.c
|
/external/openssh/regress/unittests/hostkeys/ |
D | Makefile | 8 SRCS+=sshbuf-io.c atomicio.c sshkey.c authfile.c cipher.c log.c ssh-rsa.c
|
/external/openssh/regress/unittests/sshkey/ |
D | Makefile | 8 SRCS+=sshbuf-io.c atomicio.c sshkey.c authfile.c cipher.c log.c ssh-rsa.c
|
/external/openssh/regress/unittests/kex/ |
D | Makefile | 8 SRCS+=sshbuf-io.c atomicio.c sshkey.c authfile.c cipher.c log.c ssh-rsa.c
|
/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()
|
/external/openssh/regress/misc/kexfuzz/ |
D | Makefile | 17 SRCS+=atomicio.c sshkey.c authfile.c cipher.c log.c ssh-rsa.c ssh-dss.c
|