Symbol: POLLIN
crypto/libressl/apps/nc/atomicio.c
47
pfd.events = f == read ? POLLIN : POLLOUT;
crypto/libressl/apps/nc/netcat.c
1161
pfd[POLL_STDIN].events = POLLIN;
crypto/libressl/apps/nc/netcat.c
1169
pfd[POLL_NETIN].events = POLLIN;
crypto/libressl/apps/nc/netcat.c
1212
if (pfd[POLL_STDIN].events & POLLIN &&
crypto/libressl/apps/nc/netcat.c
1214
!(pfd[POLL_STDIN].revents & POLLIN))
crypto/libressl/apps/nc/netcat.c
1217
if (pfd[POLL_NETIN].events & POLLIN &&
crypto/libressl/apps/nc/netcat.c
1219
!(pfd[POLL_NETIN].revents & POLLIN))
crypto/libressl/apps/nc/netcat.c
1241
if (pfd[POLL_STDIN].revents & POLLIN && stdinbufpos < BUFSIZE) {
crypto/libressl/apps/nc/netcat.c
1245
pfd[POLL_STDIN].events = POLLIN;
crypto/libressl/apps/nc/netcat.c
1262
pfd[POLL_NETOUT].events = POLLIN;
crypto/libressl/apps/nc/netcat.c
1272
pfd[POLL_STDIN].events = POLLIN;
crypto/libressl/apps/nc/netcat.c
1275
if (pfd[POLL_NETIN].revents & POLLIN && netinbufpos < BUFSIZE) {
crypto/libressl/apps/nc/netcat.c
1279
pfd[POLL_NETIN].events = POLLIN;
crypto/libressl/apps/nc/netcat.c
1311
pfd[POLL_STDOUT].events = POLLIN;
crypto/libressl/apps/nc/netcat.c
1321
pfd[POLL_NETIN].events = POLLIN;
crypto/libressl/apps/nc/netcat.c
816
pfd.events = POLLIN;
crypto/libressl/apps/openssl/ocsp.c
1476
pfd[0].events = POLLIN;
crypto/libressl/apps/openssl/s_client.c
1400
pfd[0].events = POLLIN;
crypto/libressl/apps/openssl/s_client.c
1411
pfd[2].events |= POLLIN;
crypto/libressl/apps/openssl/s_client.c
1511
} else if (ssl_pending || (pfd[2].revents & (POLLIN|POLLHUP))) {
crypto/libressl/apps/openssl/s_server.c
1635
pfd[0].events = POLLIN;
crypto/libressl/apps/openssl/s_server.c
1637
pfd[1].events = POLLIN;
crypto/libressl/apps/openssl/s_time.c
361
pfd[0].events = POLLIN;
crypto/openssh/atomicio.c
123
pfd.events = f == readv ? POLLIN : POLLOUT;
crypto/openssh/atomicio.c
125
pfd.events = POLLIN|POLLOUT;
crypto/openssh/atomicio.c
61
pfd.events = f == read ? POLLIN : POLLOUT;
crypto/openssh/atomicio.c
63
pfd.events = POLLIN|POLLOUT;
crypto/openssh/channels.c
2712
ev |= POLLIN;
crypto/openssh/channels.c
2721
ev |= POLLIN;
crypto/openssh/channels.c
2728
ev |= POLLIN;
crypto/openssh/channels.c
2759
ev |= POLLIN;
crypto/openssh/channels.c
2775
ev |= POLLIN;
crypto/openssh/channels.c
2893
"rfd", POLLIN, SSH_CHAN_IO_RFD);
crypto/openssh/channels.c
2900
"efdr/r", POLLIN, SSH_CHAN_IO_EFD_R);
crypto/openssh/channels.c
2906
"sockr/r", POLLIN, SSH_CHAN_IO_SOCK_R);
crypto/openssh/channels.c
2923
"efdr", POLLIN, SSH_CHAN_IO_EFD_R);
crypto/openssh/channels.c
2932
"sockr", POLLIN, SSH_CHAN_IO_SOCK_R);
crypto/openssh/clientloop.c
712
(*pfdp)[0].events = POLLIN;
crypto/openssh/misc.c
368
return waitfd(fd, timeoutp, POLLIN, stop);
crypto/openssh/misc.c
402
if (waitfd(sockfd, timeoutp, POLLIN | POLLOUT, NULL) == -1)
crypto/openssh/monitor.c
484
pfd[0].events = POLLIN;
crypto/openssh/monitor.c
486
pfd[1].events = pfd[1].fd == -1 ? 0 : POLLIN;
crypto/openssh/monitor_fdpass.c
144
pfd.events = POLLIN;
crypto/openssh/packet.c
1459
pfd.events = POLLIN;
crypto/openssh/serverloop.c
206
(*pfdp)[0].events = POLLIN;
crypto/openssh/sftp-client.c
2404
pfd.events = POLLIN;
crypto/openssh/sftp-server.c
2051
pfd[0].events = POLLIN;
crypto/openssh/sftp-server.c
2070
if (pfd[0].revents & (POLLIN|POLLHUP)) {
crypto/openssh/ssh-agent.c
2036
if ((pfd[i].revents & (POLLIN|POLLERR)) == 0)
crypto/openssh/ssh-agent.c
2047
if ((pfd[i].revents & (POLLIN|POLLHUP|POLLERR)) != 0 &&
crypto/openssh/ssh-agent.c
2104
pfd[j].events = POLLIN;
crypto/openssh/ssh-agent.c
2118
pfd[j].events = POLLIN;
crypto/openssh/ssh-keyscan.c
427
read_wait[s].events = POLLIN;
crypto/openssh/ssh-keyscan.c
590
else if (read_wait[i].revents & (POLLIN|POLLHUP))
crypto/openssh/ssh-pkcs11-helper.c
374
pfd[0].events = POLLIN;
crypto/openssh/ssh-pkcs11-helper.c
388
if ((pfd[0].revents & (POLLIN|POLLHUP|POLLERR)) != 0) {
crypto/openssh/sshd.c
923
pfd[i].events = POLLIN;
crypto/openssh/sshd.c
930
pfd[npfd].events = POLLIN;
crypto/openssh/sshd.c
949
!(pfd[startup_pollfd[i]].revents & (POLLIN|POLLHUP)))
crypto/openssh/sshd.c
992
if (!(pfd[i].revents & POLLIN))
games/grdc/grdc.c
230
.events = POLLIN,
games/tetris/input.c
73
pfd[0].events = POLLIN;
lib/libc/rpc/clnt_bcast.c
326
pfd[fdlistno].events = POLLIN | POLLPRI |
lib/libc/rpc/clnt_vc.c
648
fd.events = POLLIN;
lib/libc/rpc/svc_vc.c
471
pollfd.events = POLLIN;
lib/libc/rpc/svc_vc.c
484
} while ((pollfd.revents & POLLIN) == 0);
lib/libdmsg/msg.c
465
fds[wi].events = POLLIN;
lib/libdmsg/msg.c
480
fds[si].events |= POLLIN;
lib/libdmsg/msg.c
491
fds[ai].events = POLLIN;
lib/libdmsg/msg.c
496
if (wi >= 0 && (fds[wi].revents & POLLIN))
lib/libdmsg/msg.c
499
if (si >= 0 && (fds[si].revents & POLLIN))
lib/libdmsg/msg.c
508
if (ai >= 0 && (fds[ai].revents & POLLIN))
lib/libfetch/common.c
1352
pfd.events = POLLIN | POLLERR;
lib/libnetgraph7/msg.c
241
rfds.events = POLLIN;
lib/libusb/libusb10.c
183
libusb10_add_pollfd(ctx, &ctx->ctx_poll, NULL, ctx->ctrl_pipe[0], POLLIN);
lib/libusb/libusb10.c
500
libusb10_add_pollfd(ctx, &dev->dev_poll, pdev, libusb20_dev_get_fd(pdev), POLLIN |
lib/libusb/libusb10.c
654
libusb10_add_pollfd(dev->ctx, &dev->dev_poll, pdev, libusb20_dev_get_fd(pdev), POLLIN |
lib/libusb/libusb10.c
748
POLLIN | POLLOUT | POLLRDNORM | POLLWRNORM);
lib/libusb/libusb10.c
819
POLLIN | POLLOUT | POLLRDNORM | POLLWRNORM);
lib/libusb/libusb20.c
1029
pfd[0].events = (POLLIN | POLLOUT | POLLRDNORM | POLLWRNORM);
libexec/getty/subr.c
643
set[0].events = POLLIN;
sbin/dhclient/dhclient.c
2238
pfd[0].events = POLLIN;
sbin/dhclient/dhclient.c
2246
if (nfds == 0 || !(pfd[0].revents & POLLIN)) {
sbin/dhclient/dispatch.c
153
fds[0].events = fds[1].events = POLLIN;
sbin/dhclient/dispatch.c
166
if ((fds[0].revents & (POLLIN | POLLHUP))) {
sbin/dhclient/dispatch.c
178
if ((fds[1].revents & (POLLIN | POLLHUP))) {
sbin/ping6/ping6.c
947
fdmaskp[0].events = POLLIN;
sbin/udevd/udevd.c
431
fds[UDEV_DEVICE_FD_IDX].events = POLLIN;
sbin/udevd/udevd.c
433
fds[UDEV_SOCKET_FD_IDX].events = POLLIN | POLLPRI;
sys/dev/misc/cuse/cuse.c
1403
return (events & (POLLHUP | POLLPRI | POLLIN |
sys/dev/misc/cuse/cuse.c
1646
if (temp & (POLLIN | POLLOUT)) {
sys/dev/misc/cuse/cuse.c
1648
if (temp & POLLIN)
sys/dev/misc/cuse/cuse.c
1923
if (events & (POLLPRI | POLLIN | POLLRDNORM))
sys/dev/misc/cuse/cuse.c
1950
revents |= (events & (POLLPRI | POLLIN | POLLRDNORM));
sys/dev/misc/cuse/cuse.c
1960
return (events & (POLLHUP | POLLPRI | POLLIN |
sys/dev/misc/vkbd/vkbd.c
598
if (events & (POLLIN | POLLRDNORM)) {
sys/dev/misc/vkbd/vkbd.c
600
revents |= events & (POLLIN | POLLRDNORM);
sys/dev/raid/vinum/vinum.c
589
if (seltrue(dev, POLLIN | POLLRDNORM))
sys/kern/sys_generic.c
1352
if (pfd->events & (POLLIN | POLLHUP | POLLRDNORM))
sys/kern/sys_generic.c
1386
if (pfd->events & (POLLIN | POLLHUP | POLLRDNORM)) {
sys/kern/sys_generic.c
1388
if ((pfd->events & (POLLIN | POLLRDNORM)) == 0)
sys/kern/sys_generic.c
1554
if (pfd->events & POLLIN)
sys/kern/sys_generic.c
1555
pfd->revents |= POLLIN;
sys/kern/sys_generic.c
1746
return (events & (POLLIN | POLLOUT | POLLRDNORM | POLLWRNORM));
sys/kern/tty_tty.c
316
if (seltrue(dev, POLLIN | POLLRDNORM))
sys/net/netmap/netmap.c
1608
want_rx = events & (POLLIN | POLLRDNORM);
sys/netgraph/ng_device.c
615
if (events & (POLLIN | POLLRDNORM)) {
sys/netgraph/ng_device.c
629
revents |= events & (POLLIN | POLLRDNORM);
sys/netgraph7/ng_device.c
484
if (events & (POLLIN | POLLRDNORM) &&
sys/netgraph7/ng_device.c
486
revents |= events & (POLLIN | POLLRDNORM);
sys/sys/poll.h
76
#define POLLSTANDARD (POLLIN|POLLPRI|POLLOUT|POLLRDNORM|POLLRDBAND|\
test/interbench/hackbench.c
34
struct pollfd pollfd = { .fd = wakefd, .events = POLLIN };
test/testcases/io/poll_1/poll_1.c
19
fds[0].events = POLLIN|POLLPRI;
usr.bin/dsynth/build.c
3015
pfd.events = POLLIN;
usr.bin/window/wwiomux.c
109
pfd[nfd++].events = POLLIN;
usr.bin/window/wwiomux.c
118
pfd[nfd++].events = POLLIN;
usr.bin/window/wwiomux.c
150
if (dostdin != -1 && (pfd[dostdin].revents & POLLIN) != 0)
usr.bin/window/wwiomux.c
161
if ((pfd[nfd++].revents & POLLIN) == 0)
usr.sbin/rpcbind/rpcb_svc_com.c
1091
#define MASKVAL (POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND)
usr.sbin/rtadvd/control.c
146
if (pfds[0].revents & POLLIN) {
usr.sbin/rtadvd/control.c
75
pfds[0].events = POLLIN;
usr.sbin/rtadvd/control.c
90
if (pfds[0].revents & POLLIN) {
usr.sbin/rtadvd/rtadvd.c
278
set[PFD_RAWSOCK].events = POLLIN;
usr.sbin/rtadvd/rtadvd.c
282
set[PFD_RTSOCK].events = POLLIN;
usr.sbin/rtadvd/rtadvd.c
286
set[PFD_CSOCK].events = POLLIN;
usr.sbin/rtadvd/rtadvd.c
346
if (rtsock.si_fd != -1 && set[PFD_RTSOCK].revents & POLLIN)
usr.sbin/rtadvd/rtadvd.c
349
if (set[PFD_RAWSOCK].revents & POLLIN)
usr.sbin/rtadvd/rtadvd.c
352
if (set[PFD_CSOCK].revents & POLLIN) {
usr.sbin/rwhod/rwhod.c
281
pfd[0].events = POLLIN;
usr.sbin/sysvipcd/sysvipcd.c
115
poll_fds[SOCKET_FD_IDX].events = POLLIN | POLLPRI;
usr.sbin/sysvipcd/sysvipcd.c
152
poll_fds[nr_poll_fds].events = POLLIN;
usr.sbin/sysvipcd/sysvipcd.c
211
poll_fds[SOCKET_FD_IDX].events = POLLIN | POLLPRI;
usr.sbin/sysvipcd/utilsd.h
33
#define POLLPIPE (POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND)
usr.sbin/traceroute6/traceroute6.c
813
pfd[0].events = POLLIN;