Searched refs:POLLHUP (Results 26 - 50 of 56) sorted by relevance

123

/freebsd-12-stable/contrib/llvm-project/lldb/source/Host/common/
H A DMainLoop.cpp234 if ((fd.revents & (POLLIN | POLLHUP)) == 0)
/freebsd-12-stable/contrib/pf/libevent/
H A Dpoll.c186 if (what & (POLLHUP|POLLERR))
/freebsd-12-stable/crypto/openssh/regress/
H A Dnetcat.c851 pfd[POLL_STDIN].revents & POLLHUP &&
856 pfd[POLL_NETIN].revents & POLLHUP &&
860 if (pfd[POLL_NETOUT].revents & POLLHUP) {
866 if (pfd[POLL_STDOUT].revents & POLLHUP)
/freebsd-12-stable/contrib/apr/poll/unix/
H A Dpoll.c42 /* POLLERR, POLLHUP, and POLLNVAL aren't valid as requested events */
59 if (event & POLLHUP)
H A Dport.c39 /* POLLERR, POLLHUP, and POLLNVAL aren't valid as requested events */
56 if (event & POLLHUP)
/freebsd-12-stable/sys/fs/cuse/
H A Dcuse.c1324 return (events & (POLLHUP | POLLPRI | POLLIN |
1772 if (events & POLLHUP)
1801 revents |= (events & POLLHUP);
1807 return (events & (POLLHUP | POLLPRI | POLLIN |
/freebsd-12-stable/sys/fs/fuse/
H A Dfuse_device.c260 (POLLHUP|POLLIN|POLLRDNORM|POLLOUT|POLLWRNORM));
/freebsd-12-stable/sys/kern/
H A Dsys_procdesc.c451 revents |= POLLHUP;
H A Dsys_generic.c1144 * The backend always returns POLLHUP/POLLERR if appropriate and we
1148 POLLRDNORM | POLLHUP | POLLERR,
1149 POLLWRNORM | POLLHUP | POLLERR,
1473 * Note: backend also returns POLLHUP and
1535 * Note: backend also returns POLLHUP and
1543 * set simultaneously with POLLHUP.
1545 if ((fds->revents & POLLHUP) != 0)
H A Dtty_pts.c401 return ((events & (POLLIN|POLLRDNORM)) | POLLHUP);
417 * No need to check for POLLHUP here. This device cannot be used
H A Dtty.c647 return ((events & (POLLIN|POLLRDNORM)) | POLLHUP);
657 revents |= POLLHUP;
H A Dsys_pipe.c1444 revents |= POLLHUP;
1451 * POLLHUP even if it was not asked for.
/freebsd-12-stable/sbin/dhclient/
H A Ddispatch.c247 if ((fds[i].revents & (POLLIN | POLLHUP))) {
/freebsd-12-stable/usr.bin/whois/
H A Dwhois.c348 fds[i].events = POLLERR | POLLHUP |
/freebsd-12-stable/contrib/bearssl/tools/
H A Dsslio.c594 if (pfd[u].revents & (POLLERR | POLLHUP)) {
/freebsd-12-stable/contrib/libbegemot/
H A Drpoll.c83 # define poll_except (POLLERR | POLLHUP)
/freebsd-12-stable/tools/regression/security/cap_test/
H A Dcap_test_capabilities.c395 pollfd.events = POLLIN | POLLERR | POLLHUP;
/freebsd-12-stable/contrib/wpa/src/utils/
H A Deloop.c557 POLLHUP))
565 max_pollfd_map, POLLERR | POLLHUP);
/freebsd-12-stable/sys/dev/evdev/
H A Dcdev.c320 return (POLLHUP);
/freebsd-12-stable/sys/dev/gpio/
H A Dgpioc.c969 revents = POLLHUP;
/freebsd-12-stable/crypto/openssh/
H A Dssh-agent.c951 if ((pfd[i].revents & (POLLOUT|POLLHUP)) != 0 &&
/freebsd-12-stable/sbin/devd/
H A Ddevd.cc986 (s > 0 && (pfd.revents & POLLHUP))) {
/freebsd-12-stable/sys/dev/kbd/
H A Dkbd.c720 revents = POLLHUP; /* the keyboard has gone */
/freebsd-12-stable/contrib/ofed/opensm/opensm/
H A Dosm_console.c1922 if (pollfd[1].revents & POLLHUP) {
/freebsd-12-stable/sys/dev/usb/
H A Dusb_dev.c1312 (POLLHUP|POLLIN|POLLRDNORM|POLLOUT|POLLWRNORM));

Completed in 415 milliseconds

123