/freebsd-12-stable/tools/regression/poll/ |
H A D | sockpoll.c | 21 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 D | pipepoll.c | 29 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-12-stable/sys/sys/ |
H A D | poll.h | 59 * XXX Note POLLIN isn't really supported in true SVSV terms. Under SYSV 60 * POLLIN includes all of normal, band and urgent data. Most poll handlers 63 #define POLLIN 0x0001 /* any readable data available */ macro 73 #define POLLINIGNEOF 0x2000 /* like POLLIN, except ignore EOF */ 86 #define POLLSTANDARD (POLLIN|POLLPRI|POLLOUT|POLLRDNORM|POLLRDBAND|\
|
/freebsd-12-stable/crypto/openssh/openbsd-compat/ |
H A D | bsd-poll.h | 42 #define POLLIN 0x0001 macro
|
H A D | bsd-poll.c | 34 * Only supports POLLIN and POLLOUT flags in pfd.events, and POLLIN, POLLOUT 72 if (fds[i].events & POLLIN) { 99 fds[i].revents |= POLLIN;
|
/freebsd-12-stable/contrib/ntp/sntp/libevent/ |
H A D | devpoll.c | 207 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 D | poll.c | 202 what |= POLLIN|POLLOUT; 203 if (what & POLLIN) 267 pfd->events |= POLLIN; 297 pfd->events &= ~POLLIN;
|
/freebsd-12-stable/contrib/libevent/ |
H A D | devpoll.c | 207 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 D | poll.c | 202 what |= POLLIN|POLLOUT; 203 if (what & POLLIN) 267 pfd->events |= POLLIN; 297 pfd->events &= ~POLLIN;
|
/freebsd-12-stable/usr.bin/talk/ |
H A D | io.c | 114 fds[0].events = POLLIN; 116 fds[1].events = POLLIN; 129 if (fds[1].revents & POLLIN) { 140 if (fds[0].revents & POLLIN) {
|
H A D | ctl_transact.c | 65 pfd[0].events = POLLIN;
|
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_poll.c | 52 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-12-stable/contrib/netcat/ |
H A D | atomicio.c | 47 pfd.events = f == read ? POLLIN : POLLOUT;
|
/freebsd-12-stable/contrib/blacklist/test/ |
H A D | srvtest.c | 205 pfd[0].events = POLLIN; 208 pfd[1].events = POLLIN; 215 if ((pfd[i].revents & POLLIN) == 0)
|
/freebsd-12-stable/contrib/netbsd-tests/lib/librumphijack/ |
H A D | h_client.c | 106 pfd[0].events = POLLIN; 108 pfd[1].events = POLLIN;
|
/freebsd-12-stable/crypto/openssh/ |
H A D | atomicio.c | 62 pfd.events = f == read ? POLLIN : POLLOUT; 119 pfd.events = f == readv ? POLLIN : POLLOUT;
|
/freebsd-12-stable/cddl/usr.sbin/zfsd/ |
H A D | zfsd.cc | 345 fds[0].events = POLLIN; 348 fds[1].events = POLLIN; 360 if ((fds[0].revents & POLLIN) != 0) 363 if ((fds[1].revents & POLLIN) != 0) {
|
/freebsd-12-stable/contrib/bmake/ |
H A D | job.h | 100 #define POLLIN 0x0001 macro
|
/freebsd-12-stable/lib/libc/gen/ |
H A D | recvmmsg.c | 53 pfd[0].events = ev = POLLIN | POLLRDNORM | POLLRDBAND |
|
/freebsd-12-stable/usr.sbin/fifolog/fifolog_writer/ |
H A D | fifolog_writer.c | 100 pfd[0].events = POLLIN;
|
/freebsd-12-stable/contrib/pf/libevent/ |
H A D | poll.c | 128 if (pop->event_set[idx].events & POLLIN) { 187 what |= POLLIN|POLLOUT; 188 if (what & POLLIN) { 307 pfd->events |= POLLIN; 340 pfd->events &= ~POLLIN;
|
/freebsd-12-stable/contrib/netbsd-tests/lib/libcurses/director/ |
H A D | testlang_parse.y | 755 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-12-stable/lib/libdevdctl/ |
H A D | consumer.cc | 237 fds->events = POLLIN; 253 return ((fds->revents & POLLIN) != 0);
|
/freebsd-12-stable/tests/sys/audit/ |
H A D | utils.c | 160 if (fd[0].revents & POLLIN) { 212 fd[0].events = POLLIN;
|
/freebsd-12-stable/contrib/apr/include/arch/unix/ |
H A D | apr_arch_networkio.h | 88 #define POLLIN 1 macro
|