Home
last modified time | relevance | path

Searched refs:POLLOUT (Results 1 – 25 of 83) sorted by relevance

1234

/freebsd-11-stable/tools/regression/poll/
HDsockpoll.c24 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/
HDdevpoll.c207 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()
HDpoll.c202 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()
HDevport.c102 (FDI_HAS_WRITE(fdi) ? POLLOUT : 0)
346 if (pevt->portev_events & POLLOUT) in evport_dispatch()
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
HDt_poll.c52 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/
HDtcpfullwindowrsttest.c102 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/
HDpoll.h63 #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/
HDbridge.c292 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/
HDbsd-poll.h43 #define POLLOUT 0x0004 macro
52 #define POLLWRNORM POLLOUT
HDbsd-poll.c76 if (fds[i].events & POLLOUT) { in poll()
102 fds[i].revents |= POLLOUT; in poll()
/freebsd-11-stable/contrib/pf/libevent/
HDpoll.c134 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/
HDtnftp.h122 #if !defined(POLLOUT)
123 # define POLLOUT 0x0004 macro
129 # define POLLWRNORM POLLOUT
/freebsd-11-stable/sys/fs/fuse/
HDfuse_device.c184 (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/
HDatomicio.c62 pfd.events = f == read ? POLLIN : POLLOUT; in atomicio6()
119 pfd.events = f == readv ? POLLIN : POLLOUT; in atomiciov6()
/freebsd-11-stable/libexec/rlogind/
HDrlogind.c376 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/
HDwhois.c319 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/
HDsvr4_filio.c88 if (pfd[idx].revents & (POLLOUT | POLLWRNORM | POLLWRBAND))
89 pfd[idx].revents |= (POLLOUT | POLLWRNORM | POLLWRBAND);
/freebsd-11-stable/contrib/netcat/
HDnetcat.c703 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()
HDatomicio.c47 pfd.events = f == read ? POLLIN : POLLOUT; in atomicio()
/freebsd-11-stable/contrib/apr/include/arch/unix/
HDapr_arch_networkio.h90 #define POLLOUT 4 macro
/freebsd-11-stable/contrib/ofed/librdmacm/examples/
HDriostream.c153 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/
HDnetcat.c681 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/
HDjob.h101 #define POLLOUT 0x0004 macro
/freebsd-11-stable/sys/fs/cuse/
HDcuse.c1327 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/
HDwaitio.c48 pfd.events = for_read ? POLLIN : POLLOUT; in apr_wait_for_io_or_timeout()

1234