/freebsd-10.1-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.1-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.1-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.1-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.1-release/contrib/netcat/ |
H A D | atomicio.c | 47 pfd.events = f == read ? POLLIN : POLLOUT;
|
/freebsd-10.1-release/crypto/openssh/ |
H A D | atomicio.c | 61 pfd.events = f == read ? POLLIN : POLLOUT; 118 pfd.events = f == readv ? POLLIN : POLLOUT;
|
/freebsd-10.1-release/contrib/bmake/ |
H A D | job.h | 100 #define POLLIN 0x0001 macro
|
/freebsd-10.1-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.1-release/usr.sbin/fifolog/fifolog_writer/ |
H A D | fifolog_writer.c | 98 pfd[0].events = POLLIN;
|
/freebsd-10.1-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.1-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.1-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.1-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.1-release/sys/dev/drm2/ |
H A D | drm_fops.c | 189 if ((events & (POLLIN | POLLRDNORM)) != 0) { 194 revents |= events & (POLLIN | POLLRDNORM);
|
/freebsd-10.1-release/sys/dev/random/ |
H A D | randomdev.c | 152 if (events & (POLLIN | POLLRDNORM)) { 154 revents = events & (POLLIN | POLLRDNORM);
|
/freebsd-10.1-release/contrib/apr/include/arch/unix/ |
H A D | apr_arch_networkio.h | 88 #define POLLIN 1 macro
|
/freebsd-10.1-release/contrib/apr/support/unix/ |
H A D | waitio.c | 48 pfd.events = for_read ? POLLIN : POLLOUT;
|
/freebsd-10.1-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.1-release/sys/fs/fuse/ |
H A D | fuse_device.c | 184 (POLLHUP|POLLIN|POLLRDNORM|POLLOUT|POLLWRNORM)); 186 if (events & (POLLIN | POLLRDNORM)) { 189 revents |= events & (POLLIN | POLLRDNORM);
|
/freebsd-10.1-release/contrib/libpcap/tests/ |
H A D | selpolltest.c | 195 fd.events = POLLIN; 209 if (fd.revents & POLLIN)
|
/freebsd-10.1-release/sys/kern/ |
H A D | subr_log.c | 185 if (events & (POLLIN | POLLRDNORM)) { 188 revents |= events & (POLLIN | POLLRDNORM);
|
/freebsd-10.1-release/tools/tools/netrate/netreceive/ |
H A D | netreceive.c | 108 fds.events = POLLIN; 113 if (!(fds.revents & POLLIN))
|