| /freebsd-11-stable/tools/regression/poll/4/ |
| HD | pipepoll.out | 3 ok 2 Pipe state 5: expected POLLIN; got POLLIN 4 ok 3 Pipe state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP 5 not ok 4 Pipe state 6a: expected POLLHUP; got POLLIN | POLLHUP 7 ok 6 Sock state 5: expected POLLIN; got POLLIN 8 not ok 7 Sock state 6: expected POLLIN | POLLHUP; got POLLIN 9 not ok 8 Sock state 6a: expected POLLHUP; got POLLIN 10 not ok 9 FIFO state 0: expected 0; got POLLIN 12 ok 11 FIFO state 2: expected POLLIN; got POLLIN 14 not ok 13 FIFO state 3: expected POLLHUP; got POLLIN 16 ok 15 FIFO state 5: expected POLLIN; got POLLIN [all …]
|
| /freebsd-11-stable/tools/regression/poll/7/ |
| HD | pipepoll.out | 3 ok 2 Pipe state 5: expected POLLIN; got POLLIN 4 ok 3 Pipe state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP 5 not ok 4 Pipe state 6a: expected POLLHUP; got POLLIN | POLLHUP 7 ok 6 Sock state 5: expected POLLIN; got POLLIN 8 not ok 7 Sock state 6: expected POLLIN | POLLHUP; got POLLIN 9 not ok 8 Sock state 6a: expected POLLHUP; got POLLIN 12 ok 11 FIFO state 2: expected POLLIN; got POLLIN 16 ok 15 FIFO state 5: expected POLLIN; got POLLIN 17 not ok 16 FIFO state 6: expected POLLIN | POLLHUP; got POLLIN
|
| /freebsd-11-stable/tools/regression/poll/l/ |
| HD | pipepoll.out | 3 ok 2 Pipe state 5: expected POLLIN; got POLLIN 4 ok 3 Pipe state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP 7 ok 6 Sock state 5: expected POLLIN; got POLLIN 8 ok 7 Sock state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP 9 not ok 8 Sock state 6a: expected POLLHUP; got POLLIN | POLLHUP 12 ok 11 FIFO state 2: expected POLLIN; got POLLIN 16 ok 15 FIFO state 5: expected POLLIN; got POLLIN 17 ok 16 FIFO state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
|
| /freebsd-11-stable/tools/regression/poll/n/ |
| HD | pipepoll.out | 3 ok 2 Pipe state 5: expected POLLIN; got POLLIN 4 ok 3 Pipe state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP 7 ok 6 Sock state 5: expected POLLIN; got POLLIN 8 ok 7 Sock state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP 12 ok 11 FIFO state 2: expected POLLIN; got POLLIN 16 ok 15 FIFO state 5: expected POLLIN; got POLLIN 17 ok 16 FIFO state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
|
| /freebsd-11-stable/tools/regression/poll/m/ |
| HD | pipepoll.out | 3 ok 2 Pipe state 5: expected POLLIN; got POLLIN 4 ok 3 Pipe state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP 7 ok 6 Sock state 5: expected POLLIN; got POLLIN 8 ok 7 Sock state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP 12 ok 11 FIFO state 2: expected POLLIN; got POLLIN 16 ok 15 FIFO state 5: expected POLLIN; got POLLIN 17 ok 16 FIFO state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP
|
| /freebsd-11-stable/tools/regression/poll/ |
| HD | sockpoll.c | 21 case POLLIN: in decode_events() 27 case POLLIN | POLLOUT: in decode_events() 33 case POLLIN | POLLHUP: in decode_events() 39 case POLLIN | POLLOUT | POLLHUP: in decode_events() 91 pfd0.events = POLLIN | POLLOUT; in setup() 93 pfd1.events = POLLIN | POLLOUT; in setup() 120 report(num++, "other side after large write", POLLIN | POLLOUT, pfd1.revents); in main() 124 report(num++, "other side after close", POLLIN | POLLHUP, pfd1.revents); in main() 141 report(num++, "other side after shutdown(SHUT_WR)", POLLIN | POLLOUT, pfd1.revents); in main() 153 report(num++, "other side after reading EOF", POLLIN | POLLOUT, pfd1.revents); in main() [all …]
|
| HD | pipepoll.c | 29 case POLLIN: in decode_events() 35 case POLLIN | POLLHUP: in decode_events() 102 pfd.events = POLLIN; in child() 133 report(num++, "2", POLLIN, pfd.revents, res, 1); in child() 169 report(num++, "5", POLLIN, pfd.revents, res, 1); in child() 187 report(num++, "6", POLLIN | POLLHUP, pfd.revents, res, 1); in child()
|
| /freebsd-11-stable/contrib/ntp/sntp/libevent/ |
| HD | devpoll.c | 207 what |= POLLIN | POLLOUT; in devpoll_dispatch() 209 what |= POLLIN | POLLOUT; in devpoll_dispatch() 211 if (what & POLLIN) in devpoll_dispatch() 243 res |= POLLIN; in devpoll_add() 262 res |= POLLIN; in devpoll_del() 276 if ((res & (POLLIN|POLLOUT)) != (POLLIN|POLLOUT)) { in devpoll_del() 282 if ((res & POLLIN) && (old & EV_WRITE)) { in devpoll_del() 287 devpoll_queue(devpollop, fd, POLLIN); in devpoll_del()
|
| HD | poll.c | 202 what |= POLLIN|POLLOUT; in poll_dispatch() 203 if (what & POLLIN) in poll_dispatch() 267 pfd->events |= POLLIN; in poll_add() 297 pfd->events &= ~POLLIN; in poll_del()
|
| /freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/ |
| HD | t_poll.c | 52 pfd.events = POLLIN | POLLHUP | POLLOUT; in child1() 64 pfd.events = POLLIN | POLLHUP | POLLOUT; in child2() 79 pfd.events = POLLIN | POLLHUP | POLLOUT; in child3() 165 pfds[0].events = POLLIN; in ATF_TC_BODY() 206 ATF_REQUIRE_EQ_MSG(pfds[0].revents, POLLIN, "got: %d", in ATF_TC_BODY() 227 pfd.events = POLLIN; in ATF_TC_BODY() 255 pfds[0].events = POLLIN; in ATF_TC_BODY() 300 ATF_REQUIRE_EQ_MSG(pfds[0].revents, POLLIN, "got: %d", in ATF_TC_BODY() 322 pfd.events = POLLIN; in ATF_TC_BODY() 357 pfd.events = POLLIN; in ATF_TC_BODY()
|
| /freebsd-11-stable/usr.bin/talk/ |
| HD | io.c | 112 fds[0].events = POLLIN; in talk() 114 fds[1].events = POLLIN; in talk() 127 if (fds[1].revents & POLLIN) { in talk() 138 if (fds[0].revents & POLLIN) { in talk()
|
| /freebsd-11-stable/contrib/netbsd-tests/lib/libcurses/director/ |
| HD | testlang_parse.y | 755 fds[0].events = POLLIN; in compare_streams() 757 fds[1].events = POLLIN; in compare_streams() 769 if (fds[0].revents & POLLIN) { in compare_streams() 788 if (fds[0].revents & POLLIN) { in compare_streams() 829 if ((fds[1].revents & POLLIN) == POLLIN) { in compare_streams() 831 } else if ((fds[0].revents & POLLIN) == POLLIN) { in compare_streams() 902 fds[0].events = POLLIN; in do_function_call() 912 if (fds[0].revents & POLLIN) { in do_function_call() 945 fds[0].events = POLLIN; in do_function_call() 951 fds[2].events = POLLIN | POLLOUT; in do_function_call() [all …]
|
| /freebsd-11-stable/contrib/pf/libevent/ |
| HD | poll.c | 128 if (pop->event_set[idx].events & POLLIN) { in poll_check_ok() 187 what |= POLLIN|POLLOUT; in poll_dispatch() 188 if (what & POLLIN) { in poll_dispatch() 307 pfd->events |= POLLIN; in poll_add() 340 pfd->events &= ~POLLIN; in poll_del()
|
| /freebsd-11-stable/sys/contrib/ipfilter/netinet/ |
| HD | mlfk_ipl.c | 450 if ((events & (POLLIN | POLLRDNORM)) && ipf_log_canread(&V_ipfmain, unit)) in ipfpoll() 451 revents |= events & (POLLIN | POLLRDNORM); in ipfpoll() 455 if ((events & (POLLIN | POLLRDNORM)) && ipf_auth_waiting(&V_ipfmain)) in ipfpoll() 456 revents |= events & (POLLIN | POLLRDNORM); in ipfpoll() 459 if ((events & (POLLIN | POLLRDNORM)) && ipf_sync_canread(&V_ipfmain)) in ipfpoll() 460 revents |= events & (POLLIN | POLLRDNORM); in ipfpoll() 470 if ((revents == 0) && ((events & (POLLIN|POLLRDNORM)) != 0)) in ipfpoll()
|
| /freebsd-11-stable/sys/sys/ |
| HD | poll.h | 61 #define POLLIN 0x0001 /* any readable data available */ macro 84 #define POLLSTANDARD (POLLIN|POLLPRI|POLLOUT|POLLRDNORM|POLLRDBAND|\
|
| /freebsd-11-stable/cddl/usr.sbin/zfsd/ |
| HD | zfsd.cc | 345 fds[0].events = POLLIN; in EventLoop() 348 fds[1].events = POLLIN; in EventLoop() 360 if ((fds[0].revents & POLLIN) != 0) in EventLoop() 363 if ((fds[1].revents & POLLIN) != 0) { in EventLoop()
|
| /freebsd-11-stable/contrib/ncurses/ncurses/tty/ |
| HD | lib_twait.c | 241 fds[count].events = POLLIN; in _nc_timed_wait() 247 fds[count].events = POLLIN; in _nc_timed_wait() 258 fds[count].events = POLLIN; in _nc_timed_wait() 282 && fds[c].revents & POLLIN) { in _nc_timed_wait() 481 && (fds[count].revents & POLLIN)) { in _nc_timed_wait()
|
| /freebsd-11-stable/contrib/blacklist/test/ |
| HD | srvtest.c | 205 pfd[0].events = POLLIN; in main() 208 pfd[1].events = POLLIN; in main() 215 if ((pfd[i].revents & POLLIN) == 0) in main()
|
| /freebsd-11-stable/contrib/netcat/ |
| HD | netcat.c | 812 pfd[POLL_STDIN].events = POLLIN; in readwrite() 820 pfd[POLL_NETIN].events = POLLIN; in readwrite() 871 if (pfd[POLL_STDIN].events & POLLIN && in readwrite() 873 ! (pfd[POLL_STDIN].revents & POLLIN)) in readwrite() 876 if (pfd[POLL_NETIN].events & POLLIN && in readwrite() 878 ! (pfd[POLL_NETIN].revents & POLLIN)) in readwrite() 900 if (pfd[POLL_STDIN].revents & POLLIN && stdinbufpos < BUFSIZE) { in readwrite() 924 pfd[POLL_STDIN].events = POLLIN; in readwrite() 927 if (pfd[POLL_NETIN].revents & POLLIN && netinbufpos < BUFSIZE) { in readwrite() 959 pfd[POLL_NETIN].events = POLLIN; in readwrite()
|
| /freebsd-11-stable/crypto/openssh/openbsd-compat/ |
| HD | bsd-poll.c | 72 if (fds[i].events & POLLIN) { in poll() 99 fds[i].revents |= POLLIN; in poll()
|
| /freebsd-11-stable/contrib/netbsd-tests/lib/librumphijack/ |
| HD | h_client.c | 106 pfd[0].events = POLLIN; in main() 108 pfd[1].events = POLLIN; in main()
|
| /freebsd-11-stable/sys/dev/snp/ |
| HD | snp.c | 302 (POLLHUP|POLLIN|POLLRDNORM|POLLOUT|POLLWRNORM)); in snp_poll() 306 if (events & (POLLIN | POLLRDNORM)) { in snp_poll() 311 revents |= events & (POLLIN | POLLRDNORM); in snp_poll()
|
| /freebsd-11-stable/crypto/openssh/regress/ |
| HD | netcat.c | 786 pfd[POLL_STDIN].events = POLLIN; in readwrite() 794 pfd[POLL_NETIN].events = POLLIN; in readwrite() 845 if (pfd[POLL_STDIN].events & POLLIN && in readwrite() 847 ! (pfd[POLL_STDIN].revents & POLLIN)) in readwrite() 850 if (pfd[POLL_NETIN].events & POLLIN && in readwrite() 852 ! (pfd[POLL_NETIN].revents & POLLIN)) in readwrite() 874 if (pfd[POLL_STDIN].revents & POLLIN && stdinbufpos < BUFSIZE) { in readwrite() 898 pfd[POLL_STDIN].events = POLLIN; in readwrite() 901 if (pfd[POLL_NETIN].revents & POLLIN && netinbufpos < BUFSIZE) { in readwrite() 933 pfd[POLL_NETIN].events = POLLIN; in readwrite()
|
| /freebsd-11-stable/sys/fs/fuse/ |
| HD | fuse_device.c | 184 (POLLHUP|POLLIN|POLLRDNORM|POLLOUT|POLLWRNORM)); in fuse_device_poll() 186 if (events & (POLLIN | POLLRDNORM)) { in fuse_device_poll() 189 revents |= events & (POLLIN | POLLRDNORM); in fuse_device_poll()
|
| /freebsd-11-stable/crypto/openssh/ |
| HD | atomicio.c | 62 pfd.events = f == read ? POLLIN : POLLOUT; in atomicio6() 119 pfd.events = f == readv ? POLLIN : POLLOUT; in atomiciov6()
|