/freebsd-12-stable/tools/regression/poll/ |
H A D | sockpoll.c | 30 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 D | pipepoll.c | 32 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 D | poll.h | 81 #define POLLHUP 0x0010 /* file descriptor was "hung up" */ macro 87 POLLWRBAND|POLLERR|POLLHUP|POLLNVAL)
|
/freebsd-12-stable/crypto/openssh/openbsd-compat/ |
H A D | bsd-poll.h | 45 #define POLLHUP 0x0010 macro
|
/freebsd-12-stable/contrib/apr/include/arch/unix/ |
H A D | apr_arch_networkio.h | 92 #define POLLHUP 16 macro
|
/freebsd-12-stable/sys/fs/deadfs/ |
H A D | dead_vnops.c | 142 return (POLLHUP | ((POLLIN | POLLRDNORM) & ap->a_events));
|
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_poll.c | 52 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 D | common.c | 166 return ret == 1 ? (fds->revents & (POLLERR | POLLHUP)) : ret;
|
/freebsd-12-stable/contrib/ntp/sntp/libevent/ |
H A D | evport.c | 341 if (pevt->portev_events & (POLLERR|POLLHUP)) { 353 if (pevt->portev_events & (POLLERR|POLLHUP|POLLNVAL))
|
H A D | devpoll.c | 206 if (what & POLLHUP)
|
H A D | poll.c | 201 if (what & (POLLHUP|POLLERR))
|
/freebsd-12-stable/contrib/libevent/ |
H A D | evport.c | 341 if (pevt->portev_events & (POLLERR|POLLHUP)) { 353 if (pevt->portev_events & (POLLERR|POLLHUP|POLLNVAL))
|
H A D | devpoll.c | 206 if (what & POLLHUP)
|
H A D | poll.c | 201 if (what & (POLLHUP|POLLERR|POLLNVAL))
|
/freebsd-12-stable/lib/libdevdctl/ |
H A D | consumer.cc | 249 if ((fds->revents & POLLHUP) != 0) 251 "POLLHUP detected on devd socket.");
|
/freebsd-12-stable/lib/libpam/modules/pam_exec/ |
H A D | pam_exec.c | 331 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 D | gpioevents.c | 124 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 D | netcat.c | 887 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 D | libmilter.h | 192 (((rds).revents & (POLLERR | POLLHUP | POLLNVAL)) != 0)
|
/freebsd-12-stable/contrib/libpcap/testprogs/ |
H A D | selpolltest.c | 299 if (fd.revents & POLLHUP)
|
/freebsd-12-stable/contrib/less/ |
H A D | os.c | 171 if (poll_events(fd, POLLERR|POLLHUP))
|
/freebsd-12-stable/cddl/usr.sbin/zfsd/ |
H A D | zfsd.cc | 388 if ((fds[0].revents & POLLHUP) != 0) { 389 syslog(LOG_INFO, "POLLHUP detected on devd socket.");
|
/freebsd-12-stable/sys/dev/snp/ |
H A D | snp.c | 312 (POLLHUP|POLLIN|POLLRDNORM|POLLOUT|POLLWRNORM));
|
/freebsd-12-stable/contrib/gdb/gdb/ |
H A D | event-loop.c | 670 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 D | z_asio.c | 213 rv |= POLLHUP; 235 if (event & POLLHUP)
|