/freebsd-10.3-release/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-10.3-release/sys/sys/ |
H A D | poll.h | 57 * 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.3-release/crypto/openssh/openbsd-compat/ |
H A D | bsd-poll.h | 42 #define POLLIN 0x0001 macro
|
H A D | bsd-poll.c | 36 * 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.3-release/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-10.3-release/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-10.3-release/contrib/netcat/ |
H A D | atomicio.c | 47 pfd.events = f == read ? POLLIN : POLLOUT;
|
/freebsd-10.3-release/contrib/netbsd-tests/lib/librumphijack/ |
H A D | h_client.c | 106 pfd[0].events = POLLIN; 108 pfd[1].events = POLLIN;
|
/freebsd-10.3-release/crypto/openssh/ |
H A D | atomicio.c | 62 pfd.events = f == read ? POLLIN : POLLOUT; 119 pfd.events = f == readv ? POLLIN : POLLOUT;
|
/freebsd-10.3-release/contrib/bmake/ |
H A D | job.h | 100 #define POLLIN 0x0001 macro
|
/freebsd-10.3-release/usr.sbin/faithd/ |
H A D | ftp.c | 93 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.3-release/usr.sbin/fifolog/fifolog_writer/ |
H A D | fifolog_writer.c | 98 pfd[0].events = POLLIN;
|
/freebsd-10.3-release/contrib/ipfilter/ |
H A D | mlfk_ipl.c | 360 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.3-release/sys/contrib/ipfilter/netinet/ |
H A D | mlfk_ipl.c | 344 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.3-release/contrib/ncurses/ncurses/tty/ |
H A D | lib_twait.c | 210 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.3-release/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-10.3-release/contrib/netbsd-tests/lib/libcurses/director/ |
H A D | testlang_parse.y | 754 fds[0].events = POLLIN; 756 fds[1].events = POLLIN; 768 if (fds[0].revents & POLLIN) { 787 if (fds[0].revents & POLLIN) { 828 if ((fds[1].revents & POLLIN) == POLLIN) { 830 } else if ((fds[0].revents & POLLIN) == POLLIN) { 901 fds[0].events = POLLIN; 911 if (fds[0].revents & POLLIN) { [all...] |
/freebsd-10.3-release/sys/dev/random/ |
H A D | randomdev.c | 152 if (events & (POLLIN | POLLRDNORM)) { 154 revents = events & (POLLIN | POLLRDNORM);
|
/freebsd-10.3-release/contrib/apr/include/arch/unix/ |
H A D | apr_arch_networkio.h | 88 #define POLLIN 1 macro
|
/freebsd-10.3-release/contrib/apr/support/unix/ |
H A D | waitio.c | 48 pfd.events = for_read ? POLLIN : POLLOUT;
|
/freebsd-10.3-release/sys/fs/deadfs/ |
H A D | dead_vnops.c | 138 return (POLLHUP | ((POLLIN | POLLRDNORM) & ap->a_events));
|
/freebsd-10.3-release/sys/dev/snp/ |
H A D | snp.c | 302 (POLLHUP|POLLIN|POLLRDNORM|POLLOUT|POLLWRNORM)); 306 if (events & (POLLIN | POLLRDNORM)) { 311 revents |= events & (POLLIN | POLLRDNORM);
|
/freebsd-10.3-release/contrib/netbsd-tests/fs/nfs/nfsservice/ |
H A D | nfsd.c | 428 set[0].events = POLLIN; 462 set[1].events = POLLIN; 503 if (set[1].revents & POLLIN) { 521 if (set[2].revents & POLLIN) { 539 if (set[3].revents & POLLIN) {
|