Searched refs:POLLHUP (Results 1 - 25 of 56) sorted by relevance

123

/freebsd-12-stable/tools/regression/poll/
H A Dsockpoll.c30 case POLLHUP:
31 result = "POLLHUP";
33 case POLLIN | POLLHUP:
34 result = "POLLIN | POLLHUP";
36 case POLLOUT | POLLHUP:
37 result = "POLLOUT | POLLHUP";
39 case POLLIN | POLLOUT | POLLHUP:
40 result = "POLLIN | POLLOUT | POLLHUP";
124 report(num++, "other side after close", POLLIN | POLLHUP, pfd1.revents);
129 report(num++, "other side after reading input", POLLHUP, pfd
[all...]
H A Dpipepoll.c32 case POLLHUP:
33 result = "POLLHUP";
35 case POLLIN | POLLHUP:
36 result = "POLLIN | POLLHUP";
146 report(num++, "3", POLLHUP, pfd.revents, res, 1);
180 * see POLLHUP; they must see POLLHUP without POLLIN (or another
182 * is an example of a broken program that quits on POLLHUP only --
187 report(num++, "6", POLLIN | POLLHUP, pfd.revents, res, 1);
192 report(num++, "6a", POLLHUP, pf
[all...]
/freebsd-12-stable/sys/sys/
H A Dpoll.h81 #define POLLHUP 0x0010 /* file descriptor was "hung up" */ macro
87 POLLWRBAND|POLLERR|POLLHUP|POLLNVAL)
/freebsd-12-stable/crypto/openssh/openbsd-compat/
H A Dbsd-poll.h45 #define POLLHUP 0x0010 macro
/freebsd-12-stable/contrib/apr/include/arch/unix/
H A Dapr_arch_networkio.h92 #define POLLHUP 16 macro
/freebsd-12-stable/sys/fs/deadfs/
H A Ddead_vnops.c142 return (POLLHUP | ((POLLIN | POLLRDNORM) & ap->a_events));
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_poll.c52 pfd.events = POLLIN | POLLHUP | POLLOUT;
64 pfd.events = POLLIN | POLLHUP | POLLOUT;
79 pfd.events = POLLIN | POLLHUP | POLLOUT;
/freebsd-12-stable/contrib/ofed/librdmacm/examples/
H A Dcommon.c166 return ret == 1 ? (fds->revents & (POLLERR | POLLHUP)) : ret;
/freebsd-12-stable/contrib/ntp/sntp/libevent/
H A Devport.c341 if (pevt->portev_events & (POLLERR|POLLHUP)) {
353 if (pevt->portev_events & (POLLERR|POLLHUP|POLLNVAL))
H A Ddevpoll.c206 if (what & POLLHUP)
H A Dpoll.c201 if (what & (POLLHUP|POLLERR))
/freebsd-12-stable/contrib/libevent/
H A Devport.c341 if (pevt->portev_events & (POLLERR|POLLHUP)) {
353 if (pevt->portev_events & (POLLERR|POLLHUP|POLLNVAL))
H A Ddevpoll.c206 if (what & POLLHUP)
H A Dpoll.c201 if (what & (POLLHUP|POLLERR|POLLNVAL))
/freebsd-12-stable/lib/libdevdctl/
H A Dconsumer.cc249 if ((fds->revents & POLLHUP) != 0)
251 "POLLHUP detected on devd socket.");
/freebsd-12-stable/lib/libpam/modules/pam_exec/
H A Dpam_exec.c331 pfd[0].events = POLLHUP;
336 pfd[nfds].events = POLLIN|POLLERR|POLLHUP;
342 pfd[nfds].events = POLLIN|POLLERR|POLLHUP;
348 pfd[nfds].events = POLLOUT|POLLERR|POLLHUP;
/freebsd-12-stable/tools/test/gpioevents/
H A Dgpioevents.c124 case POLLHUP:
125 return "POLLHUP";
278 if (fds.revents & (POLLHUP | POLLERR)) {
279 err(EXIT_FAILURE, "Recieved POLLHUP or POLLERR "
/freebsd-12-stable/contrib/netcat/
H A Dnetcat.c887 pfd[POLL_STDIN].revents & POLLHUP &&
892 pfd[POLL_NETIN].revents & POLLHUP &&
896 if (pfd[POLL_NETOUT].revents & POLLHUP) {
902 if (pfd[POLL_STDOUT].revents & POLLHUP)
/freebsd-12-stable/contrib/sendmail/libmilter/
H A Dlibmilter.h192 (((rds).revents & (POLLERR | POLLHUP | POLLNVAL)) != 0)
/freebsd-12-stable/contrib/libpcap/testprogs/
H A Dselpolltest.c299 if (fd.revents & POLLHUP)
/freebsd-12-stable/contrib/less/
H A Dos.c171 if (poll_events(fd, POLLERR|POLLHUP))
/freebsd-12-stable/cddl/usr.sbin/zfsd/
H A Dzfsd.cc388 if ((fds[0].revents & POLLHUP) != 0) {
389 syslog(LOG_INFO, "POLLHUP detected on devd socket.");
/freebsd-12-stable/sys/dev/snp/
H A Dsnp.c312 (POLLHUP|POLLIN|POLLRDNORM|POLLOUT|POLLWRNORM));
/freebsd-12-stable/contrib/gdb/gdb/
H A Devent-loop.c670 set to 1: POLLHUP, POLLERR, POLLNVAL. These events cannot
682 error_mask = POLLHUP | POLLERR | POLLNVAL;
691 if (error_mask_returned & POLLHUP)
/freebsd-12-stable/contrib/apr/poll/unix/
H A Dz_asio.c213 rv |= POLLHUP;
235 if (event & POLLHUP)

Completed in 285 milliseconds

123