HomeSort by: relevance | last modified time | path
    Searched refs:POLLOUT (Results 1 - 25 of 75) sorted by relevancy

1 2 3

  /src/sys/sys/
poll.h 50 #define POLLOUT 0x0004
52 #define POLLWRNORM POLLOUT
  /src/tests/lib/libc/sys/
t_poll.c 60 pfd.events = POLLIN | POLLHUP | POLLOUT;
72 pfd.events = POLLIN | POLLHUP | POLLOUT;
87 pfd.events = POLLIN | POLLHUP | POLLOUT;
175 pfds[1].events = POLLOUT;
194 ATF_REQUIRE_EQ_MSG(pfds[1].revents, POLLOUT, "got: %d",\
203 ATF_REQUIRE_EQ_MSG(pfds[1].revents, POLLOUT, "got: %d",
217 ATF_REQUIRE_EQ_MSG(pfds[1].revents, POLLOUT, "got: %d",
268 "Check POLLIN/POLLOUT behavior with fifos");
296 pfd[1].events = POLLOUT | POLLWRNORM;
303 ATF_REQUIRE_EQ_MSG(pfd[1].revents, POLLOUT|POLLWRNORM
    [all...]
t_pollts.c 68 pfds[1].events = POLLOUT;
91 ATF_REQUIRE_EQ_MSG(pfds[1].revents, POLLOUT, "got: %d",\
100 ATF_REQUIRE_EQ_MSG(pfds[1].revents, POLLOUT, "got: %d",
113 ATF_REQUIRE_EQ_MSG(pfds[1].revents, POLLOUT, "got: %d",
t_eventfd.c 288 * event bits; we should only get back POLLOUT | POLLWRNORM.
292 POLLOUT | POLLWRNORM | POLLWRBAND | POLLHUP;
295 ATF_REQUIRE(fds[0].revents == (POLLOUT | POLLWRNORM));
333 POLLOUT | POLLWRNORM | POLLWRBAND | POLLHUP;
399 fds[0].events = POLLOUT | POLLWRNORM;
409 ATF_REQUIRE(fds[0].revents == (POLLOUT | POLLWRNORM));
  /src/usr.bin/nc/
atomicio.c 49 pfd.events = f == read ? POLLIN : POLLOUT;
netcat.c 981 pfd.events = POLLOUT;
1172 pfd[POLL_STDIN].events = POLLOUT;
1177 pfd[POLL_NETOUT].events = POLLOUT;
1183 if (pfd[POLL_NETOUT].revents & POLLOUT && stdinbufpos > 0) {
1189 pfd[POLL_NETOUT].events = POLLOUT;
1206 pfd[POLL_NETIN].events = POLLOUT;
1216 pfd[POLL_STDOUT].events = POLLOUT;
1226 if (pfd[POLL_STDOUT].revents & POLLOUT && netinbufpos > 0) {
1232 pfd[POLL_STDOUT].events = POLLOUT;
1348 pfd.events = POLLOUT;
    [all...]
  /src/sys/modules/examples/pollpal/
cmd_pollpal.c 88 fds.events = POLLOUT|POLLIN;
108 if (fds.revents & POLLOUT) {
pollpal.c 185 selnotify(&pl->psel, POLLOUT | POLLWRNORM, 0);
275 if (events & (POLLOUT | POLLWRNORM)) {
277 revents |= POLLOUT | POLLWRNORM;
  /src/tests/net/net/
t_socket_afinet.c 163 /* Server can write, sees only POLLOUT. */
165 pfd.events = POLLIN | POLLOUT;
168 ATF_CHECK_EQ(POLLOUT, pfd.revents);
225 /* Server can write, so sees POLLOUT. */
227 pfd.events = POLLIN | POLLOUT | POLLRDHUP;
230 ATF_CHECK_EQ(POLLOUT, pfd.revents);
240 pfd.events = POLLIN | POLLOUT | POLLRDHUP;
243 ATF_CHECK_EQ(POLLIN | POLLOUT, pfd.revents);
t_unix.c 510 * -- it will report POLLOUT when that happens. And then
513 pfd = (struct pollfd){.fd = conn, .events = POLLOUT};
515 ATF_REQUIRE_MSG(pfd.revents & POLLOUT, "revents=0x%x", pfd.revents);
  /src/sys/rump/librump/rumpkern/
cons.c 157 if (events & (POLLOUT | POLLWRNORM))
158 revents |= events & (POLLOUT | POLLWRNORM);
  /src/tests/kernel/kqueue/write/
t_ttypty.c 79 pfd.events = POLLOUT;
  /src/usr.bin/telnet/
sys_bsd.c 566 set[0].events = (netout ? POLLOUT : 0) | (netin ? POLLIN : 0) |
569 set[1].events = ttyout ? POLLOUT : 0;
651 if (set[0].revents & POLLOUT) {
658 if (set[1].revents & POLLOUT) {
  /src/sys/dev/ir/
cir.c 255 if (events & (POLLOUT | POLLWRNORM))
257 revents |= events & (POLLOUT | POLLWRNORM);
265 if (events & (POLLOUT | POLLWRNORM))
  /src/sys/dev/dmover/
dmover_io.c 505 selnotify(&ds->ds_selq, POLLOUT | POLLWRNORM, 0);
683 if ((events & (POLLIN | POLLRDNORM | POLLOUT | POLLWRNORM)) == 0)
691 POLLOUT | POLLWRNORM);
704 if (events & (POLLOUT | POLLWRNORM))
706 revents |= events & (POLLOUT | POLLWRNORM);
  /src/sys/kern/
sys_eventfd.c 197 pollev = POLLOUT | POLLWRNORM;
358 if (events & (POLLOUT | POLLWRNORM)) {
360 revents |= events & (POLLOUT | POLLWRNORM);
sys_pipe.c 382 band = POLLOUT|POLLWRNORM;
836 revents |= events & (POLLOUT | POLLWRNORM);
838 if (events & (POLLOUT | POLLWRNORM))
841 revents |= events & (POLLOUT | POLLWRNORM);
853 if (events & (POLLOUT | POLLWRNORM))
  /src/libexec/rlogind/
rlogind.c 471 set[0].events |= POLLOUT;
476 set[1].events |= POLLOUT;
531 if (set[0].revents & POLLOUT && fcc > 0) {
556 if (set[1].revents & POLLOUT && pcc > 0) {
  /src/sys/dev/sun/
event.c 163 revents |= events & (POLLOUT | POLLWRNORM);
  /src/tests/net/fdpass/
fdpass.c 80 pfd.events = POLLOUT;
  /src/sys/dev/
random.c 160 return events & (POLLIN|POLLRDNORM | POLLOUT|POLLWRNORM);
  /src/libexec/telnetd/
telnetd.c 964 set[0].events |= POLLOUT;
968 set[1].events |= POLLOUT;
1088 if ((set[0].revents & POLLOUT) && (nfrontp - nbackp) > 0)
1092 if ((set[1].revents & POLLOUT) && (pfrontp - pbackp) > 0)
  /src/usr.bin/rsh/
rsh.c 345 fdp->events = POLLOUT|POLLNVAL|POLLERR|POLLHUP;
377 if ((fdp->revents & POLLOUT) == 0)
  /src/sys/dev/sbus/
bpp.c 490 if (events & (POLLOUT | POLLWRNORM)) {
492 revents |= (POLLOUT | POLLWRNORM);
498 if (events & (POLLOUT | POLLWRNORM))
  /src/usr.bin/ftp/
ssl.c 106 pfd[0].events = POLLOUT;
371 pfd[0].events = POLLOUT;
685 pfd[0].events = POLLOUT;

Completed in 54 milliseconds

1 2 3