Home
last modified time | relevance | path

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

123

/trueos/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 …]
/trueos/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 …]
/trueos/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()
/trueos/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|\
/trueos/crypto/openssh/openbsd-compat/
HDbsd-poll.h43 #define POLLOUT 0x0004 macro
52 #define POLLWRNORM POLLOUT
HDbsd-poll.c78 if (fds[i].events & POLLOUT) { in poll()
104 fds[i].revents |= POLLOUT; in poll()
/trueos/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()
/trueos/tools/tools/netmap/
HDbridge.c266 pollfd[1].events |= POLLOUT; in main()
270 pollfd[0].events |= POLLOUT; in main()
301 if (pollfd[0].revents & POLLOUT) { in main()
306 if (pollfd[1].revents & POLLOUT) { in main()
/trueos/contrib/tnftp/
HDtnftp.h122 #if !defined(POLLOUT)
123 # define POLLOUT 0x0004 macro
129 # define POLLWRNORM POLLOUT
/trueos/crypto/openssh/
HDatomicio.c61 pfd.events = f == read ? POLLIN : POLLOUT; in atomicio6()
118 pfd.events = f == readv ? POLLIN : POLLOUT; in atomiciov6()
HDmonitor_fdpass.c83 pfd.events = POLLOUT; in mm_send_fd()
/trueos/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()
/trueos/usr.bin/whois/
HDwhois.c315 POLLIN | POLLOUT; in whois()
376 if (fds[j].revents & ~(POLLIN | POLLOUT)) { in whois()
382 } else if (fds[j].revents & (POLLIN | POLLOUT)) { in whois()
/trueos/sys/compat/svr4/
HDsvr4_filio.c87 if (pfd[idx].revents & (POLLOUT | POLLWRNORM | POLLWRBAND))
88 pfd[idx].revents |= (POLLOUT | POLLWRNORM | POLLWRBAND);
/trueos/contrib/netcat/
HDatomicio.c47 pfd.events = f == read ? POLLIN : POLLOUT; in atomicio()
HDnetcat.c706 pfd.events = POLLOUT; in timeout_connect()
916 pfd[POLL_NETOUT].events = POLLOUT; in readwrite()
922 if (pfd[POLL_NETOUT].revents & POLLOUT && stdinbufpos > 0) { in readwrite()
947 pfd[POLL_STDOUT].events = POLLOUT; in readwrite()
957 if (pfd[POLL_STDOUT].revents & POLLOUT && netinbufpos > 0) { in readwrite()
1066 pfd.events = POLLOUT; in fdpass()
/trueos/contrib/apr/include/arch/unix/
HDapr_arch_networkio.h90 #define POLLOUT 4 macro
/trueos/contrib/bmake/
HDjob.h101 #define POLLOUT 0x0004 macro
/trueos/contrib/apr/support/unix/
HDwaitio.c48 pfd.events = for_read ? POLLIN : POLLOUT; in apr_wait_for_io_or_timeout()
/trueos/contrib/netbsd-tests/kernel/kqueue/write/
HDt_ttypty.c79 pfd.events = POLLOUT; in h_check()
/trueos/sys/kern/
HDtty_pts.c413 if (events & (POLLOUT|POLLWRNORM)) { in ptsdev_poll()
416 revents |= events & (POLLOUT|POLLWRNORM); in ptsdev_poll()
433 if (events & (POLLOUT|POLLWRNORM)) in ptsdev_poll()
/trueos/contrib/apr/poll/unix/
HDpoll.c41 rv |= POLLOUT; in get_event()
55 if (event & POLLOUT) in get_revent()
/trueos/contrib/ipfilter/
HDmlfk_ipl.c371 if ((events & (POLLOUT | POLLWRNORM)) && ipf_sync_canwrite(&ipfmain)) in ipfpoll()
372 revents |= events & (POLLOUT | POLLWRNORM); in ipfpoll()
/trueos/sys/contrib/ipfilter/netinet/
HDmlfk_ipl.c355 if ((events & (POLLOUT | POLLWRNORM)) && ipf_sync_canwrite(&ipfmain)) in ipfpoll()
356 revents |= events & (POLLOUT | POLLWRNORM); in ipfpoll()
/trueos/contrib/libarchive/libarchive/
HDfilter_fork_posix.c208 fds[idx].events = POLLOUT; in __archive_check_child()

123