lib/libc/asr/asr.c
242
fds[0].events = (ar->ar_cond == ASR_WANT_READ) ? POLLIN:POLLOUT;
lib/libevent/poll.c
113
if (pop->event_set[idx].events & POLLOUT) {
lib/libevent/poll.c
175
what |= POLLIN|POLLOUT;
lib/libevent/poll.c
180
if (what & POLLOUT) {
lib/libevent/poll.c
287
pfd->events |= POLLOUT;
lib/libevent/poll.c
328
pfd->events &= ~POLLOUT;
lib/libsndio/mio.c
166
if (!mio_psleep(hdl, POLLOUT))
lib/libsndio/mio_aucat.c
157
events &= ~POLLOUT;
lib/libsndio/mio_aucat.c
175
if (revents & POLLOUT) {
lib/libsndio/mio_aucat.c
177
revents &= ~POLLOUT;
lib/libsndio/sio.c
377
if (!sio_psleep(hdl, POLLOUT))
lib/libsndio/sio.c
434
revents &= ~POLLOUT;
lib/libsndio/sio_aucat.c
462
events &= ~POLLOUT;
lib/libsndio/sio_aucat.c
480
if (revents & POLLOUT) {
lib/libsndio/sio_aucat.c
482
revents &= ~POLLOUT;
lib/libsndio/sio_sun.c
552
(pfd->revents & (POLLIN | POLLOUT)) == 0)
lib/libsndio/sioctl_aucat.c
177
if (!_sioctl_psleep(&hdl->sioctl, POLLOUT))
lib/libsndio/sioctl_aucat.c
204
if (!_sioctl_psleep(&hdl->sioctl, POLLOUT))
lib/libsndio/sioctl_aucat.c
230
if (hdl->sioctl.nbio || !_sioctl_psleep(&hdl->sioctl, POLLOUT))
lib/libsndio/sioctl_sun.c
482
if (events & POLLOUT)
lib/libsndio/sioctl_sun.c
497
if (hdl->events & POLLOUT)
lib/libsndio/sioctl_sun.c
498
return POLLOUT;
libexec/spamd/spamd.c
1600
con[i].pfd->events |= POLLOUT;
libexec/spamd/spamd.c
1608
con[i].pfd->events = POLLOUT;
libexec/spamd/spamd.c
1658
(pfd[PFD_FIRSTCON + i].revents & POLLOUT)) {
regress/bin/ksh/edit/edit.c
103
pfd.events = POLLOUT;
regress/bin/ksh/edit/edit.c
138
} else if (pfd.revents & POLLOUT) {
regress/lib/libc/sys/t_poll.c
170
pfds[1].events = POLLOUT;
regress/lib/libc/sys/t_poll.c
189
ATF_REQUIRE_EQ_MSG(pfds[1].revents, POLLOUT, "got: %d",\
regress/lib/libc/sys/t_poll.c
198
ATF_REQUIRE_EQ_MSG(pfds[1].revents, POLLOUT, "got: %d",
regress/lib/libc/sys/t_poll.c
211
ATF_REQUIRE_EQ_MSG(pfds[1].revents, POLLOUT, "got: %d",
regress/lib/libc/sys/t_poll.c
55
pfd.events = POLLIN | POLLHUP | POLLOUT;
regress/lib/libc/sys/t_poll.c
67
pfd.events = POLLIN | POLLHUP | POLLOUT;
regress/lib/libc/sys/t_poll.c
82
pfd.events = POLLIN | POLLHUP | POLLOUT;
regress/lib/libc/sys/t_pollts.c
102
ATF_REQUIRE_EQ_MSG(pfds[1].revents, POLLOUT, "got: %d",
regress/lib/libc/sys/t_pollts.c
115
ATF_REQUIRE_EQ_MSG(pfds[1].revents, POLLOUT, "got: %d",
regress/lib/libc/sys/t_pollts.c
70
pfds[1].events = POLLOUT;
regress/lib/libc/sys/t_pollts.c
93
ATF_REQUIRE_EQ_MSG(pfds[1].revents, POLLOUT, "got: %d",\
regress/lib/libpthread/poll/poll.c
113
p[1].events = POLLOUT;
regress/lib/libpthread/poll/poll.c
118
ASSERT(p[1].revents == POLLOUT);
regress/lib/libpthread/poll/poll.c
14
#define POLLALL (POLLIN|POLLOUT|POLLERR|POLLNVAL)
regress/lib/libpthread/poll/poll.c
23
p->events & POLLOUT ? "out " : "",
regress/lib/libpthread/poll/poll.c
24
p->events & ~(POLLIN|POLLOUT) ? "XXX " : "",
regress/lib/libpthread/poll/poll.c
26
p->revents & POLLOUT ? "out " : "",
regress/lib/libpthread/poll/poll.c
71
p[0].events = POLLIN|POLLOUT;
regress/lib/libpthread/poll/poll.c
74
p[1].events = POLLIN|POLLOUT;
regress/lib/libpthread/poll/poll.c
81
ASSERT((p[1].revents & POLLOUT) == POLLOUT);
regress/lib/libpthread/poll/poll.c
91
p[0].events = POLLIN|POLLOUT;
regress/lib/libpthread/poll/poll.c
93
p[1].events = POLLIN|POLLOUT;
regress/lib/libpthread/poll/poll.c
98
ASSERT((p[1].revents & POLLOUT) == POLLOUT);
regress/lib/libsndio/fd/fd.c
314
events |= POLLOUT;
regress/lib/libsndio/fd/fd.c
335
if (revents & POLLOUT) {
regress/lib/libsndio/vol/vol.c
120
sio_pollfd(hdl, &pfd[1], POLLOUT);
regress/lib/libsndio/vol/vol.c
145
if (sio_revents(hdl, &pfd[1]) & POLLOUT) {
regress/lib/libssl/dtls/dtlstest.c
1017
pfd[1].events = POLLOUT;
regress/lib/libssl/dtls/dtlstest.c
1024
pfd[0].events = POLLOUT;
regress/lib/libssl/dtls/dtlstest.c
1032
pfd[0].events = POLLOUT;
regress/lib/libssl/dtls/dtlstest.c
1033
pfd[1].events = POLLOUT;
regress/lib/libssl/dtls/dtlstest.c
511
*events = POLLOUT;
regress/lib/libssl/dtls/dtlstest.c
993
pfd[0].events = POLLOUT;
regress/sys/fifofs/fifotest.c
107
dopoll(-1, fd, POLLIN|POLLOUT, "POLLIN|POLLOUT", timeout);
regress/sys/fifofs/fifotest.c
109
dopoll(-1, fd, POLLOUT, "POLLOUT", timeout);
regress/sys/fifofs/fifotest.c
122
dopoll(-1, fd, POLLIN|POLLOUT, "POLLIN|POLLOUT", timeout);
regress/sys/fifofs/fifotest.c
124
dopoll(-1, fd, POLLOUT, "POLLOUT", timeout);
regress/sys/fifofs/fifotest.c
237
dopoll(writer, fd, POLLIN|POLLOUT, "POLLIN|POLLOUT", timeout);
regress/sys/fifofs/fifotest.c
245
dopoll(writer, fd, POLLOUT, "POLLOUT", timeout);
regress/sys/fifofs/fifotest.c
304
if (pfd.revents & POLLOUT)
regress/sys/kern/poll/poll_iocond.c
323
pfd[0].events = POLLIN | POLLOUT | POLLPRI;
regress/sys/kern/poll/poll_iocond.c
327
assert(pfd[0].revents == POLLOUT);
regress/sys/kern/poll/poll_iocond.c
338
assert(pfd[0].revents == POLLOUT);
regress/sys/kern/poll/poll_iocond.c
352
pfd[0].events = POLLOUT;
regress/sys/kern/poll/poll_iocond.c
357
assert(pfd[0].revents == POLLOUT);
regress/sys/kern/poll/poll_iocond.c
440
pfd[0].events = POLLIN | POLLOUT | POLLPRI;
regress/sys/kern/poll/poll_iocond.c
447
assert(pfd[0].revents == (POLLIN | POLLOUT | POLLHUP));
regress/sys/kern/poll/poll_iocond.c
454
assert(pfd[0].revents == (POLLIN | POLLOUT));
regress/sys/kern/poll/poll_iocond.c
503
pfd[0].events = POLLIN | POLLOUT | POLLPRI;
regress/sys/kern/poll/poll_iocond.c
505
pfd[0].events &= ~POLLOUT;
regress/sys/kern/poll/poll_iocond.c
516
assert(pfd[0].revents == POLLOUT);
regress/sys/kern/poll/poll_iocond.c
543
assert(pfd[0].revents == (POLLIN | POLLOUT));
regress/sys/kern/poll/poll_iocond.c
612
pfd[0].events = POLLIN | POLLOUT | POLLPRI;
regress/sys/kern/poll/poll_iocond.c
618
assert(pfd[0].revents == (POLLIN | POLLOUT | POLLPRI));
regress/sys/kern/poll/poll_iocond.c
627
assert(pfd[0].revents == (POLLIN | POLLOUT));
regress/sys/kern/poll/poll_iocond.c
636
assert(pfd[0].revents == POLLOUT);
regress/sys/kern/poll/poll_iocond.c
660
pfd[0].events = POLLIN | POLLOUT | POLLPRI;
regress/sys/kern/poll/poll_iocond.c
666
assert(pfd[0].revents == (POLLIN | POLLOUT | POLLPRI));
regress/sys/kern/poll/poll_iocond.c
679
assert(pfd[0].revents == (POLLIN | POLLOUT | POLLPRI));
regress/sys/kern/poll/poll_iocond.c
692
assert(pfd[0].revents == (POLLIN | POLLOUT));
regress/sys/kern/poll/poll_iocond.c
705
assert(pfd[0].revents == POLLOUT);
regress/sys/kern/poll/poll_iocond.c
729
pfd[0].events = POLLIN | POLLOUT | POLLPRI;
regress/sys/kern/poll/poll_iocond.c
733
assert(pfd[0].revents == (POLLIN | POLLOUT));
regress/sys/kern/poll/poll_iocond.c
740
assert(pfd[0].revents == (POLLIN | POLLOUT));
regress/sys/kern/poll/poll_iocond.c
751
pfd[0].events = POLLIN | POLLOUT | POLLPRI;
regress/sys/kern/poll/poll_iocond.c
758
assert(pfd[0].revents == (POLLIN | POLLOUT | POLLHUP));
regress/sys/kern/poll/poll_iocond.c
765
assert(pfd[0].revents == (POLLIN | POLLOUT));
regress/sys/kern/poll/poll_iocond.c
793
pfd[0].events = POLLIN | POLLOUT | POLLPRI;
regress/sys/kern/poll/poll_iocond.c
815
assert(pfd[0].revents == (POLLIN | POLLOUT | POLLHUP));
regress/sys/kern/poll/poll_iocond.c
824
assert(pfd[0].revents == POLLOUT);
regress/sys/kern/poll/poll_regevent.c
53
pfd[1].events = POLLOUT;
sbin/ldattach/atomicio.c
52
pfd.events = f == read ? POLLIN : POLLOUT;
sbin/ldattach/atomicio.c
94
pfd.events = f == readv ? POLLIN : POLLOUT;
sbin/unwind/libunbound/util/netevent.c
459
p.events = POLLOUT
sbin/unwind/libunbound/util/netevent.c
774
p.events = POLLOUT
sys/kern/sys_generic.c
1126
if (pl[i].events & (POLLOUT | POLLWRNORM)) {
sys/kern/sys_generic.c
1209
} else if (pl[i].events & (POLLOUT | POLLWRNORM)) {
sys/kern/sys_generic.c
1210
pl[i].revents |= pl[i].events & (POLLOUT | POLLWRNORM);
sys/kern/sys_generic.c
1215
if (pl[i].events != 0 && pl[i].events != POLLOUT)
sys/sys/poll.h
47
#define POLLWRNORM POLLOUT
usr.bin/aucat/aucat.c
1111
ev |= POLLOUT;
usr.bin/aucat/aucat.c
1133
if (ev & (POLLIN | POLLOUT)) {
usr.bin/cvs/atomicio.c
49
pfd.events = f == read ? POLLIN : POLLOUT;
usr.bin/ftp/util.c
1114
pfd.events = POLLOUT;
usr.bin/mg/region.c
606
pfd[0].events = POLLIN | POLLOUT;
usr.bin/mg/region.c
610
if (pfd[0].revents & POLLOUT && len > 0)
usr.bin/mg/region.c
615
if (len == 0 && pfd[0].events & POLLOUT)
usr.bin/nc/atomicio.c
47
pfd.events = f == read ? POLLIN : POLLOUT;
usr.bin/nc/netcat.c
1014
pfd.events = POLLOUT;
usr.bin/nc/netcat.c
1207
pfd[POLL_STDIN].events = POLLOUT;
usr.bin/nc/netcat.c
1212
pfd[POLL_NETOUT].events = POLLOUT;
usr.bin/nc/netcat.c
1218
if (pfd[POLL_NETOUT].revents & POLLOUT && stdinbufpos > 0) {
usr.bin/nc/netcat.c
1224
pfd[POLL_NETOUT].events = POLLOUT;
usr.bin/nc/netcat.c
1241
pfd[POLL_NETIN].events = POLLOUT;
usr.bin/nc/netcat.c
1257
pfd[POLL_STDOUT].events = POLLOUT;
usr.bin/nc/netcat.c
1267
if (pfd[POLL_STDOUT].revents & POLLOUT && netinbufpos > 0) {
usr.bin/nc/netcat.c
1273
pfd[POLL_STDOUT].events = POLLOUT;
usr.bin/nc/netcat.c
1392
pfd.events = POLLOUT;
usr.bin/nc/netcat.c
788
pfd.events = POLLOUT;
usr.bin/openssl/ocsp.c
1487
pfd[0].events = POLLOUT;
usr.bin/openssl/ocsp.c
1528
pfd[0].events = POLLOUT;
usr.bin/openssl/s_client.c
1392
pfd[1].events = POLLOUT;
usr.bin/openssl/s_client.c
1401
pfd[2].events |= POLLOUT;
usr.bin/openssl/s_client.c
1418
(pfd[2].revents & (POLLOUT|POLLERR|POLLNVAL))) {
usr.bin/openssl/s_client.c
1480
(pfd[1].revents & (POLLOUT|POLLERR|POLLNVAL))) {
usr.bin/rsync/io.c
69
pfd.events = POLLOUT;
usr.bin/rsync/io.c
85
} else if (!(pfd.revents & POLLOUT)) {
usr.bin/rsync/receiver.c
290
pfd[PFD_SENDER_OUT].events = POLLOUT;
usr.bin/rsync/receiver.c
352
(pfd[PFD_SENDER_OUT].revents & POLLOUT)) {
usr.bin/rsync/sender.c
438
pfd[1].events = POLLOUT;
usr.bin/rsync/sender.c
561
if ((pfd[1].revents & POLLOUT) && wbufsz > 0) {
usr.bin/rsync/sender.c
572
pfd[1].revents &= ~POLLOUT;
usr.bin/rsync/sender.c
584
if (pfd[1].revents & POLLOUT && up.cur != NULL) {
usr.bin/rsync/socket.c
108
pfd.events = POLLOUT;
usr.bin/sendbug/atomicio.c
47
pfd.events = f == read ? POLLIN : POLLOUT;
usr.bin/sndiod/dev_sioctl.c
155
events |= POLLOUT;
usr.bin/sndiod/file.c
270
if ((revents & POLLOUT) && (f->state != FILE_ZOMB)) {
usr.bin/sndiod/miofile.c
75
events |= POLLOUT;
usr.bin/sndiod/siofile.c
311
events = (d->sio.cstate == DEV_SIO_READ) ? POLLIN : POLLOUT;
usr.bin/sndiod/siofile.c
392
!(d->sio.events & POLLOUT)) {
usr.bin/sndiod/sock.c
1530
events |= POLLOUT;
usr.bin/snmp/snmp.c
298
direction = POLLOUT;
usr.bin/snmp/snmp.c
311
direction = POLLOUT;
usr.bin/snmp/snmp.c
321
if (direction == POLLOUT) {
usr.bin/snmp/snmp.c
341
direction = POLLOUT;
usr.bin/snmp/snmp.c
349
direction = POLLOUT;
usr.bin/snmp/snmp.c
355
direction = POLLOUT;
usr.bin/snmp/snmp.c
363
direction = POLLOUT;
usr.bin/ssh/atomicio.c
110
pfd.events = f == readv ? POLLIN : POLLOUT;
usr.bin/ssh/atomicio.c
52
pfd.events = f == read ? POLLIN : POLLOUT;
usr.bin/ssh/channels.c
2759
ev |= POLLOUT;
usr.bin/ssh/channels.c
2766
ev |= POLLOUT;
usr.bin/ssh/channels.c
2773
ev |= POLLOUT;
usr.bin/ssh/channels.c
2788
ev |= POLLOUT;
usr.bin/ssh/channels.c
2804
ev |= POLLOUT;
usr.bin/ssh/channels.c
2820
ev |= POLLOUT;
usr.bin/ssh/channels.c
2939
"wfd/r", POLLOUT, SSH_CHAN_IO_WFD);
usr.bin/ssh/channels.c
2945
"efdw/r", POLLOUT, SSH_CHAN_IO_EFD_W);
usr.bin/ssh/channels.c
2951
"sockw/r", POLLOUT, SSH_CHAN_IO_SOCK_W);
usr.bin/ssh/channels.c
2959
"wfd", POLLOUT, SSH_CHAN_IO_WFD);
usr.bin/ssh/channels.c
2968
"efdw", POLLOUT, SSH_CHAN_IO_EFD_W);
usr.bin/ssh/channels.c
2977
"sockw", POLLOUT, SSH_CHAN_IO_SOCK_W);
usr.bin/ssh/clientloop.c
709
POLLOUT : 0;
usr.bin/ssh/misc.c
416
if (waitfd(sockfd, timeoutp, POLLIN | POLLOUT, NULL) == -1)
usr.bin/ssh/monitor_fdpass.c
70
pfd.events = POLLOUT;
usr.bin/ssh/mux.c
1552
pfd.events = POLLOUT;
usr.bin/ssh/packet.c
2185
pfd.events = POLLOUT;
usr.bin/ssh/serverloop.c
212
(*pfdp)[1].events = ssh_packet_have_data_to_write(ssh) ? POLLOUT : 0;
usr.bin/ssh/sftp-server.c
2009
pfd[1].events = POLLOUT;
usr.bin/ssh/sftp-server.c
2034
if (pfd[1].revents & (POLLOUT|POLLHUP)) {
usr.bin/ssh/ssh-agent.c
2073
if ((pfd[i].revents & (POLLOUT|POLLHUP)) != 0 &&
usr.bin/ssh/ssh-agent.c
2145
pfd[j].events |= POLLOUT;
usr.bin/ssh/ssh-pkcs11-helper.c
265
pfd[1].events = POLLOUT;
usr.bin/ssh/ssh-pkcs11-helper.c
286
if ((pfd[1].revents & (POLLOUT|POLLHUP)) != 0) {
usr.bin/ssh/sshd.c
1002
!(pfd[startup_pollfd[i]].revents & POLLOUT))
usr.bin/ssh/sshd.c
983
pfd[npfd].events |= POLLOUT;
usr.bin/tcpbench/tcpbench.c
655
pfd.events = POLLOUT;
usr.bin/telnet/sys_bsd.c
506
pfd[TELNET_FD_TOUT].events = POLLOUT;
usr.bin/telnet/sys_bsd.c
520
pfd[TELNET_FD_NET].events |= POLLOUT;
usr.bin/telnet/sys_bsd.c
589
if (pfd[TELNET_FD_NET].revents & POLLOUT) {
usr.bin/telnet/sys_bsd.c
592
if (pfd[TELNET_FD_TOUT].revents & POLLOUT) {
usr.bin/telnet/utilities.c
653
pfd[0].events = POLLOUT;
usr.sbin/bgpd/bgpd.c
1255
pfd->events |= POLLOUT;
usr.sbin/bgpd/bgpd.c
1266
if (pfd->revents & POLLOUT)
usr.sbin/bgpd/bgpd.c
357
pfd[npfd++].events = POLLOUT;
usr.sbin/bgpd/control.c
151
pfd[i].events |= POLLOUT;
usr.sbin/bgpd/control.c
258
if (pfd->revents & POLLOUT) {
usr.sbin/bgpd/rde.c
258
pfd[i].events = POLLOUT;
usr.sbin/bgpd/rde.c
319
pfd[j].revents & POLLOUT)
usr.sbin/bgpd/rtr_proto.c
1277
if (pfd->revents & POLLOUT && msgbuf_queuelen(rs->w) > 0) {
usr.sbin/bgpd/rtr_proto.c
1392
pfd->events |= POLLOUT;
usr.sbin/bgpd/session.c
423
events |= POLLOUT;
usr.sbin/bgpd/session.c
442
pfd[i].events = POLLOUT;
usr.sbin/bgpd/session.c
521
if (pfd[j].revents & POLLOUT)
usr.sbin/bgpd/session.c
622
if (pfd->revents & POLLOUT) {
usr.sbin/bgpd/session.c
662
if (pfd->revents & POLLOUT && msgbuf_queuelen(p->wbuf) > 0) {
usr.sbin/nsd/netio.c
155
fds[numfd].events |= POLLOUT;
usr.sbin/nsd/netio.c
241
if ((fds[handler->pfd].revents & POLLOUT)) {
usr.sbin/ntpd/control.c
214
if (pfd->revents & POLLOUT)
usr.sbin/ntpd/ntp.c
338
pfd[PFD_PIPE_MAIN].events |= POLLOUT;
usr.sbin/ntpd/ntp.c
340
pfd[PFD_PIPE_DNS].events |= POLLOUT;
usr.sbin/ntpd/ntp.c
346
pfd[i].events |= POLLOUT;
usr.sbin/ntpd/ntp.c
369
if (nfds > 0 && (pfd[PFD_PIPE_MAIN].revents & POLLOUT))
usr.sbin/ntpd/ntp.c
383
if (nfds > 0 && (pfd[PFD_PIPE_DNS].revents & POLLOUT))
usr.sbin/ntpd/ntp_dns.c
112
pfd[0].events |= POLLOUT;
usr.sbin/ntpd/ntp_dns.c
120
if (nfds > 0 && (pfd[0].revents & POLLOUT))
usr.sbin/ntpd/ntpd.c
309
pfd[PFD_PIPE].events |= POLLOUT;
usr.sbin/ntpd/ntpd.c
336
if (nfds > 0 && (pfd[PFD_PIPE].revents & POLLOUT))
usr.sbin/radiusd/imsg_subr.c
68
fds[0].events = POLLOUT;
usr.sbin/radiusd/imsg_subr.c
74
if (retval > 0 && (fds[0].revents & POLLOUT) != 0)
usr.sbin/rpki-client/filemode.c
815
pfd.events |= POLLOUT;
usr.sbin/rpki-client/filemode.c
847
if (pfd.revents & POLLOUT) {
usr.sbin/rpki-client/http.c
1000
conn->events = POLLOUT;
usr.sbin/rpki-client/http.c
2112
pfds[0].events |= POLLOUT;
usr.sbin/rpki-client/http.c
2171
if (pfds[0].revents & POLLOUT) {
usr.sbin/rpki-client/main.c
1359
pfd[i].events |= POLLOUT;
usr.sbin/rpki-client/main.c
1377
if (pfd[i].revents & POLLOUT) {
usr.sbin/rpki-client/parser.c
1122
pfd.events = POLLOUT;
usr.sbin/rpki-client/parser.c
1138
if (pfd.revents & POLLOUT) {
usr.sbin/rpki-client/rrdp.c
590
pfds[0].events |= POLLOUT;
usr.sbin/rpki-client/rrdp.c
600
if (pfds[0].revents & POLLOUT) {
usr.sbin/rpki-client/rsync.c
317
pfd.events |= POLLOUT;
usr.sbin/rpki-client/rsync.c
368
if (pfd.revents & POLLOUT) {
usr.sbin/unbound/daemon/remote.c
4367
p.events |= POLLOUT;
usr.sbin/unbound/util/netevent.c
459
p.events = POLLOUT
usr.sbin/unbound/util/netevent.c
774
p.events = POLLOUT
usr.sbin/vmd/atomicio.c
108
pfd.events = f == readv ? POLLIN : POLLOUT;
usr.sbin/vmd/atomicio.c
55
pfd.events = f == read ? POLLIN : POLLOUT;