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

1 2

  /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;
398 "Check POLLHUP behavior with fifos [1]");
421 ATF_REQUIRE_EQ_MSG((pfd.revents & (POLLHUP|POLLOUT)), POLLHUP,
422 "revents=0x%x expected POLLHUP=0x%x but not POLLOUT=0x%x",
423 pfd.revents, POLLHUP, POLLOUT);
426 * Check that POLLHUP is cleared when a writer re-connects.
448 "Check POLLHUP behavior with fifos [2]")
    [all...]
t_eventfd.c 292 POLLOUT | POLLWRNORM | POLLWRBAND | POLLHUP;
333 POLLOUT | POLLWRNORM | POLLWRBAND | POLLHUP;
t_timerfd.c 537 POLLOUT | POLLWRNORM | POLLWRBAND | POLLHUP;
574 POLLOUT | POLLWRNORM | POLLWRBAND | POLLHUP;
  /src/usr.bin/tip/
tipout.c 136 pfd[1].events = POLLIN|POLLHUP;
160 if (pfd[1].revents & (POLLIN|POLLHUP)) {
  /src/sys/sys/
poll.h 60 #define POLLHUP 0x0010
  /src/usr.bin/rsh/
rsh.c 308 if (fdp->revents & (POLLNVAL|POLLERR|POLLHUP))
345 fdp->events = POLLOUT|POLLNVAL|POLLERR|POLLHUP;
374 if (fdp->revents & (POLLNVAL|POLLERR|POLLHUP))
402 fds[0].events = POLLIN|POLLNVAL|POLLERR|POLLHUP;
407 fds[1].events = fds[2].events = POLLIN|POLLNVAL|POLLERR|POLLHUP;
  /src/sys/modules/examples/pollpal/
cmd_pollpal.c 105 if (fds.revents & (POLLERR | POLLHUP | POLLNVAL))
  /src/usr.sbin/npf/npfd/
npfd.c 81 pfd.events = POLLHUP | POLLIN;
  /src/sys/dev/ir/
irframe.c 381 return (POLLHUP);
383 return (POLLHUP);
  /src/libexec/httpd/
daemon-bozo.c 214 if ((httpd->fds[idx].revents & (POLLNVAL|POLLERR|POLLHUP)) == 0)
  /src/sys/kern/
tty_pty.c 511 return POLLHUP;
882 if (events & POLLHUP)
884 revents |= POLLHUP;
887 if (events & (POLLIN | POLLHUP | POLLRDNORM))
sys_select.c 137 POLLRDNORM | POLLHUP | POLLERR,
138 POLLWRNORM | POLLHUP | POLLERR,
698 fds->events | POLLERR | POLLHUP);
847 int revents = events & (pfd->events | POLLERR | POLLHUP);
sys_mqueue.c 1117 selnotify(&mq->mq_rsel, POLLHUP, 0);
1118 selnotify(&mq->mq_wsel, POLLHUP, 0);
sys_pipe.c 385 band = POLLHUP;
847 revents |= POLLHUP;
tty.c 1563 if (events & POLLHUP)
1565 revents |= POLLHUP;
1568 if (events & (POLLIN | POLLHUP | POLLRDNORM))
uipc_socket2.c 575 band = POLLHUP;
  /src/sys/miscfs/fifofs/
fifo_vnops.c 392 revents |= POLLHUP;
397 * action POLLHUP.
405 /* POSIX sez: POLLHUP and POLLOUT are mutually-exclusive. */
406 if (wso != NULL && (revents & POLLHUP) == 0) {
  /src/sys/dev/usb/
uhid.c 321 fail1: selnotify(&sc->sc_rsel, POLLHUP, 0);
384 selnotify(&sc->sc_rsel, POLLHUP, 0);
  /src/usr.bin/telnet/
sys_bsd.c 655 if (set[1].revents & (POLLHUP|POLLNVAL))
  /src/usr.bin/nc/
netcat.c 1138 pfd[POLL_STDIN].revents & POLLHUP &&
1143 pfd[POLL_NETIN].revents & POLLHUP &&
1147 if (pfd[POLL_NETOUT].revents & POLLHUP) {
1153 if (pfd[POLL_STDOUT].revents & POLLHUP)
  /src/sys/dev/
cons.c 293 return POLLHUP;
midi.c 1711 return POLLHUP;
  /src/sys/dev/gpio/
gpioirq.c 402 return POLLHUP;
  /src/lib/librumphijack/
hijack.c 2057 pfds[j].events |= POLLHUP|POLLERR;
2107 if (pfds[i].revents & (POLLHUP|POLLERR)) {
  /src/sys/arch/arm/imx/
imxuart.c 859 return (POLLHUP);

Completed in 132 milliseconds

1 2