Searched refs:POLLIN (Results 1 - 25 of 127) sorted by relevance

123456

/freebsd-10.1-release/tools/regression/poll/
H A Dsockpoll.c21 case POLLIN:
22 result = "POLLIN";
27 case POLLIN | POLLOUT:
28 result = "POLLIN | POLLOUT";
33 case POLLIN | POLLHUP:
34 result = "POLLIN | POLLHUP";
39 case POLLIN | POLLOUT | POLLHUP:
40 result = "POLLIN | POLLOUT | POLLHUP";
91 pfd0.events = POLLIN | POLLOUT;
93 pfd1.events = POLLIN | POLLOU
[all...]
H A Dpipepoll.c29 case POLLIN:
30 result = "POLLIN";
35 case POLLIN | POLLHUP:
36 result = "POLLIN | POLLHUP";
102 pfd.events = POLLIN;
133 report(num++, "2", POLLIN, pfd.revents, res, 1);
169 report(num++, "5", POLLIN, pfd.revents, res, 1);
180 * see POLLHUP; they must see POLLHUP without POLLIN (or another
187 report(num++, "6", POLLIN | POLLHUP, pfd.revents, res, 1);
/freebsd-10.1-release/sys/sys/
H A Dpoll.h57 * XXX Note POLLIN isn't really supported in true SVSV terms. Under SYSV
58 * POLLIN includes all of normal, band and urgent data. Most poll handlers
61 #define POLLIN 0x0001 /* any readable data available */ macro
71 #define POLLINIGNEOF 0x2000 /* like POLLIN, except ignore EOF */
84 #define POLLSTANDARD (POLLIN|POLLPRI|POLLOUT|POLLRDNORM|POLLRDBAND|\
/freebsd-10.1-release/crypto/openssh/openbsd-compat/
H A Dbsd-poll.h42 #define POLLIN 0x0001 macro
H A Dbsd-poll.c36 * Only supports POLLIN and POLLOUT flags in pfd.events, and POLLIN, POLLOUT
74 if (fds[i].events & POLLIN) {
101 fds[i].revents |= POLLIN;
/freebsd-10.1-release/contrib/ntp/sntp/libevent/
H A Ddevpoll.c207 what |= POLLIN | POLLOUT;
209 what |= POLLIN | POLLOUT;
211 if (what & POLLIN)
243 res |= POLLIN;
262 res |= POLLIN;
276 if ((res & (POLLIN|POLLOUT)) != (POLLIN|POLLOUT)) {
282 if ((res & POLLIN) && (old & EV_WRITE)) {
287 devpoll_queue(devpollop, fd, POLLIN);
H A Dpoll.c202 what |= POLLIN|POLLOUT;
203 if (what & POLLIN)
267 pfd->events |= POLLIN;
297 pfd->events &= ~POLLIN;
/freebsd-10.1-release/contrib/netcat/
H A Datomicio.c47 pfd.events = f == read ? POLLIN : POLLOUT;
/freebsd-10.1-release/crypto/openssh/
H A Datomicio.c61 pfd.events = f == read ? POLLIN : POLLOUT;
118 pfd.events = f == readv ? POLLIN : POLLOUT;
/freebsd-10.1-release/contrib/bmake/
H A Djob.h100 #define POLLIN 0x0001 macro
/freebsd-10.1-release/usr.sbin/faithd/
H A Dftp.c93 pfd[0].events = POLLIN;
95 pfd[1].events = POLLIN;
98 pfd[2].events = POLLIN;
103 pfd[3].events = POLLIN;
109 pfd[4].events = POLLIN;
114 pfd[5].events = POLLIN;
185 if (pfd[1].revents & POLLIN)
206 if (pfd[0].revents & POLLIN)
227 if (0 <= port4 && 0 <= port6 && (pfd[2].revents & POLLIN))
237 if (pfd[2].revents & POLLIN)
[all...]
/freebsd-10.1-release/usr.sbin/fifolog/fifolog_writer/
H A Dfifolog_writer.c98 pfd[0].events = POLLIN;
/freebsd-10.1-release/contrib/ipfilter/
H A Dmlfk_ipl.c360 if ((events & (POLLIN | POLLRDNORM)) && ipf_log_canread(&ipfmain, unit))
361 revents |= events & (POLLIN | POLLRDNORM);
365 if ((events & (POLLIN | POLLRDNORM)) && ipf_auth_waiting(&ipfmain))
366 revents |= events & (POLLIN | POLLRDNORM);
369 if ((events & (POLLIN | POLLRDNORM)) && ipf_sync_canread(&ipfmain))
370 revents |= events & (POLLIN | POLLRDNORM);
380 if ((revents == 0) && ((events & (POLLIN|POLLRDNORM)) != 0))
/freebsd-10.1-release/sys/contrib/ipfilter/netinet/
H A Dmlfk_ipl.c344 if ((events & (POLLIN | POLLRDNORM)) && ipf_log_canread(&ipfmain, unit))
345 revents |= events & (POLLIN | POLLRDNORM);
349 if ((events & (POLLIN | POLLRDNORM)) && ipf_auth_waiting(&ipfmain))
350 revents |= events & (POLLIN | POLLRDNORM);
353 if ((events & (POLLIN | POLLRDNORM)) && ipf_sync_canread(&ipfmain))
354 revents |= events & (POLLIN | POLLRDNORM);
364 if ((revents == 0) && ((events & (POLLIN|POLLRDNORM)) != 0))
/freebsd-10.1-release/contrib/ncurses/ncurses/tty/
H A Dlib_twait.c210 fds[count].events = POLLIN;
216 fds[count].events = POLLIN;
227 fds[count].events = POLLIN;
251 && fds[c].revents & POLLIN) {
426 && (fds[count].revents & POLLIN)) {
/freebsd-10.1-release/contrib/pf/libevent/
H A Dpoll.c128 if (pop->event_set[idx].events & POLLIN) {
187 what |= POLLIN|POLLOUT;
188 if (what & POLLIN) {
307 pfd->events |= POLLIN;
340 pfd->events &= ~POLLIN;
/freebsd-10.1-release/sys/dev/drm2/
H A Ddrm_fops.c189 if ((events & (POLLIN | POLLRDNORM)) != 0) {
194 revents |= events & (POLLIN | POLLRDNORM);
/freebsd-10.1-release/sys/dev/random/
H A Drandomdev.c152 if (events & (POLLIN | POLLRDNORM)) {
154 revents = events & (POLLIN | POLLRDNORM);
/freebsd-10.1-release/contrib/apr/include/arch/unix/
H A Dapr_arch_networkio.h88 #define POLLIN 1 macro
/freebsd-10.1-release/contrib/apr/support/unix/
H A Dwaitio.c48 pfd.events = for_read ? POLLIN : POLLOUT;
/freebsd-10.1-release/sys/dev/snp/
H A Dsnp.c302 (POLLHUP|POLLIN|POLLRDNORM|POLLOUT|POLLWRNORM));
306 if (events & (POLLIN | POLLRDNORM)) {
311 revents |= events & (POLLIN | POLLRDNORM);
/freebsd-10.1-release/sys/fs/fuse/
H A Dfuse_device.c184 (POLLHUP|POLLIN|POLLRDNORM|POLLOUT|POLLWRNORM));
186 if (events & (POLLIN | POLLRDNORM)) {
189 revents |= events & (POLLIN | POLLRDNORM);
/freebsd-10.1-release/contrib/libpcap/tests/
H A Dselpolltest.c195 fd.events = POLLIN;
209 if (fd.revents & POLLIN)
/freebsd-10.1-release/sys/kern/
H A Dsubr_log.c185 if (events & (POLLIN | POLLRDNORM)) {
188 revents |= events & (POLLIN | POLLRDNORM);
/freebsd-10.1-release/tools/tools/netrate/netreceive/
H A Dnetreceive.c108 fds.events = POLLIN;
113 if (!(fds.revents & POLLIN))

Completed in 134 milliseconds

123456