Home
last modified time | relevance | path

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

1234

/freebsd-13.1/tools/regression/poll/
H A Dsockpoll.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()
138 report(num++, "after shutdown(SHUT_WR)", POLLOUT, pfd0.revents); in main()
186 report(num++, "after shutdown(SHUT_RD)", POLLIN | POLLOUT, pfd0.revents); in main()
[all …]
/freebsd-13.1/contrib/ntp/sntp/libevent/
H A Ddevpoll.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()
H A Dpoll.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()
H A Devport.c102 (FDI_HAS_WRITE(fdi) ? POLLOUT : 0)
346 if (pevt->portev_events & POLLOUT) in evport_dispatch()
/freebsd-13.1/contrib/libevent/
H A Ddevpoll.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()
H A Dpoll.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()
H A Devport.c102 (FDI_HAS_WRITE(fdi) ? POLLOUT : 0)
346 if (pevt->portev_events & POLLOUT) in evport_dispatch()
/freebsd-13.1/contrib/netbsd-tests/lib/libc/sys/
H A Dt_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-13.1/tools/regression/netinet/tcpfullwindowrst/
H A Dtcpfullwindowrsttest.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-13.1/sys/sys/
H A Dpoll.h65 #define POLLOUT 0x0004 /* file descriptor is writeable */ macro
67 #define POLLWRNORM POLLOUT /* no write type differentiation */
86 #define POLLSTANDARD (POLLIN|POLLPRI|POLLOUT|POLLRDNORM|POLLRDBAND|\
/freebsd-13.1/crypto/openssh/
H A Datomicio.c62 pfd.events = f == read ? POLLIN : POLLOUT; in atomicio6()
64 pfd.events = POLLIN|POLLOUT; in atomicio6()
124 pfd.events = f == readv ? POLLIN : POLLOUT; in atomiciov6()
126 pfd.events = POLLIN|POLLOUT; in atomiciov6()
/freebsd-13.1/crypto/openssh/openbsd-compat/
H A Dbsd-poll.h43 #define POLLOUT 0x0004 macro
52 #define POLLWRNORM POLLOUT
H A Dbsd-poll.c76 if (fds[i].events & POLLOUT) { in poll()
102 fds[i].revents |= POLLOUT; in poll()
/freebsd-13.1/tools/tools/netmap/
H A Dbridge.c330 pollfd[1].revents = POLLOUT; in main()
335 pollfd[0].revents = POLLOUT; in main()
342 pollfd[1].events |= POLLOUT; in main()
346 pollfd[0].events |= POLLOUT; in main()
380 if (pollfd[0].revents & POLLOUT) { in main()
387 if (pollfd[1].revents & POLLOUT) { in main()
/freebsd-13.1/contrib/pf/libevent/
H A Dpoll.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-13.1/contrib/capsicum-test/
H A Dselect.cc113 cap_fd[ii].events = POLLIN|POLLOUT;
116 cap_fd[kCapCount].events = POLLIN|POLLOUT;
123 cap_fd[kCapCount + 1].events = POLLIN|POLLOUT;
/freebsd-13.1/contrib/tnftp/
H A Dtnftp.h122 #if !defined(POLLOUT)
123 # define POLLOUT 0x0004 macro
129 # define POLLWRNORM POLLOUT
/freebsd-13.1/contrib/bearssl/tools/
H A Dsslio.c553 pfd[u].events |= POLLOUT; in run_ssl_engine()
571 pfd[u].events = POLLOUT; in run_ssl_engine()
595 pfd[u].revents |= POLLIN | POLLOUT; in run_ssl_engine()
599 recvapp_ok = recvapp && (pfd[k_out].revents & POLLOUT) != 0; in run_ssl_engine()
600 sendrec_ok = sendrec && (pfd[k_fd].revents & POLLOUT) != 0; in run_ssl_engine()
/freebsd-13.1/sys/fs/fuse/
H A Dfuse_device.c282 (POLLHUP|POLLIN|POLLRDNORM|POLLOUT|POLLWRNORM)); in fuse_device_poll()
292 if (events & (POLLOUT | POLLWRNORM)) { in fuse_device_poll()
293 revents |= events & (POLLOUT | POLLWRNORM); in fuse_device_poll()
/freebsd-13.1/contrib/netcat/
H A Datomicio.c47 pfd.events = f == read ? POLLIN : POLLOUT; in atomicio()
H A Dnetcat.c734 pfd.events = POLLOUT; in timeout_connect()
949 pfd[POLL_NETOUT].events = POLLOUT; in readwrite()
955 if (pfd[POLL_NETOUT].revents & POLLOUT && stdinbufpos > 0) { in readwrite()
980 pfd[POLL_STDOUT].events = POLLOUT; in readwrite()
990 if (pfd[POLL_STDOUT].revents & POLLOUT && netinbufpos > 0) { in readwrite()
1099 pfd.events = POLLOUT; in fdpass()
/freebsd-13.1/usr.bin/whois/
H A Dwhois.c349 POLLIN | POLLOUT; in connect_to_any_host()
415 if (fds[j].revents & ~(POLLIN | POLLOUT)) { in connect_to_any_host()
421 } else if (fds[j].revents & (POLLIN | POLLOUT)) { in connect_to_any_host()
/freebsd-13.1/contrib/bmake/
H A Djob.h101 #define POLLOUT 0x0004 macro
/freebsd-13.1/contrib/apr/include/arch/unix/
H A Dapr_arch_networkio.h90 #define POLLOUT 4 macro
/freebsd-13.1/contrib/ofed/librdmacm/examples/
H A Driostream.c153 fds.events = POLLOUT; in send_msg()
182 fds.events = POLLOUT; in send_xfer()
471 fds.events = POLLOUT; in client_connect()

1234