Home
last modified time | relevance | path

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

12345

/freebsd/tools/regression/poll/l/
H A Dsockpoll.out2 ok 1 state initial 0: expected POLLOUT; got POLLOUT
3 ok 2 state initial 1: expected POLLOUT; got POLLOUT
5 ok 4 state other side after large write: expected POLLIN | POLLOUT; got POLLIN | POLLOUT
6 not ok 5 state other side after close: expected POLLIN | POLLHUP; got POLLIN | POLLOUT | POLLHUP
7 not ok 6 state other side after reading input: expected POLLHUP; got POLLIN | POLLOUT | POLLHUP
8 ok 7 state after shutdown(SHUT_WR): expected POLLOUT; got POLLOUT
9 ok 8 state other side after shutdown(SHUT_WR): expected POLLIN | POLLOUT; got POLLIN | POLLOUT
10 ok 9 state other side after reading EOF: expected POLLIN | POLLOUT; got POLLIN | POLLOUT
11 ok 10 state after data from other side: expected POLLIN | POLLOUT; got POLLIN | POLLOUT
13 not ok 12 state after second shutdown: expected POLLIN | POLLHUP; got POLLIN | POLLOUT | POLLHUP
[all …]
/freebsd/tools/regression/poll/14/
H A Dsockpoll.out2 ok 1 state initial 0: expected POLLOUT; got POLLOUT
3 ok 2 state initial 1: expected POLLOUT; got POLLOUT
5 ok 4 state other side after large write: expected POLLIN | POLLOUT; got POLLIN | POLLOUT
8 ok 7 state after shutdown(SHUT_WR): expected POLLOUT; got POLLOUT
9 ok 8 state other side after shutdown(SHUT_WR): expected POLLIN | POLLOUT; got POLLIN | POLLOUT
10 ok 9 state other side after reading EOF: expected POLLIN | POLLOUT; got POLLIN | POLLOUT
11 ok 10 state after data from other side: expected POLLIN | POLLOUT; got POLLIN | POLLOUT
16 ok 15 state after shutdown(SHUT_RD): expected POLLIN | POLLOUT; got POLLIN | POLLOUT
17 ok 16 state other side after shutdown(SHUT_RD): expected POLLOUT; got POLLOUT
19 ok 18 state other side after shutdown(SHUT_WR): expected POLLIN | POLLOUT; got POLLIN | POLLOUT
[all …]
/freebsd/tools/regression/poll/
H A Dsockpoll.c45 DECODE_FLAG(POLLOUT); in decode_events()
48 #define KNOWN_FLAGS (POLLIN | POLLOUT | POLLHUP) in decode_events()
51 #define KNOWN_FLAGS (POLLIN | POLLOUT | POLLHUP | POLLRDHUP); in decode_events()
111 pfd0.events = POLLIN | POLLOUT; in setup()
113 pfd1.events = POLLIN | POLLOUT; in setup()
129 report(num++, "initial 0", POLLOUT, pfd0.revents); in main()
132 report(num++, "initial 1", POLLOUT, pfd1.revents); in main()
140 report(num++, "other side after large write", POLLIN | POLLOUT, pfd1.revents); in main()
158 report(num++, "after shutdown(SHUT_WR)", POLLOUT, pfd0.revents); in main()
161 report(num++, "other side after shutdown(SHUT_WR)", POLLIN | POLLOUT, pfd1.revents); in main()
[all …]
/freebsd/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.c213 what |= POLLIN|POLLOUT; in poll_dispatch()
216 if (what & POLLOUT) in poll_dispatch()
278 pfd->events |= POLLOUT; in poll_add()
314 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/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.c213 what |= POLLIN|POLLOUT; in poll_dispatch()
216 if (what & POLLOUT) in poll_dispatch()
278 pfd->events |= POLLOUT; in poll_add()
314 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/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/tools/regression/netinet/tcpfullwindowrst/
H A Dtcpfullwindowrsttest.c100 pfd[0].events = POLLOUT; in main()
102 pfd[1].events = POLLOUT; in main()
112 if (pfd[0].revents & POLLOUT) { in main()
119 if (pfd[1].revents & POLLOUT) { in main()
/freebsd/crypto/openssh/openbsd-compat/
H A Dbsd-poll.h53 #ifndef POLLOUT
54 # define POLLOUT 0x0004 macro
70 #define POLLWRNORM POLLOUT
H A Dbsd-poll.c72 if (fds[i].events & POLLOUT) in ppoll()
88 if ((fds[i].events & POLLOUT) && FD_ISSET(fd, &writefds)) in ppoll()
89 fds[i].revents |= POLLOUT; in ppoll()
/freebsd/sys/sys/
H A Dpoll.h63 #define POLLOUT 0x0004 /* file descriptor is writeable */ macro
65 #define POLLWRNORM POLLOUT /* no write type differentiation */
85 #define POLLSTANDARD (POLLIN|POLLPRI|POLLOUT|POLLRDNORM|POLLRDBAND|\
/freebsd/crypto/openssh/
H A Datomicio.c61 pfd.events = f == read ? POLLIN : POLLOUT; in atomicio6()
63 pfd.events = POLLIN|POLLOUT; in atomicio6()
123 pfd.events = f == readv ? POLLIN : POLLOUT; in atomiciov6()
125 pfd.events = POLLIN|POLLOUT; in atomiciov6()
/freebsd/tools/tools/netmap/
H A Dbridge.c326 pollfd[1].revents = POLLOUT; in main()
331 pollfd[0].revents = POLLOUT; in main()
338 pollfd[1].events |= POLLOUT; in main()
342 pollfd[0].events |= POLLOUT; in main()
376 if (pollfd[0].revents & POLLOUT) { in main()
383 if (pollfd[1].revents & POLLOUT) { in main()
/freebsd/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/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/tests/sys/netinet/
H A Dsocket_afinet.c137 pfd.events = POLLIN | POLLOUT; in ATF_TC_BODY()
140 ATF_CHECK_EQ(POLLOUT, pfd.revents); in ATF_TC_BODY()
201 pfd.events = POLLIN | POLLOUT | POLLRDHUP; in ATF_TC_BODY()
204 ATF_CHECK_EQ(POLLOUT, pfd.revents); in ATF_TC_BODY()
214 pfd.events = POLLIN | POLLOUT | POLLRDHUP; in ATF_TC_BODY()
217 ATF_CHECK_EQ(POLLIN | POLLOUT, pfd.revents); in ATF_TC_BODY()
/freebsd/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/contrib/tnftp/
H A Dtnftp.h122 #if !defined(POLLOUT)
123 # define POLLOUT 0x0004 macro
129 # define POLLWRNORM POLLOUT
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Deventpoll.h35 #define EPOLLOUT POLLOUT
/freebsd/sys/fs/fuse/
H A Dfuse_device.c279 (POLLHUP|POLLIN|POLLRDNORM|POLLOUT|POLLWRNORM)); in fuse_device_poll()
289 if (events & (POLLOUT | POLLWRNORM)) { in fuse_device_poll()
290 revents |= events & (POLLOUT | POLLWRNORM); in fuse_device_poll()
/freebsd/contrib/netcat/
H A Datomicio.c47 pfd.events = f == read ? POLLIN : POLLOUT; in atomicio()
/freebsd/usr.bin/whois/
H A Dwhois.c334 POLLIN | POLLOUT; in connect_to_any_host()
400 if (fds[j].revents & ~(POLLIN | POLLOUT)) { in connect_to_any_host()
406 } else if (fds[j].revents & (POLLIN | POLLOUT)) { in connect_to_any_host()

12345