games/grdc/grdc.c
127
pfd.events = POLLIN;
games/robots/move.c
100
pfd[0].events = POLLIN;
games/tetris/input.c
73
pfd[0].events = POLLIN;
games/worm/worm.c
171
pfd[0].events = POLLIN;
lib/libc/asr/asr.c
242
fds[0].events = (ar->ar_cond == ASR_WANT_READ) ? POLLIN:POLLOUT;
lib/libc/asr/res_send_async.c
607
pfd.events = POLLIN;
lib/libc/net/rcmd.c
206
pfd[0].events = POLLIN;
lib/libc/net/rcmd.c
208
pfd[1].events = POLLIN;
lib/libc/net/rcmd.c
212
(pfd[1].revents & (POLLIN|POLLHUP)) == 0) {
lib/libc/rpc/clnt_tcp.c
397
pfd[0].events = POLLIN;
lib/libc/rpc/clnt_udp.c
210
pfd[0].events = POLLIN;
lib/libc/rpc/pmap_rmt.c
255
pfd[0].events = POLLIN;
lib/libc/rpc/svc.c
188
svc_pollfd[slot].events = POLLIN;
lib/libc/rpc/svc.c
548
if ((pfd[i].revents & (POLLIN | POLLHUP)) == 0)
lib/libc/rpc/svc_tcp.c
347
pfd[0].events = POLLIN;
lib/libcurses/tty/lib_twait.c
254
fds[count].events = POLLIN;
lib/libcurses/tty/lib_twait.c
260
fds[count].events = POLLIN;
lib/libcurses/tty/lib_twait.c
271
fds[count].events = POLLIN;
lib/libcurses/tty/lib_twait.c
295
&& fds[c].revents & POLLIN) {
lib/libcurses/tty/lib_twait.c
494
&& (fds[count].revents & POLLIN)) {
lib/libcurses/tty/tty_update.c
386
fds[0].events = POLLIN;
lib/libevent/poll.c
107
if (pop->event_set[idx].events & POLLIN) {
lib/libevent/poll.c
175
what |= POLLIN|POLLOUT;
lib/libevent/poll.c
176
if (what & POLLIN) {
lib/libevent/poll.c
291
pfd->events |= POLLIN;
lib/libevent/poll.c
324
pfd->events &= ~POLLIN;
lib/libfido2/src/hid_openbsd.c
123
pfd.events = POLLIN;
lib/libfido2/src/hid_unix.c
57
pfd.events = POLLIN;
lib/libossaudio/ossaudio.c
235
n = sioctl_pollfd(hdl, pfds, POLLIN);
lib/libskey/skeylogin.c
584
pfd[0].events = POLLIN;
lib/libsndio/aucat.c
556
events |= POLLIN;
lib/libsndio/mio.c
139
if (!mio_psleep(hdl, POLLIN))
lib/libsndio/mio_aucat.c
167
if (revents & POLLIN) {
lib/libsndio/mio_aucat.c
173
revents &= ~POLLIN;
lib/libsndio/sio.c
339
if (!sio_psleep(hdl, POLLIN))
lib/libsndio/sio.c
436
revents &= ~POLLIN;
lib/libsndio/sio_aucat.c
472
if (revents & POLLIN) {
lib/libsndio/sio_aucat.c
478
revents &= ~POLLIN;
lib/libsndio/sio_sun.c
552
(pfd->revents & (POLLIN | POLLOUT)) == 0)
lib/libsndio/sioctl_aucat.c
247
return _aucat_pollfd(&hdl->aucat, pfd, events | POLLIN);
lib/libsndio/sioctl_aucat.c
257
if (revents & POLLIN) {
lib/libsndio/sioctl_aucat.c
268
revents &= ~POLLIN;
lib/libsndio/sioctl_sun.c
486
pfd->events = POLLIN;
lib/libsndio/sioctl_sun.c
500
if (pfd->revents & POLLIN) {
libexec/ftpd/ftpd.c
466
pfds[n].events = POLLIN;
libexec/ftpd/ftpd.c
488
if (pfds[i].revents & POLLIN) {
libexec/getty/subr.c
414
pfd[0].events = POLLIN;
libexec/lockspool/lockspool.c
90
pfd.events = POLLIN;
libexec/spamd/spamd.c
1553
pfd[PFD_TRAPFD].events = POLLIN;
libexec/spamd/spamd.c
1560
pfd[PFD_SYNCFD].events = POLLIN;
libexec/spamd/spamd.c
1567
pfd[PFD_GREYBACK].events = POLLIN;
libexec/spamd/spamd.c
1592
con[i].pfd->events |= POLLIN;
libexec/spamd/spamd.c
1605
con[i].pfd->events = POLLIN;
libexec/spamd/spamd.c
1617
pfd[PFD_SMTPLISTEN].events = POLLIN;
libexec/spamd/spamd.c
1621
pfd[PFD_CONFLISTEN].events = POLLIN;
libexec/spamd/spamd.c
1623
pfd[PFD_CONFFD].events = POLLIN;
libexec/spamd/spamd.c
1650
if (pfd[PFD_FIRSTCON + i].revents & POLLIN) {
libexec/spamd/spamd.c
1666
if (pfd[PFD_SMTPLISTEN].revents & (POLLIN|POLLHUP)) {
libexec/spamd/spamd.c
1706
if (pfd[PFD_CONFLISTEN].revents & (POLLIN|POLLHUP)) {
libexec/spamd/spamd.c
1729
} else if (pfd[PFD_CONFFD].revents & (POLLIN|POLLHUP))
libexec/spamd/spamd.c
1731
if (pfd[PFD_TRAPFD].revents & (POLLIN|POLLHUP))
libexec/spamd/spamd.c
1733
if (pfd[PFD_SYNCFD].revents & (POLLIN|POLLHUP))
libexec/spamd/spamd.c
1735
if (pfd[PFD_GREYBACK].revents & (POLLIN|POLLHUP))
regress/bin/ksh/edit/edit.c
105
pfd.events = POLLIN;
regress/bin/ksh/edit/edit.c
123
if (pfd.revents & (POLLIN | POLLHUP)) {
regress/lib/libc/sys/t_poll.c
168
pfds[0].events = POLLIN;
regress/lib/libc/sys/t_poll.c
209
ATF_REQUIRE_EQ_MSG(pfds[0].revents, POLLIN, "got: %d",
regress/lib/libc/sys/t_poll.c
230
pfd.events = POLLIN;
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
113
ATF_REQUIRE_EQ_MSG(pfds[0].revents, POLLIN, "got: %d",
regress/lib/libc/sys/t_pollts.c
135
pfd.events = POLLIN;
regress/lib/libc/sys/t_pollts.c
170
pfd.events = POLLIN;
regress/lib/libc/sys/t_pollts.c
68
pfds[0].events = POLLIN;
regress/lib/libpthread/cancel2/cancel2.c
55
pfd.events = POLLIN;
regress/lib/libpthread/cancel2/cancel2.c
71
pfd.events = POLLIN;
regress/lib/libpthread/dlopen/dlopen.c
261
pfd.events = POLLIN;
regress/lib/libpthread/poll/poll.c
111
p[0].events = POLLIN;
regress/lib/libpthread/poll/poll.c
125
p[0].events = POLLIN;
regress/lib/libpthread/poll/poll.c
128
ASSERT(p[0].revents == POLLIN);
regress/lib/libpthread/poll/poll.c
14
#define POLLALL (POLLIN|POLLOUT|POLLERR|POLLNVAL)
regress/lib/libpthread/poll/poll.c
22
p->events & POLLIN ? "in " : "",
regress/lib/libpthread/poll/poll.c
24
p->events & ~(POLLIN|POLLOUT) ? "XXX " : "",
regress/lib/libpthread/poll/poll.c
25
p->revents & POLLIN ? "in " : "",
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
80
ASSERT((p[0].revents & POLLIN) == POLLIN);
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/socket/3/socket3.c
90
fds.events = POLLIN;
regress/lib/libsndio/fd/fd.c
306
events |= POLLIN;
regress/lib/libsndio/fd/fd.c
331
if (revents & POLLIN) {
regress/lib/libsndio/vol/vol.c
119
pfd[0].events = POLLIN;
regress/lib/libsndio/vol/vol.c
125
if (pfd[0].revents & POLLIN) {
regress/lib/libssl/dtls/dtlstest.c
1016
pfd[0].events = POLLIN;
regress/lib/libssl/dtls/dtlstest.c
1025
pfd[1].events = POLLIN;
regress/lib/libssl/dtls/dtlstest.c
509
*events = POLLIN;
regress/lib/libssl/dtls/dtlstest.c
707
pfd[0].revents = POLLIN;
regress/lib/libssl/dtls/dtlstest.c
708
pfd[1].revents = POLLIN;
regress/lib/libssl/dtls/dtlstest.c
995
pfd[1].events = POLLIN;
regress/sys/dev/video/videotest.c
454
pfds[0].events = POLLIN;
regress/sys/dev/video/videotest.c
534
pfds[0].events = POLLIN;
regress/sys/fifofs/fifotest.c
107
dopoll(-1, fd, POLLIN|POLLOUT, "POLLIN|POLLOUT", timeout);
regress/sys/fifofs/fifotest.c
108
dopoll(-1, fd, POLLIN, "POLLIN", timeout);
regress/sys/fifofs/fifotest.c
122
dopoll(-1, fd, POLLIN|POLLOUT, "POLLIN|POLLOUT", timeout);
regress/sys/fifofs/fifotest.c
123
dopoll(-1, fd, POLLIN, "POLLIN", timeout);
regress/sys/fifofs/fifotest.c
237
dopoll(writer, fd, POLLIN|POLLOUT, "POLLIN|POLLOUT", timeout);
regress/sys/fifofs/fifotest.c
241
dopoll(writer, fd, POLLIN, "POLLIN", timeout);
regress/sys/fifofs/fifotest.c
302
if (pfd.revents & POLLIN)
regress/sys/kern/kqueue/kqueue-regress.c
277
pfd[0].events = POLLIN;
regress/sys/kern/kqueue/kqueue-regress.c
300
pfd[0].events = POLLIN;
regress/sys/kern/kqueue/kqueue-regress.c
306
assert(pfd[0].revents & POLLIN);
regress/sys/kern/poll/poll_close.c
47
pfd[0].events = POLLIN;
regress/sys/kern/poll/poll_close.c
50
assert(pfd[0].revents & POLLIN);
regress/sys/kern/poll/poll_close.c
61
pfd[0].events = POLLIN;
regress/sys/kern/poll/poll_iocond.c
323
pfd[0].events = POLLIN | POLLOUT | POLLPRI;
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
459
assert(pfd[0].revents == (POLLIN | POLLHUP));
regress/sys/kern/poll/poll_iocond.c
503
pfd[0].events = POLLIN | POLLOUT | POLLPRI;
regress/sys/kern/poll/poll_iocond.c
536
assert(pfd[0].revents == POLLIN);
regress/sys/kern/poll/poll_iocond.c
543
assert(pfd[0].revents == (POLLIN | POLLOUT));
regress/sys/kern/poll/poll_iocond.c
555
pfd[0].events = POLLIN;
regress/sys/kern/poll/poll_iocond.c
574
pfd[0].events = POLLIN;
regress/sys/kern/poll/poll_iocond.c
584
assert(pfd[0].revents == POLLIN);
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
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
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
770
assert(pfd[0].revents == (POLLIN | POLLHUP));
regress/sys/kern/poll/poll_iocond.c
793
pfd[0].events = POLLIN | POLLOUT | POLLPRI;
regress/sys/kern/poll/poll_iocond.c
807
assert(pfd[0].revents == (POLLIN | POLLHUP));
regress/sys/kern/poll/poll_iocond.c
815
assert(pfd[0].revents == (POLLIN | POLLOUT | POLLHUP));
regress/sys/kern/poll/poll_iocond.c
818
assert(pfd[0].revents == (POLLIN | POLLHUP));
regress/sys/kern/poll/poll_regevent.c
49
pfd[0].events = POLLIN;
regress/sys/kern/poll/pollnval.c
33
fds[0].events = POLLIN | POLLHUP;
regress/sys/netinet/sendsrcaddr/runtest.c
258
pfd[0].events = POLLIN;
regress/sys/netinet/sendsrcaddr/runtest.c
264
if ((pfd[0].revents & POLLIN) == 0)
regress/usr.sbin/bgpd/integrationtests/api-exabgp.c
57
pfd[0].events = POLLIN;
regress/usr.sbin/bgpd/integrationtests/api-exabgp.c
59
pfd[1].events = POLLIN;
regress/usr.sbin/bgpd/integrationtests/api-exabgp.c
71
if (pfd[0].revents & POLLIN) {
regress/usr.sbin/bgpd/integrationtests/api-exabgp.c
82
if (pfd[1].revents & POLLIN) {
regress/usr.sbin/snmpd/agentx.c
3116
.events = POLLIN
regress/usr.sbin/snmpd/agentx.c
3146
.events = POLLIN
regress/usr.sbin/snmpd/snmp.c
310
.events = POLLIN
regress/usr.sbin/snmpd/snmp.c
642
.events = POLLIN
sbin/iked/pfkey.c
1393
pfd[0].events = POLLIN;
sbin/ipsecctl/pfkey.c
1331
pfd[0].events = POLLIN;
sbin/ipsecctl/pfkey.c
1337
if ((pfd[0].revents & POLLIN) == 0)
sbin/isakmpd/pf_key_v2.c
210
pfd[0].events = POLLIN;
sbin/ldattach/atomicio.c
52
pfd.events = f == read ? POLLIN : POLLOUT;
sbin/ldattach/atomicio.c
94
pfd.events = f == readv ? POLLIN : POLLOUT;
sbin/mountd/mountd.c
403
pfd[0].events = POLLIN;
sbin/mountd/mountd.c
417
if (!(pfd[0].revents & POLLIN))
sbin/ping/ping.c
813
pfd.events = POLLIN;
sbin/ping/ping.c
921
pfd.events = POLLIN;
sbin/unwind/libunbound/util/tube.c
411
fds.events = POLLIN | POLLERR | POLLHUP;
sbin/unwind/libunbound/util/tube.c
447
fds.events = POLLIN | POLLERR | POLLHUP;
sys/kern/sys_generic.c
1119
if (pl[i].events & (POLLIN | POLLRDNORM)) {
sys/kern/sys_generic.c
1202
if (pl[i].events & (POLLIN | POLLRDNORM))
sys/kern/sys_generic.c
1203
pl[i].revents |= pl[i].events & (POLLIN | POLLRDNORM);
usr.bin/aucat/aucat.c
1113
ev |= POLLIN;
usr.bin/aucat/aucat.c
1118
nm = mio_pollfd(dev_mh, pfds + ns, POLLIN);
usr.bin/aucat/aucat.c
1133
if (ev & (POLLIN | POLLOUT)) {
usr.bin/aucat/aucat.c
1144
if (ev & POLLIN) {
usr.bin/cvs/atomicio.c
49
pfd.events = f == read ? POLLIN : POLLOUT;
usr.bin/ftp/ftp.c
1922
pfd[0].events = POLLIN;
usr.bin/ftp/ftp.c
1949
pfd[0].events = POLLIN;
usr.bin/ftp/ftp.c
2053
pfd[0].events = POLLIN;
usr.bin/ftp/ftp.c
2057
pfd[1].events = POLLIN;
usr.bin/ftp/ftp.c
2067
if (din && (pfd[1].revents & POLLIN)) {
usr.bin/mg/region.c
604
pfd[0].events = POLLIN;
usr.bin/mg/region.c
606
pfd[0].events = POLLIN | POLLOUT;
usr.bin/mg/region.c
612
else if (pfd[0].revents & POLLIN)
usr.bin/mg/region.c
616
pfd[0].events = POLLIN;
usr.bin/mg/ttyio.c
223
pfd[0].events = POLLIN;
usr.bin/nc/atomicio.c
47
pfd.events = f == read ? POLLIN : POLLOUT;
usr.bin/nc/netcat.c
1121
pfd[POLL_STDIN].events = POLLIN;
usr.bin/nc/netcat.c
1129
pfd[POLL_NETIN].events = POLLIN;
usr.bin/nc/netcat.c
1172
if (pfd[POLL_STDIN].events & POLLIN &&
usr.bin/nc/netcat.c
1174
!(pfd[POLL_STDIN].revents & POLLIN))
usr.bin/nc/netcat.c
1177
if (pfd[POLL_NETIN].events & POLLIN &&
usr.bin/nc/netcat.c
1179
!(pfd[POLL_NETIN].revents & POLLIN))
usr.bin/nc/netcat.c
1201
if (pfd[POLL_STDIN].revents & POLLIN && stdinbufpos < BUFSIZE) {
usr.bin/nc/netcat.c
1205
pfd[POLL_STDIN].events = POLLIN;
usr.bin/nc/netcat.c
1222
pfd[POLL_NETOUT].events = POLLIN;
usr.bin/nc/netcat.c
1232
pfd[POLL_STDIN].events = POLLIN;
usr.bin/nc/netcat.c
1235
if (pfd[POLL_NETIN].revents & POLLIN && netinbufpos < BUFSIZE) {
usr.bin/nc/netcat.c
1239
pfd[POLL_NETIN].events = POLLIN;
usr.bin/nc/netcat.c
1271
pfd[POLL_STDOUT].events = POLLIN;
usr.bin/nc/netcat.c
1281
pfd[POLL_NETIN].events = POLLIN;
usr.bin/nc/netcat.c
786
pfd.events = POLLIN;
usr.bin/openssl/ocsp.c
1526
pfd[0].events = POLLIN;
usr.bin/openssl/s_client.c
1388
pfd[0].events = POLLIN;
usr.bin/openssl/s_client.c
1399
pfd[2].events |= POLLIN;
usr.bin/openssl/s_client.c
1499
} else if (ssl_pending || (pfd[2].revents & (POLLIN|POLLHUP))) {
usr.bin/openssl/s_server.c
1571
pfd[0].events = POLLIN;
usr.bin/openssl/s_server.c
1573
pfd[1].events = POLLIN;
usr.bin/openssl/s_time.c
357
pfd[0].events = POLLIN;
usr.bin/rsync/io.c
200
pfd.events = POLLIN;
usr.bin/rsync/io.c
213
} else if (!(pfd.revents & (POLLIN|POLLHUP))) {
usr.bin/rsync/io.c
41
pfd.events = POLLIN;
usr.bin/rsync/io.c
47
return (pfd.revents & POLLIN);
usr.bin/rsync/receiver.c
287
pfd[PFD_SENDER_IN].events = POLLIN;
usr.bin/rsync/receiver.c
288
pfd[PFD_UPLOADER_IN].events = POLLIN;
usr.bin/rsync/receiver.c
289
pfd[PFD_DOWNLOADER_IN].events = POLLIN;
usr.bin/rsync/receiver.c
336
(pfd[PFD_SENDER_IN].revents & POLLIN)) {
usr.bin/rsync/receiver.c
341
pfd[PFD_SENDER_IN].revents &= ~POLLIN;
usr.bin/rsync/receiver.c
351
if ((pfd[PFD_UPLOADER_IN].revents & POLLIN) ||
usr.bin/rsync/receiver.c
371
if ((pfd[PFD_SENDER_IN].revents & POLLIN) ||
usr.bin/rsync/receiver.c
372
(pfd[PFD_DOWNLOADER_IN].revents & POLLIN)) {
usr.bin/rsync/sender.c
436
pfd[0].events = POLLIN;
usr.bin/rsync/sender.c
440
pfd[2].events = POLLIN;
usr.bin/rsync/sender.c
472
if (sess->mplex_reads && (pfd[0].revents & POLLIN)) {
usr.bin/rsync/sender.c
483
pfd[0].revents &= ~POLLIN;
usr.bin/rsync/sender.c
494
if (pfd[0].revents & POLLIN) {
usr.bin/rsync/sender.c
520
if (pfd[2].revents & POLLIN) {
usr.bin/rusers/rusers.c
592
pfd[0].events = POLLIN;
usr.bin/rusers/rusers.c
594
pfd[1].events = POLLIN;
usr.bin/rusers/rusers.c
603
if (pfd[1].revents & POLLIN) {
usr.bin/rusers/rusers.c
609
if (pfd[0].revents & POLLIN) {
usr.bin/sendbug/atomicio.c
47
pfd.events = f == read ? POLLIN : POLLOUT;
usr.bin/sndioctl/sndioctl.c
1066
nfds = sioctl_pollfd(hdl, pfds, POLLIN);
usr.bin/sndiod/fdpass.c
354
pfd->events = POLLIN;
usr.bin/sndiod/file.c
266
if ((revents & POLLIN) && (f->state != FILE_ZOMB)) {
usr.bin/sndiod/listen.c
239
pfd->events = POLLIN;
usr.bin/sndiod/miofile.c
73
events |= POLLIN;
usr.bin/sndiod/siofile.c
311
events = (d->sio.cstate == DEV_SIO_READ) ? POLLIN : POLLOUT;
usr.bin/sndiod/siofile.c
347
if (!(d->sio.events & POLLIN)) {
usr.bin/sndiod/sock.c
1526
events |= POLLIN;
usr.bin/snmp/snmp.c
331
direction = POLLIN;
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
2755
ev |= POLLIN;
usr.bin/ssh/channels.c
2764
ev |= POLLIN;
usr.bin/ssh/channels.c
2771
ev |= POLLIN;
usr.bin/ssh/channels.c
2802
ev |= POLLIN;
usr.bin/ssh/channels.c
2818
ev |= POLLIN;
usr.bin/ssh/channels.c
2936
"rfd", POLLIN, SSH_CHAN_IO_RFD);
usr.bin/ssh/channels.c
2943
"efdr/r", POLLIN, SSH_CHAN_IO_EFD_R);
usr.bin/ssh/channels.c
2949
"sockr/r", POLLIN, SSH_CHAN_IO_SOCK_R);
usr.bin/ssh/channels.c
2966
"efdr", POLLIN, SSH_CHAN_IO_EFD_R);
usr.bin/ssh/channels.c
2975
"sockr", POLLIN, SSH_CHAN_IO_SOCK_R);
usr.bin/ssh/clientloop.c
706
(*pfdp)[0].events = POLLIN;
usr.bin/ssh/misc.c
382
return waitfd(fd, timeoutp, POLLIN, stop);
usr.bin/ssh/misc.c
416
if (waitfd(sockfd, timeoutp, POLLIN | POLLOUT, NULL) == -1)
usr.bin/ssh/monitor.c
451
pfd[0].events = POLLIN;
usr.bin/ssh/monitor.c
453
pfd[1].events = pfd[1].fd == -1 ? 0 : POLLIN;
usr.bin/ssh/monitor_fdpass.c
113
pfd.events = POLLIN;
usr.bin/ssh/packet.c
1500
pfd.events = POLLIN;
usr.bin/ssh/serverloop.c
210
(*pfdp)[0].events = POLLIN;
usr.bin/ssh/sftp-client.c
2381
pfd.events = POLLIN;
usr.bin/ssh/sftp-server.c
2001
pfd[0].events = POLLIN;
usr.bin/ssh/sftp-server.c
2020
if (pfd[0].revents & (POLLIN|POLLHUP)) {
usr.bin/ssh/ssh-agent.c
2059
if ((pfd[i].revents & (POLLIN|POLLERR)) == 0)
usr.bin/ssh/ssh-agent.c
2070
if ((pfd[i].revents & (POLLIN|POLLHUP|POLLERR)) != 0 &&
usr.bin/ssh/ssh-agent.c
2127
pfd[j].events = POLLIN;
usr.bin/ssh/ssh-agent.c
2141
pfd[j].events = POLLIN;
usr.bin/ssh/ssh-keyscan.c
392
read_wait[s].events = POLLIN;
usr.bin/ssh/ssh-keyscan.c
555
else if (read_wait[i].revents & (POLLIN))
usr.bin/ssh/ssh-pkcs11-helper.c
260
pfd[0].events = POLLIN;
usr.bin/ssh/ssh-pkcs11-helper.c
274
if ((pfd[0].revents & (POLLIN|POLLHUP|POLLERR)) != 0) {
usr.bin/ssh/sshd.c
1045
!(pfd[startup_pollfd[i]].revents & (POLLIN|POLLHUP)))
usr.bin/ssh/sshd.c
1101
if (!(pfd[i].revents & POLLIN))
usr.bin/ssh/sshd.c
973
pfd[i].events = POLLIN;
usr.bin/ssh/sshd.c
980
pfd[npfd].events = POLLIN;
usr.bin/talk/ctl_transact.c
59
pfd[0].events = POLLIN;
usr.bin/talk/io.c
76
fds[0].events = POLLIN;
usr.bin/talk/io.c
78
fds[1].events = POLLIN;
usr.bin/talk/io.c
92
if (fds[1].revents & POLLIN) {
usr.bin/talk/io.c
99
if (fds[0].revents & POLLIN) {
usr.bin/tcpbench/tcpbench.c
653
pfd.events = POLLIN;
usr.bin/telnet/sys_bsd.c
512
pfd[TELNET_FD_TIN].events = POLLIN;
usr.bin/telnet/sys_bsd.c
522
pfd[TELNET_FD_NET].events |= POLLIN;
usr.bin/telnet/sys_bsd.c
544
if (pfd[TELNET_FD_NET].revents & (POLLIN|POLLHUP)) {
usr.bin/telnet/sys_bsd.c
565
if (pfd[TELNET_FD_TIN].revents & (POLLIN|POLLHUP)) {
usr.bin/tftp/main.c
778
pfd[0].events = POLLIN;
usr.bin/tftp/tftp.c
185
pfd[0].events = POLLIN;
usr.bin/tftp/tftp.c
332
pfd[0].events = POLLIN;
usr.bin/top/top.c
695
pfd[0].events = POLLIN;
usr.bin/vi/cl/cl_read.c
166
pfd[0].events = POLLIN;
usr.bin/vi/ex/ex_script.c
202
pfd[0].events = POLLIN;
usr.bin/vi/ex/ex_script.c
370
pfd[0].events = POLLIN;
usr.bin/vi/ex/ex_script.c
375
pfd[nfds].events = POLLIN;
usr.bin/vi/ex/ex_script.c
393
if (!(pfd[0].revents & POLLIN)) {
usr.bin/vi/ex/ex_script.c
399
if ((pfd[nfds].revents & POLLIN) && sscr_insert(sp))
usr.bin/vi/ex/ex_script.c
444
pfd[nfds].events = POLLIN;
usr.bin/vi/ex/ex_script.c
467
if ((pfd[nfds].revents & POLLIN) && sscr_insert(sp))
usr.bin/vi/ex/ex_script.c
538
pfd[0].events = POLLIN;
usr.sbin/bgpd/bgpd.c
1253
pfd->events = POLLIN;
usr.sbin/bgpd/bgpd.c
1274
if (pfd->revents & POLLIN) {
usr.sbin/bgpd/bgpd.c
345
pfd[PFD_SOCK_ROUTE].events = POLLIN;
usr.sbin/bgpd/bgpd.c
348
pfd[PFD_SOCK_PFKEY].events = POLLIN;
usr.sbin/bgpd/bgpd.c
408
if (pfd[PFD_SOCK_ROUTE].revents & POLLIN) {
usr.sbin/bgpd/bgpd.c
413
if (pfd[PFD_SOCK_PFKEY].revents & POLLIN) {
usr.sbin/bgpd/control.c
149
pfd[i].events = POLLIN;
usr.sbin/bgpd/control.c
268
if (!(pfd->revents & POLLIN))
usr.sbin/bgpd/rtr_proto.c
1287
if (pfd->revents & POLLIN) {
usr.sbin/bgpd/rtr_proto.c
1394
pfd->events |= POLLIN;
usr.sbin/bgpd/session.c
322
pfd[PFD_SOCK_CTL].events = POLLIN;
usr.sbin/bgpd/session.c
324
pfd[PFD_SOCK_RCTL].events = POLLIN;
usr.sbin/bgpd/session.c
334
pfd[i].events = POLLIN;
usr.sbin/bgpd/session.c
420
events = POLLIN;
usr.sbin/bgpd/session.c
503
if (pfd[PFD_SOCK_CTL].revents & POLLIN)
usr.sbin/bgpd/session.c
506
if (pfd[PFD_SOCK_RCTL].revents & POLLIN)
usr.sbin/bgpd/session.c
510
if (pfd[j].revents & POLLIN)
usr.sbin/bgpd/session.c
623
if (pfd->revents & POLLIN) {
usr.sbin/bgpd/session.c
673
if (!(pfd->revents & POLLIN))
usr.sbin/bgpd/session.c
677
if (p->fd != -1 && pfd->revents & POLLIN) {
usr.sbin/cron/cron.c
366
pfd[0].events = POLLIN;
usr.sbin/dhcpd/dispatch.c
364
fds[i].events = POLLIN;
usr.sbin/dhcpd/dispatch.c
388
if (fds[i].revents & (POLLIN | POLLHUP))
usr.sbin/dhcpd/pfutils.c
74
pfd[0].events = POLLIN;
usr.sbin/dhcpd/pfutils.c
82
if (nfds > 0 && (pfd[0].revents & POLLIN)) {
usr.sbin/dhcrelay/dispatch.c
303
fds[i].events = POLLIN;
usr.sbin/dhcrelay/dispatch.c
332
if ((fds[i].revents & (POLLIN | POLLHUP))) {
usr.sbin/dhcrelay6/dispatch.c
326
fds[i].events = POLLIN;
usr.sbin/dhcrelay6/dispatch.c
355
if ((fds[i].revents & (POLLIN | POLLHUP))) {
usr.sbin/ldomd/ds.c
739
pfd[dc->id].events = POLLIN;
usr.sbin/map-mbone/mapper.c
903
pfd[0].events = POLLIN;
usr.sbin/mrinfo/mrinfo.c
409
pfd[0].events = POLLIN;
usr.sbin/mrouted/main.c
229
pfd[0].events = POLLIN;
usr.sbin/mrouted/main.c
232
pfd[i + 1].events = POLLIN;
usr.sbin/mrouted/main.c
259
if (pfd[0].revents & POLLIN) {
usr.sbin/mrouted/main.c
275
if (pfd[i + 1].revents & POLLIN) {
usr.sbin/mtrace/mtrace.c
437
pfd[0].events = POLLIN;
usr.sbin/nsd/netio.c
152
fds[numfd].events |= POLLIN;
usr.sbin/nsd/netio.c
238
if ((fds[handler->pfd].revents & POLLIN)) {
usr.sbin/nsd/server.c
2330
fd.events = POLLIN;
usr.sbin/ntpd/constraint.c
637
if (!(pfd->revents & POLLIN))
usr.sbin/ntpd/control.c
220
if (!(pfd->revents & POLLIN))
usr.sbin/ntpd/ntp.c
237
pfd[PFD_PIPE_MAIN].events = POLLIN;
usr.sbin/ntpd/ntp.c
239
pfd[PFD_PIPE_DNS].events = POLLIN;
usr.sbin/ntpd/ntp.c
241
pfd[PFD_SOCK_CTL].events = POLLIN;
usr.sbin/ntpd/ntp.c
246
pfd[i].events = POLLIN;
usr.sbin/ntpd/ntp.c
297
pfd[i].events = POLLIN;
usr.sbin/ntpd/ntp.c
344
pfd[i].events = POLLIN;
usr.sbin/ntpd/ntp.c
375
if (nfds > 0 && pfd[PFD_PIPE_MAIN].revents & (POLLIN|POLLERR)) {
usr.sbin/ntpd/ntp.c
389
if (nfds > 0 && pfd[PFD_PIPE_DNS].revents & (POLLIN|POLLERR)) {
usr.sbin/ntpd/ntp.c
397
if (nfds > 0 && pfd[PFD_SOCK_CTL].revents & (POLLIN|POLLERR)) {
usr.sbin/ntpd/ntp.c
403
if (pfd[j].revents & (POLLIN|POLLERR)) {
usr.sbin/ntpd/ntp.c
412
if (pfd[j].revents & (POLLIN|POLLERR)) {
usr.sbin/ntpd/ntp_dns.c
110
pfd[0].events = POLLIN;
usr.sbin/ntpd/ntp_dns.c
126
if (nfds > 0 && pfd[0].revents & POLLIN) {
usr.sbin/ntpd/ntpd.c
307
pfd[PFD_PIPE].events = POLLIN;
usr.sbin/ntpd/ntpd.c
314
pfd[i].events = POLLIN;
usr.sbin/ntpd/ntpd.c
342
if (nfds > 0 && pfd[PFD_PIPE].revents & POLLIN) {
usr.sbin/radiusd/imsg_subr.c
42
fds[0].events = POLLIN;
usr.sbin/radiusd/imsg_subr.c
48
if (retval > 0 && (fds[0].revents & POLLIN) != 0)
usr.sbin/rarpd/rarpd.c
363
pfd[i].events = POLLIN;
usr.sbin/rbootd/rbootd.c
196
pfd[0].events = POLLIN;
usr.sbin/rbootd/rbootd.c
228
if (pfd[0].revents & POLLIN) {
usr.sbin/rdate/ntp.c
332
pfd[0].events = POLLIN;
usr.sbin/rdate/ntp.c
345
if ((pfd[0].revents & POLLIN) == 0)
usr.sbin/relayd/ca.c
361
pfd[0].events = POLLIN;
usr.sbin/route6d/route6d.c
401
if (pfd[0].revents & POLLIN) {
usr.sbin/route6d/route6d.c
406
if (pfd[1].revents & POLLIN) {
usr.sbin/route6d/route6d.c
586
pfd[0].events = POLLIN;
usr.sbin/route6d/route6d.c
594
pfd[1].events = POLLIN;
usr.sbin/rpki-client/filemode.c
813
pfd.events = POLLIN;
usr.sbin/rpki-client/filemode.c
830
if ((pfd.revents & POLLIN)) {
usr.sbin/rpki-client/http.c
2110
pfds[0].events = POLLIN;
usr.sbin/rpki-client/http.c
2158
pfds[i].events = POLLIN;
usr.sbin/rpki-client/http.c
2179
if (pfds[0].revents & POLLIN) {
usr.sbin/rpki-client/http.c
997
conn->events = POLLIN;
usr.sbin/rpki-client/main.c
1357
pfd[i].events = POLLIN;
usr.sbin/rpki-client/main.c
1398
if ((pfd[1].revents & POLLIN)) {
usr.sbin/rpki-client/main.c
1416
if ((pfd[2].revents & POLLIN)) {
usr.sbin/rpki-client/main.c
1440
if ((pfd[3].revents & POLLIN)) {
usr.sbin/rpki-client/main.c
1459
if ((pfd[0].revents & POLLIN)) {
usr.sbin/rpki-client/parser.c
1219
pfd.events = POLLIN;
usr.sbin/rpki-client/parser.c
1234
if ((pfd.revents & POLLIN)) {
usr.sbin/rpki-client/rrdp.c
580
s->pfd->events = POLLIN;
usr.sbin/rpki-client/rrdp.c
588
pfds[0].events = POLLIN;
usr.sbin/rpki-client/rrdp.c
608
if (pfds[0].revents & POLLIN) {
usr.sbin/rpki-client/rsync.c
315
pfd.events |= POLLIN;
usr.sbin/rpki-client/rsync.c
381
if (!(pfd.revents & POLLIN))
usr.sbin/smtpd/smtpd.c
1011
pfd[0].events = POLLIN;
usr.sbin/unbound/daemon/remote.c
4365
p.events |= POLLIN;
usr.sbin/unbound/util/tube.c
411
fds.events = POLLIN | POLLERR | POLLHUP;
usr.sbin/unbound/util/tube.c
447
fds.events = POLLIN | POLLERR | POLLHUP;
usr.sbin/vmd/atomicio.c
108
pfd.events = f == readv ? POLLIN : POLLOUT;
usr.sbin/vmd/atomicio.c
165
pfd.events = POLLIN;
usr.sbin/vmd/atomicio.c
55
pfd.events = f == read ? POLLIN : POLLOUT;
usr.sbin/vmd/vm.c
968
pfd[0].events = POLLIN;
usr.sbin/vmd/vm.c
972
else if (nready == 1 && pfd[0].revents & POLLIN)
usr.sbin/wsmoused/mouse_protocols.c
250
pfd[0].events = POLLIN;
usr.sbin/wsmoused/mouse_protocols.c
281
pfd[0].events = POLLIN;
usr.sbin/wsmoused/mouse_protocols.c
567
pfd[0].events = POLLIN;
usr.sbin/wsmoused/wsmoused.c
403
pfd[0].events = POLLIN;
usr.sbin/ypbind/ypbind.c
512
pfd[0].events = POLLIN;
usr.sbin/ypbind/ypbind.c
514
pfd[1].events = POLLIN;
usr.sbin/ypbind/ypbind.c
528
if (pfd[0].revents & POLLIN) {
usr.sbin/ypbind/ypbind.c
532
if (pfd[1].revents & POLLIN) {