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

1234567

/freebsd-11-stable/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-11-stable/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-11-stable/crypto/openssh/openbsd-compat/
H A Dbsd-poll.h42 #define POLLIN 0x0001 macro
H A Dbsd-poll.c34 * Only supports POLLIN and POLLOUT flags in pfd.events, and POLLIN, POLLOUT
72 if (fds[i].events & POLLIN) {
99 fds[i].revents |= POLLIN;
/freebsd-11-stable/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-11-stable/usr.bin/talk/
H A Dio.c112 fds[0].events = POLLIN;
114 fds[1].events = POLLIN;
127 if (fds[1].revents & POLLIN) {
138 if (fds[0].revents & POLLIN) {
H A Dctl_transact.c63 pfd[0].events = POLLIN;
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_poll.c52 pfd.events = POLLIN | POLLHUP | POLLOUT;
64 pfd.events = POLLIN | POLLHUP | POLLOUT;
79 pfd.events = POLLIN | POLLHUP | POLLOUT;
165 pfds[0].events = POLLIN;
206 ATF_REQUIRE_EQ_MSG(pfds[0].revents, POLLIN, "got: %d",
227 pfd.events = POLLIN;
255 pfds[0].events = POLLIN;
300 ATF_REQUIRE_EQ_MSG(pfds[0].revents, POLLIN, "got: %d",
322 pfd.events = POLLIN;
357 pfd.events = POLLIN;
[all...]
/freebsd-11-stable/contrib/netcat/
H A Datomicio.c47 pfd.events = f == read ? POLLIN : POLLOUT;
/freebsd-11-stable/contrib/blacklist/test/
H A Dsrvtest.c205 pfd[0].events = POLLIN;
208 pfd[1].events = POLLIN;
215 if ((pfd[i].revents & POLLIN) == 0)
/freebsd-11-stable/contrib/netbsd-tests/lib/librumphijack/
H A Dh_client.c106 pfd[0].events = POLLIN;
108 pfd[1].events = POLLIN;
/freebsd-11-stable/crypto/openssh/
H A Datomicio.c62 pfd.events = f == read ? POLLIN : POLLOUT;
119 pfd.events = f == readv ? POLLIN : POLLOUT;
/freebsd-11-stable/contrib/bmake/
H A Djob.h100 #define POLLIN 0x0001 macro
/freebsd-11-stable/cddl/usr.sbin/zfsd/
H A Dzfsd.cc345 fds[0].events = POLLIN;
348 fds[1].events = POLLIN;
360 if ((fds[0].revents & POLLIN) != 0)
363 if ((fds[1].revents & POLLIN) != 0) {
/freebsd-11-stable/lib/libc/gen/
H A Drecvmmsg.c53 pfd[0].events = ev = POLLIN | POLLRDNORM | POLLRDBAND |
/freebsd-11-stable/usr.sbin/fifolog/fifolog_writer/
H A Dfifolog_writer.c100 pfd[0].events = POLLIN;
/freebsd-11-stable/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-11-stable/contrib/netbsd-tests/lib/libcurses/director/
H A Dtestlang_parse.y755 fds[0].events = POLLIN;
757 fds[1].events = POLLIN;
769 if (fds[0].revents & POLLIN) {
788 if (fds[0].revents & POLLIN) {
829 if ((fds[1].revents & POLLIN) == POLLIN) {
831 } else if ((fds[0].revents & POLLIN) == POLLIN) {
902 fds[0].events = POLLIN;
912 if (fds[0].revents & POLLIN) {
[all...]
/freebsd-11-stable/tests/sys/audit/
H A Dutils.c160 if (fd[0].revents & POLLIN) {
212 fd[0].events = POLLIN;
/freebsd-11-stable/lib/libdevdctl/
H A Dconsumer.cc237 fds->events = POLLIN;
253 return ((fds->revents & POLLIN) != 0);
/freebsd-11-stable/contrib/apr/support/unix/
H A Dwaitio.c48 pfd.events = for_read ? POLLIN : POLLOUT;
/freebsd-11-stable/sys/fs/deadfs/
H A Ddead_vnops.c138 return (POLLHUP | ((POLLIN | POLLRDNORM) & ap->a_events));
/freebsd-11-stable/contrib/apr/include/arch/unix/
H A Dapr_arch_networkio.h88 #define POLLIN 1 macro

Completed in 370 milliseconds

1234567