HomeSort by: relevance | last modified time | path
    Searched refs:atomicio (Results 1 - 25 of 27) sorted by relevancy

1 2

  /src/usr.bin/nc/
atomicio.h 1 /* $OpenBSD: atomicio.h,v 1.2 2007/09/07 14:50:44 tobias Exp $ */
35 size_t atomicio(ssize_t (*)(int, void *, size_t), int, void *, size_t);
Makefile 7 SRCS= netcat.c atomicio.c socks.c
socks.c 46 #include "atomicio.h"
102 if (atomicio(read, fd, buf + off, 1) != 1)
230 cnt = atomicio(vwrite, proxyfd, buf, 3);
234 cnt = atomicio(read, proxyfd, buf, 2);
283 cnt = atomicio(vwrite, proxyfd, buf, wlen);
287 cnt = atomicio(read, proxyfd, buf, 4);
296 cnt = atomicio(read, proxyfd, buf + 4, 6);
301 cnt = atomicio(read, proxyfd, buf + 4, 18);
321 cnt = atomicio(vwrite, proxyfd, buf, wlen);
325 cnt = atomicio(read, proxyfd, buf, 8)
    [all...]
atomicio.c 1 /* $OpenBSD: atomicio.c,v 1.11 2012/12/04 02:24:47 deraadt Exp $ */
29 __RCSID("$NetBSD: atomicio.c,v 1.2 2017/02/06 16:03:40 christos Exp $");
35 #include "atomicio.h"
41 atomicio(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n) function
netcat.c 67 #include "atomicio.h"
1443 if (atomicio(vwrite, nfd, obuf, 3) != 3)
  /src/crypto/external/bsd/openssh/dist/
msg.c 40 #include "atomicio.h"
54 if (atomicio(vwrite, fd, buf, sizeof(buf)) != sizeof(buf)) {
58 if (atomicio(vwrite, fd, sshbuf_mutable_ptr(m), mlen) != mlen) {
75 if (atomicio(read, fd, buf, sizeof(buf)) != sizeof(buf)) {
90 if (atomicio(read, fd, p, msg_len) != msg_len) {
atomicio.h 1 /* $NetBSD: atomicio.h,v 1.8 2019/04/20 17:16:40 christos Exp $ */
2 /* $OpenBSD: atomicio.h,v 1.12 2018/12/27 03:25:25 djm Exp $ */
41 size_t atomicio(ssize_t (*)(int, void *, size_t), int, void *, size_t);
sshbuf-io.c 31 #include "atomicio.h"
53 if ((len = atomicio(read, fd, buf, sizeof(buf))) == 0) {
108 if (atomicio(vwrite, fd, sshbuf_mutable_ptr(buf),
scp.c 110 #include "atomicio.h"
703 (void) atomicio(vwrite, fd, buf, strlen(buf));
1417 (void) atomicio(vwrite, remout, buf, strlen(buf));
1435 if ((nr = atomicio(read, fd,
1443 (void)atomicio(vwrite, remout, bp->buf, amt);
1459 (void) atomicio(vwrite, remout, empty, 1);
1494 (void) atomicio(vwrite, remout, path, strlen(path));
1513 (void) atomicio(vwrite, remout, __UNCONST("E\n"), 2);
1671 (void) atomicio(vwrite, remout, empty, 1);
1684 if (atomicio(read, remin, cp, 1) != 1
    [all...]
namespace.h 12 #define atomicio ssh_atomicio macro
ssh-pkcs11-client.c 41 #include "atomicio.h"
169 if (atomicio(vwrite, fd, buf, 4) != 4 ||
170 atomicio(vwrite, fd, sshbuf_mutable_ptr(m),
187 if ((len = atomicio(read, fd, buf, 4)) != 4) {
199 if (atomicio(read, fd, buf, l) != l) {
progressmeter.c 45 #include "atomicio.h"
243 atomicio(vwrite, STDOUT_FILENO, obuf, strlen(obuf));
288 atomicio(vwrite, STDOUT_FILENO, __UNCONST("\n"), 1);
atomicio.c 1 /* $NetBSD: atomicio.c,v 1.9 2019/04/20 17:16:40 christos Exp $ */
2 /* $OpenBSD: atomicio.c,v 1.30 2019/01/24 02:42:23 dtucker Exp $ */
31 __RCSID("$NetBSD: atomicio.c,v 1.9 2019/04/20 17:16:40 christos Exp $");
41 #include "atomicio.h"
92 atomicio(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n) function
authfd.c 59 #include "atomicio.h"
150 if (atomicio(vwrite, sock, buf, 4) != 4 ||
151 atomicio(vwrite, sock, sshbuf_mutable_ptr(request),
158 if (atomicio(read, sock, buf, 4) != 4)
172 if (atomicio(read, sock, buf, l) != l)
monitor_wrap.c 70 #include "atomicio.h"
114 if (atomicio(vwrite, mon->m_log_sendfd,
168 if (atomicio(vwrite, sock, buf, sizeof(buf)) != sizeof(buf) ||
169 atomicio(vwrite, sock, sshbuf_mutable_ptr(m), mlen) != mlen) {
188 if (atomicio(read, sock, buf, sizeof(buf)) != sizeof(buf)) {
202 if (atomicio(read, sock, p, msg_len) != msg_len) {
ssh-keyscan.c 49 #include "atomicio.h"
453 if (atomicio(vwrite, s, buf, n) != (size_t)n) {
473 (n = atomicio(read, s, cp, 1)) == 1 && *cp != '\n') {
kex.c 48 #include "atomicio.h"
1256 if (atomicio(vwrite, ssh_packet_get_connection_out(ssh),
1258 atomicio(vwrite, ssh_packet_get_connection_out(ssh),
1296 if (atomicio(vwrite, ssh_packet_get_connection_out(ssh),
1348 len = atomicio(read, ssh_packet_get_connection_in(ssh),
sshd-session.c 83 #include "atomicio.h"
1006 (void)atomicio(vwrite, startup_pipe, __UNCONST("\0"), 1);
1249 (void)atomicio(vwrite, startup_pipe, __UNCONST("\001"), 1);
auth2.c 44 #include "atomicio.h"
139 n = atomicio(read, fd, banner, len);
sshd.c 80 #include "atomicio.h"
798 if (atomicio(vwrite, fd, sshbuf_mutable_ptr(config), mlen) != mlen)
803 if (atomicio(vwrite, fd, sshbuf_mutable_ptr(keys), mlen) != mlen)
clientloop.c 101 #include "atomicio.h"
203 (void)atomicio(vwrite, STDERR_FILENO, msg, strlen(msg));
769 atomicio(vwrite, fileno(stdout), sshbuf_mutable_ptr(bout),
772 atomicio(vwrite, fileno(stderr), sshbuf_mutable_ptr(berr),
monitor.c 58 #include "atomicio.h"
453 if (atomicio(read, pmonitor->m_log_recvfd, p, 4) != 4) {
472 if (atomicio(read, pmonitor->m_log_recvfd, p, len) != len)
sftp-server.c 44 #include "atomicio.h"
875 /* XXX ATOMICIO ? */
1640 ret = atomicio(read, read_fd, buf, len);
1652 ret = atomicio(vwrite, write_fd, buf, len);
session.c 93 #include "atomicio.h"
238 if (atomicio(vwrite, fd, sshbuf_mutable_ptr(info),
  /src/crypto/external/bsd/openssh/lib/
Makefile 28 atomicio.c \

Completed in 35 milliseconds

1 2