Home
last modified time | relevance | path

Searched refs:atomicio (Results 1 – 25 of 36) sorted by relevance

12

/external/openssh/
Dmsg.c54 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()
Dscp.c621 (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 …]
Dsshbuf-io.c52 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()
Dssh-pkcs11-client.c63 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()
Dloginrec.c889 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()
Dentropy.c139 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()
Datomicio.h40 size_t atomicio(ssize_t (*)(int, void *, size_t), int, void *, size_t);
Dprogressmeter.c228 atomicio(vwrite, STDOUT_FILENO, buf, win_size - 1); in refresh_progress_meter()
272 atomicio(vwrite, STDOUT_FILENO, "\n", 1); in stop_progress_meter()
Dauthfd.c149 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()
Dmonitor_wrap.c105 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()
Datomicio.c97 atomicio(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n) in atomicio() function
Dssh-keyscan.c482 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()
Dsshkey-xmss.c405 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()
Dkex.c1154 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/
Dnetcat.c1084 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/
DMakefile7 SRCS+=bitmap.c atomicio.c
/external/openssh/regress/unittests/utf8/
DMakefile7 SRCS+=utf8.c atomicio.c
/external/openssh/regress/unittests/conversion/
DMakefile8 SRCS+=atomicio.c misc.c xmalloc.c log.c uidswap.c cleanup.c fatal.c ssherr.c
/external/openssh/regress/unittests/match/
DMakefile9 SRCS+=cleanup.c atomicio.c
/external/openssh/regress/unittests/sshbuf/
DMakefile17 SRCS+=sshbuf-io.c atomicio.c misc.c xmalloc.c log.c fatal.c ssherr.c cleanup.c
/external/openssh/regress/unittests/hostkeys/
DMakefile8 SRCS+=sshbuf-io.c atomicio.c sshkey.c authfile.c cipher.c log.c ssh-rsa.c
/external/openssh/regress/unittests/sshkey/
DMakefile8 SRCS+=sshbuf-io.c atomicio.c sshkey.c authfile.c cipher.c log.c ssh-rsa.c
/external/openssh/regress/unittests/kex/
DMakefile8 SRCS+=sshbuf-io.c atomicio.c sshkey.c authfile.c cipher.c log.c ssh-rsa.c
/external/openssh/regress/unittests/test_helper/
Dfuzz.c207 atomicio(vwrite, STDERR_FILENO, buf, strlen(buf)); in siginfo()
210 atomicio(vwrite, STDERR_FILENO, buf, strlen(buf)); in siginfo()
/external/openssh/regress/misc/kexfuzz/
DMakefile17 SRCS+=atomicio.c sshkey.c authfile.c cipher.c log.c ssh-rsa.c ssh-dss.c

12