| /freebsd-12.1/contrib/netcat/ |
| H A D | socks.c | 98 if (atomicio(read, fd, buf + off, 1) != 1) in proxy_read_line() 168 cnt = atomicio(vwrite, proxyfd, buf, 3); in socks_connect() 172 cnt = atomicio(read, proxyfd, buf, 2); in socks_connect() 221 cnt = atomicio(vwrite, proxyfd, buf, wlen); in socks_connect() 225 cnt = atomicio(read, proxyfd, buf, 4); in socks_connect() 232 cnt = atomicio(read, proxyfd, buf + 4, 6); in socks_connect() 237 cnt = atomicio(read, proxyfd, buf + 4, 18); in socks_connect() 257 cnt = atomicio(vwrite, proxyfd, buf, wlen); in socks_connect() 261 cnt = atomicio(read, proxyfd, buf, 8); in socks_connect() 287 cnt = atomicio(vwrite, proxyfd, buf, r); in socks_connect() [all …]
|
| H A D | atomicio.h | 35 size_t atomicio(ssize_t (*)(int, void *, size_t), int, void *, size_t);
|
| H A D | atomicio.c | 39 atomicio(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n) in atomicio() function
|
| /freebsd-12.1/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() 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()
|
| H A D | scp.c | 1135 if ((nr = atomicio(read, fd, in source() 1159 (void) atomicio(vwrite, remout, "", 1); in source() 1262 (void) atomicio(vwrite, remout, "", 1); 1275 if (atomicio(read, remin, cp, 1) != 1) 1292 (void) atomicio(vwrite, STDERR_FILENO, 1301 (void) atomicio(vwrite, remout, "", 1); 1335 (void) atomicio(vwrite, remout, "", 1); 1440 (void) atomicio(vwrite, remout, "", 1); 1473 if (atomicio(vwrite, ofd, bp->buf, 1537 (void) atomicio(vwrite, remout, "", 1); [all …]
|
| H A D | ssh-pkcs11-client.c | 61 if (atomicio(vwrite, fd, buf, 4) != 4 || in send_msg() 62 atomicio(vwrite, fd, sshbuf_mutable_ptr(m), in send_msg() 76 if ((len = atomicio(read, fd, buf, 4)) != 4) { in recv_msg() 89 if (atomicio(read, fd, buf, l) != l) { in recv_msg()
|
| H A D | loginrec.c | 887 if (atomicio(read, fd, &old_ut, sizeof(old_ut)) == sizeof(old_ut) && in utmp_write_direct() 904 if (atomicio(vwrite, fd, ut, sizeof(*ut)) != sizeof(*ut)) { in utmp_write_direct() 1098 if (atomicio(vwrite, fd, ut, sizeof(*ut)) != sizeof(*ut)) { in wtmp_write() 1206 if (atomicio(read, fd, &ut, sizeof(ut)) != sizeof(ut)) { in wtmp_get_entry() 1271 if (atomicio(vwrite, fd, utx, sizeof(*utx)) != sizeof(*utx)) { in wtmpx_write() 1371 if (atomicio(read, fd, &utx, sizeof(utx)) != sizeof(utx)) { in wtmpx_get_entry() 1549 if (atomicio(vwrite, fd, &last, sizeof(last)) != sizeof(last)) { in lastlog_write_entry() 1592 ret = atomicio(read, fd, &last, sizeof(last)); in lastlog_get_entry() 1717 if (atomicio(vwrite, fd, &ut, sizeof(ut)) != sizeof(ut)) in record_failed_login()
|
| H A D | authfd.c | 135 if (atomicio(vwrite, sock, buf, 4) != 4 || in ssh_request_reply() 136 atomicio(vwrite, sock, sshbuf_mutable_ptr(request), in ssh_request_reply() 143 if (atomicio(read, sock, buf, 4) != 4) in ssh_request_reply() 157 if (atomicio(read, sock, buf, l) != l) in ssh_request_reply()
|
| H A D | entropy.c | 138 if (atomicio(vwrite, fd, msg, sizeof(msg)) != sizeof(msg)) { in get_random_bytes_prngd() 149 if (atomicio(read, fd, buf, len) != (size_t)len) { in get_random_bytes_prngd()
|
| H A 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()
|
| H A D | atomicio.h | 38 size_t atomicio(ssize_t (*)(int, void *, size_t), int, void *, size_t);
|
| H A 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()
|
| H A D | authfile.c | 62 if (atomicio(vwrite, fd, sshbuf_mutable_ptr(keybuf), in sshkey_save_private_blob() 110 if ((len = atomicio(read, fd, buf, sizeof(buf))) == 0) { in sshkey_load_file()
|
| H A D | atomicio.c | 92 atomicio(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n) in atomicio() function
|
| H A D | ssh-keyscan.c | 460 if (atomicio(vwrite, s, buf, n) != (size_t)n) { in congreet() 471 (n = atomicio(read, s, cp, 1)) == 1 && *cp != '\n') { in congreet() 529 n = atomicio(read, s, c->c_data + c->c_off, c->c_len - c->c_off); in conread()
|
| /freebsd-12.1/crypto/openssh/regress/ |
| H A D | netcat.c | 1081 if (atomicio(vwrite, nfd, obuf, 3) != 3) in atelnet() 1421 if (atomicio(read, fd, buf + off, 1) != 1) in proxy_read_line() 1491 cnt = atomicio(vwrite, proxyfd, buf, 3); in socks_connect() 1495 cnt = atomicio(read, proxyfd, buf, 2); in socks_connect() 1544 cnt = atomicio(vwrite, proxyfd, buf, wlen); in socks_connect() 1548 cnt = atomicio(read, proxyfd, buf, 4); in socks_connect() 1555 cnt = atomicio(read, proxyfd, buf + 4, 6); in socks_connect() 1560 cnt = atomicio(read, proxyfd, buf + 4, 18); in socks_connect() 1580 cnt = atomicio(vwrite, proxyfd, buf, wlen); in socks_connect() 1584 cnt = atomicio(read, proxyfd, buf, 8); in socks_connect() [all …]
|
| /freebsd-12.1/usr.bin/nc/ |
| H A D | Makefile | 6 SRCS= netcat.c atomicio.c socks.c
|
| /freebsd-12.1/crypto/openssh/regress/unittests/bitmap/ |
| H A D | Makefile | 7 SRCS+=bitmap.c atomicio.c
|
| /freebsd-12.1/crypto/openssh/regress/unittests/utf8/ |
| H A D | Makefile | 7 SRCS+=utf8.c atomicio.c
|
| /freebsd-12.1/crypto/openssh/regress/unittests/conversion/ |
| H A D | Makefile | 8 SRCS+=atomicio.c misc.c xmalloc.c log.c uidswap.c cleanup.c fatal.c ssherr.c
|
| /freebsd-12.1/crypto/openssh/regress/unittests/sshbuf/ |
| H A D | Makefile | 17 SRCS+=atomicio.c
|
| /freebsd-12.1/crypto/openssh/regress/unittests/match/ |
| H A D | Makefile | 9 SRCS+=cleanup.c atomicio.c
|
| /freebsd-12.1/crypto/openssh/regress/unittests/hostkeys/ |
| H A D | Makefile | 8 SRCS+=atomicio.c sshkey.c authfile.c cipher.c log.c ssh-rsa.c ssh-dss.c
|
| /freebsd-12.1/crypto/openssh/regress/unittests/sshkey/ |
| H A D | Makefile | 8 SRCS+=atomicio.c sshkey.c authfile.c cipher.c log.c ssh-rsa.c ssh-dss.c
|
| /freebsd-12.1/crypto/openssh/regress/unittests/kex/ |
| H A D | Makefile | 8 SRCS+=atomicio.c sshkey.c authfile.c cipher.c log.c ssh-rsa.c ssh-dss.c
|