/illumos-gate/usr/src/uts/common/sys/ |
H A D | poll.h | 75 #define POLLHUP 0x0010 /* fd has been hung up on */ macro
|
/illumos-gate/usr/src/cmd/ptools/pwait/ |
H A D | pwait.c | 157 if (pfd->revents & POLLHUP) { 174 if (pfd->revents & ~(POLLPRI|POLLHUP|POLLNVAL))
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | epoll.c | 51 #if EPOLLHUP != POLLHUP 52 #error value of EPOLLHUP does not match value of POLLHUP
|
/illumos-gate/usr/src/cmd/lp/lib/msgs/ |
H A D | streamio.c | 66 if (fds.revents & (POLLHUP | POLLERR | POLLNVAL)) {
|
H A D | mlisten.c | 435 ** POLLHUP means the client aborted the call. 439 if (fdp->revents & POLLHUP) /* disconnected */ 463 if (fdp->revents == POLLHUP)
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | select.c | 187 * We would like to make POLLHUP available to select, 194 * if ((p->revents & POLLHUP) && 253 if ((p->revents & (POLLHUP|POLLERR)) && 263 if ((p->revents & (POLLHUP|POLLERR)) && 273 if ((p->revents & (POLLHUP|POLLERR)) &&
|
H A D | select_large_fdset.c | 236 * We would like to make POLLHUP available to select, 243 * if ((p->revents & POLLHUP) && 302 if ((p->revents & (POLLHUP|POLLERR)) && 312 if ((p->revents & (POLLHUP|POLLERR)) && 322 if ((p->revents & (POLLHUP|POLLERR)) &&
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmpeek.c | 95 if (fds[0].revents & POLLHUP) { 96 log( "POLLHUP received, about to exit");
|
H A D | tmchild.c | 654 pfd[0].events = POLLHUP; 664 if (pfd[0].revents & POLLHUP) {
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | msgs.c | 92 if ((md->event & POLLHUP) && !(md->event & POLLIN) ||
|
/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | poll_solaris.c | 93 "[+POLLHUP?A hangup has occurred on the stream. This " 116 "POLLHUP, POLLERR, and POLLNVAL are always set in \brevents\b " 206 if (strstr(str, "POLLHUP")) events |= POLLHUP; 228 if (events & POLLHUP) s=mystpcpy(s, "POLLHUP|");
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | wait.c | 276 if ((pe.portev_events & POLLHUP) == POLLHUP) {
|
/illumos-gate/usr/src/cmd/rexd/ |
H A D | unix_login.c | 597 if (!(fdp[master].revents & (POLLERR | POLLHUP | POLLNVAL))) { 627 if (!(fdp[inputsocket].revents & (POLLERR | POLLHUP |
|
/illumos-gate/usr/src/cmd/cvcd/sparc/sun4u/starcat/ |
H A D | cvcd.c | 632 if (revents & (POLLERR | POLLHUP | POLLNVAL)) { 638 (revents & POLLHUP) ? " hangup" : "",
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | wait.c | 190 /* open /proc psinfo file of process to listen for POLLHUP events on */ 252 * poll for, so we should only get a POLLHUP event on the fd. 332 * We expect to get a POLLHUP back on the fd of the process's 334 * A POLLERR could(?) mask a POLLHUP, so handle this 337 if ((pfd->revents & (POLLHUP|POLLERR)) == 0) { 348 * Either poll() is sending us invalid POLLHUP events
|
/illumos-gate/usr/src/cmd/sendmail/libmilter/ |
H A D | libmilter.h | 192 (((rds).revents & (POLLERR | POLLHUP | POLLNVAL)) != 0)
|
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | client.c | 282 if (pfd.revents & (POLLERR | POLLHUP | POLLNVAL)) { 440 if (pfd.revents & (POLLERR | POLLHUP | POLLNVAL)) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ |
H A D | ilbd_main.c | 838 if (p_ev.portev_events & (POLLHUP|POLLERR)) { 856 if (p_ev.portev_events & (POLLHUP|POLLERR)) {
|
/illumos-gate/usr/src/cmd/consadm/ |
H A D | consadm.c | 796 if ((fds[index].revents & POLLHUP) == 797 POLLHUP) {
|
/illumos-gate/usr/src/cmd/cvcd/sparc/sun4u/starfire/ |
H A D | cvcd.c | 491 if (cvcd_pfd[j].revents & (POLLERR|POLLHUP|POLLNVAL)) { 498 (cvcd_pfd[j].revents & POLLHUP) ?
|
/illumos-gate/usr/src/cmd/fm/modules/SUNW,SPARC-Enterprise/event-transport/ |
H A D | ex_dscp.c | 273 if (pfd.revents & (POLLHUP | POLLERR)) { 388 if (pfd.revents & (POLLHUP | POLLERR)) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/ |
H A D | netcat.c | 698 if (pfd[0].revents & (POLLIN|POLLHUP)) { 715 * is closed (indicated by POLLHUP) there may still 717 * the data, only POLLHUP remains, read() returns 0 720 if (!dflag && (pfd[1].revents & (POLLIN|POLLHUP))) {
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vldc.c | 299 pollevents = POLLHUP; 329 pollevents = POLLHUP; 727 pollwakeup(&vport->poll, POLLHUP); 1710 *reventsp |= POLLHUP;
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | socknotify.c | 148 * we explicitly set POLLHUP. At the same time, we also clear 149 * POLLOUT, as POLLOUT and POLLHUP are defined to be mutually 153 pollev = (pollev | POLLHUP) & ~POLLOUT;
|
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | eventlib.c | 875 return (POLLHUP); 883 * the events mask empty (apart from the POLLHUP bit), set the fd field 892 if ((ctx->pollfds[fd].events & ~POLLHUP) == 0) { 914 * field has any other bits than POLLHUP set, also set the fd field so that 923 if ((ctx->pollfds[fd].events & ~POLLHUP) != 0) {
|