| /freebsd-11-stable/tools/regression/poll/ |
| HD | sockpoll.c | 24 case POLLOUT: in decode_events() 27 case POLLIN | POLLOUT: in decode_events() 36 case POLLOUT | 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() 109 report(num++, "initial 0", POLLOUT, pfd0.revents); in main() 112 report(num++, "initial 1", POLLOUT, pfd1.revents); in main() 120 report(num++, "other side after large write", POLLIN | POLLOUT, pfd1.revents); in main() 138 report(num++, "after shutdown(SHUT_WR)", POLLOUT, pfd0.revents); in main() [all …]
|
| /freebsd-11-stable/contrib/ntp/sntp/libevent/ |
| HD | devpoll.c | 207 what |= POLLIN | POLLOUT; in devpoll_dispatch() 209 what |= POLLIN | POLLOUT; in devpoll_dispatch() 213 if (what & POLLOUT) in devpoll_dispatch() 245 res |= POLLOUT; in devpoll_add() 264 res |= POLLOUT; in devpoll_del() 276 if ((res & (POLLIN|POLLOUT)) != (POLLIN|POLLOUT)) { in devpoll_del() 284 devpoll_queue(devpollop, fd, POLLOUT); in devpoll_del() 285 } else if ((res & POLLOUT) && (old & EV_READ)) { in devpoll_del()
|
| HD | poll.c | 202 what |= POLLIN|POLLOUT; in poll_dispatch() 205 if (what & POLLOUT) in poll_dispatch() 265 pfd->events |= POLLOUT; in poll_add() 299 pfd->events &= ~POLLOUT; in poll_del()
|
| HD | evport.c | 102 (FDI_HAS_WRITE(fdi) ? POLLOUT : 0) 346 if (pevt->portev_events & POLLOUT) in evport_dispatch()
|
| /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() 167 pfds[1].events = POLLOUT; in ATF_TC_BODY() 186 ATF_REQUIRE_EQ_MSG(pfds[1].revents, POLLOUT, "got: %d",\ in ATF_TC_BODY() 195 ATF_REQUIRE_EQ_MSG(pfds[1].revents, POLLOUT, "got: %d", in ATF_TC_BODY() 208 ATF_REQUIRE_EQ_MSG(pfds[1].revents, POLLOUT, "got: %d", in ATF_TC_BODY() 257 pfds[1].events = POLLOUT; in ATF_TC_BODY() 280 ATF_REQUIRE_EQ_MSG(pfds[1].revents, POLLOUT, "got: %d",\ in ATF_TC_BODY() 289 ATF_REQUIRE_EQ_MSG(pfds[1].revents, POLLOUT, "got: %d", in ATF_TC_BODY() [all …]
|
| /freebsd-11-stable/tools/regression/netinet/tcpfullwindowrst/ |
| HD | tcpfullwindowrsttest.c | 102 pfd[0].events = POLLOUT; in main() 104 pfd[1].events = POLLOUT; in main() 114 if (pfd[0].revents & POLLOUT) { in main() 121 if (pfd[1].revents & POLLOUT) { in main()
|
| /freebsd-11-stable/sys/sys/ |
| HD | poll.h | 63 #define POLLOUT 0x0004 /* file descriptor is writeable */ macro 65 #define POLLWRNORM POLLOUT /* no write type differentiation */ 84 #define POLLSTANDARD (POLLIN|POLLPRI|POLLOUT|POLLRDNORM|POLLRDBAND|\
|
| /freebsd-11-stable/tools/tools/netmap/ |
| HD | bridge.c | 292 pollfd[1].revents = POLLOUT; in main() 298 pollfd[0].revents = POLLOUT; in main() 305 pollfd[1].events |= POLLOUT; in main() 309 pollfd[0].events |= POLLOUT; in main() 343 if (pollfd[0].revents & POLLOUT) in main() 346 if (pollfd[1].revents & POLLOUT) in main()
|
| /freebsd-11-stable/crypto/openssh/openbsd-compat/ |
| HD | bsd-poll.h | 43 #define POLLOUT 0x0004 macro 52 #define POLLWRNORM POLLOUT
|
| HD | bsd-poll.c | 76 if (fds[i].events & POLLOUT) { in poll() 102 fds[i].revents |= POLLOUT; in poll()
|
| /freebsd-11-stable/contrib/pf/libevent/ |
| HD | poll.c | 134 if (pop->event_set[idx].events & POLLOUT) { in poll_check_ok() 187 what |= POLLIN|POLLOUT; in poll_dispatch() 192 if (what & POLLOUT) { in poll_dispatch() 303 pfd->events |= POLLOUT; in poll_add() 344 pfd->events &= ~POLLOUT; in poll_del()
|
| /freebsd-11-stable/contrib/tnftp/ |
| HD | tnftp.h | 122 #if !defined(POLLOUT) 123 # define POLLOUT 0x0004 macro 129 # define POLLWRNORM POLLOUT
|
| /freebsd-11-stable/sys/fs/fuse/ |
| HD | fuse_device.c | 184 (POLLHUP|POLLIN|POLLRDNORM|POLLOUT|POLLWRNORM)); in fuse_device_poll() 194 if (events & (POLLOUT | POLLWRNORM)) { in fuse_device_poll() 195 revents |= events & (POLLOUT | POLLWRNORM); 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()
|
| /freebsd-11-stable/libexec/rlogind/ |
| HD | rlogind.c | 376 set[0].events |= POLLOUT; in protocol() 381 set[1].events |= POLLOUT; in protocol() 434 if (set[0].revents & POLLOUT && fcc > 0) { in protocol() 459 if (set[1].revents & POLLOUT && pcc > 0) { in protocol()
|
| /freebsd-11-stable/usr.bin/whois/ |
| HD | whois.c | 319 POLLIN | POLLOUT; in connect_to_any_host() 385 if (fds[j].revents & ~(POLLIN | POLLOUT)) { in connect_to_any_host() 391 } else if (fds[j].revents & (POLLIN | POLLOUT)) { in connect_to_any_host()
|
| /freebsd-11-stable/sys/compat/svr4/ |
| HD | svr4_filio.c | 88 if (pfd[idx].revents & (POLLOUT | POLLWRNORM | POLLWRBAND)) 89 pfd[idx].revents |= (POLLOUT | POLLWRNORM | POLLWRBAND);
|
| /freebsd-11-stable/contrib/netcat/ |
| HD | netcat.c | 703 pfd.events = POLLOUT; in timeout_connect() 908 pfd[POLL_NETOUT].events = POLLOUT; in readwrite() 914 if (pfd[POLL_NETOUT].revents & POLLOUT && stdinbufpos > 0) { in readwrite() 939 pfd[POLL_STDOUT].events = POLLOUT; in readwrite() 949 if (pfd[POLL_STDOUT].revents & POLLOUT && netinbufpos > 0) { in readwrite() 1053 pfd.events = POLLOUT; in fdpass()
|
| HD | atomicio.c | 47 pfd.events = f == read ? POLLIN : POLLOUT; in atomicio()
|
| /freebsd-11-stable/contrib/apr/include/arch/unix/ |
| HD | apr_arch_networkio.h | 90 #define POLLOUT 4 macro
|
| /freebsd-11-stable/contrib/ofed/librdmacm/examples/ |
| HD | riostream.c | 153 fds.events = POLLOUT; in send_msg() 182 fds.events = POLLOUT; in send_xfer() 471 fds.events = POLLOUT; in client_connect()
|
| /freebsd-11-stable/crypto/openssh/regress/ |
| HD | netcat.c | 681 pfd.events = POLLOUT; in timeout_connect() 882 pfd[POLL_NETOUT].events = POLLOUT; in readwrite() 888 if (pfd[POLL_NETOUT].revents & POLLOUT && stdinbufpos > 0) { in readwrite() 913 pfd[POLL_STDOUT].events = POLLOUT; in readwrite() 923 if (pfd[POLL_STDOUT].revents & POLLOUT && netinbufpos > 0) { in readwrite() 1033 pfd.events = POLLOUT; in fdpass()
|
| /freebsd-11-stable/contrib/bmake/ |
| HD | job.h | 101 #define POLLOUT 0x0004 macro
|
| /freebsd-11-stable/sys/fs/cuse/ |
| HD | cuse.c | 1327 POLLRDNORM | POLLOUT | POLLWRNORM)); in cuse_server_poll() 1555 temp = cuse_client_poll(dev, POLLIN | POLLOUT, NULL); in cuse_client_kqfilter_poll() 1557 if (temp & (POLLIN | POLLOUT)) { in cuse_client_kqfilter_poll() 1561 if (temp & POLLOUT) in cuse_client_kqfilter_poll() 1771 if (events & (POLLOUT | POLLWRNORM)) in cuse_client_poll() 1801 revents |= (events & (POLLOUT | POLLWRNORM)); in cuse_client_poll() 1810 POLLRDNORM | POLLOUT | POLLWRNORM)); in cuse_client_poll()
|
| /freebsd-11-stable/contrib/apr/support/unix/ |
| HD | waitio.c | 48 pfd.events = for_read ? POLLIN : POLLOUT; in apr_wait_for_io_or_timeout()
|