POLLHUP
if (pfd[0].revents & (POLLIN|POLLHUP)) {
if (!dflag && (pfd[1].revents & (POLLIN|POLLHUP))) {
pollfds[n_pollfds].events = POLLIN | POLLPRI | POLLHUP;
if (port_events & (POLLHUP|POLLERR)) {
if (p_ev.portev_events & (POLLHUP|POLLERR)) {
if (p_ev.portev_events & (POLLHUP|POLLERR)) {
if ((pfd->revents & (POLLHUP|POLLERR)) == 0) {
if ((fds[index].revents & POLLHUP) ==
POLLHUP) {
if (pfd.revents & (POLLHUP | POLLERR)) {
case POLLHUP:
if ((pfd.revents & (POLLERR | POLLHUP)) != 0) {
if ((md->event & POLLHUP) && !(md->event & POLLIN) ||
if (fdp->revents & POLLHUP) /* disconnected */
if (fds.revents & (POLLHUP | POLLERR | POLLNVAL)) {
if (pfd->revents & POLLHUP) {
if (pfd->revents & ~(POLLPRI|POLLHUP|POLLNVAL))
(((rds).revents & (POLLERR | POLLHUP | POLLNVAL)) != 0)
if ((pe.portev_events & POLLHUP) == POLLHUP) {
} else if (Pfd.revents & (POLLNVAL|POLLHUP|POLLERR)) {
if (Pfd.revents & (POLLNVAL|POLLHUP|POLLERR)) {
(POLLNVAL|POLLHUP|POLLERR)) {
POLLRDNORM|POLLRDBAND|POLLWRBAND|POLLERR|POLLHUP|POLLNVAL)
if (arg & POLLHUP)
pfd[0].events = POLLHUP;
if (pfd[0].revents & POLLHUP) {
} else if (fdp->revents & POLLHUP) {
if (fds[0].revents & POLLHUP) {
if (pfd->revents & POLLHUP) {
(POLLHUP | POLLERR | POLLNVAL)) ||
} else if (raw_mode && pollfds[2].revents & POLLHUP) {
POLLPRI | POLLERR | POLLHUP | POLLNVAL;
POLLIN|POLLHUP, NULL) < 0) {
if ((p->revents & (POLLHUP|POLLERR)) &&
if ((p->revents & (POLLHUP|POLLERR)) &&
if ((p->revents & (POLLHUP|POLLERR)) &&
#if EPOLLHUP != POLLHUP
if (pfd.revents & POLLHUP)
if (pfd.revents & (POLLERR | POLLHUP | POLLNVAL)) {
if (pfd.revents & (POLLERR | POLLHUP | POLLNVAL)) {
if (pfdp[0].revents & (POLLERR | POLLHUP)) {
POLLWRBAND|POLLERR|POLLHUP|POLLNVAL)
POLLWRBAND|POLLERR|POLLHUP|POLLNVAL))) {
POLLHUP))
return (POLLHUP);
if ((ctx->pollfds[fd].events & ~POLLHUP) == 0) {
if ((ctx->pollfds[fd].events & ~POLLHUP) != 0) {
retevents = POLLHUP;
retevents = POLLHUP;
revents = revents & (pdp->pd_events | POLLHUP | POLLERR);
pollwakeup(&pcp->prc_pollhead, POLLHUP);
*reventsp = POLLHUP;
*reventsp |= POLLHUP;
pollev = (pollev | POLLHUP) & ~POLLOUT;
*reventsp |= POLLHUP;
pollwakeup(&ufs_pollhd, POLLPRI | POLLHUP);
*revp = POLLHUP;
if ((ev & POLLPRI) && (*revp & (POLLERR|POLLHUP)))
pdp->pd_events = POLLERR|POLLHUP;
pollwakeup(&slot->cs_excl_minor->cm_pollhead, POLLHUP);
POLLHUP | POLLERR);
ready |= POLLHUP;
*reventsp |= POLLHUP|POLLIN;
retevents |= POLLHUP;
pollwakeup(&stp->sd_pollist, POLLHUP);
pollwakeup(pdp->pd_php, POLLHUP);
| POLLRDBAND | POLLWRBAND | POLLHUP | POLLERR | POLLNVAL)
(events & (POLLHUP | POLLERR))) {
(pdp->pd_events | POLLHUP |
*reventsp |= POLLHUP;
pollevents = POLLHUP;
pollevents = POLLHUP;
pollwakeup(&vport->poll, POLLHUP);