Home
last modified time | relevance | path

Searched refs:POLLHUP (Results 1 – 25 of 51) sorted by relevance

123

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dselect.c320 if ((p->revents & (POLLHUP|POLLERR)) && in pselect()
330 if ((p->revents & (POLLHUP|POLLERR)) && in pselect()
340 if ((p->revents & (POLLHUP|POLLERR)) && in pselect()
/illumos-gate/usr/src/cmd/ptools/pwait/
H A Dpwait.c164 if (pfd->revents & POLLHUP) { in main()
181 if (pfd->revents & ~(POLLPRI|POLLHUP|POLLNVAL)) in main()
/illumos-gate/usr/src/lib/libc/port/sys/
H A Depoll.c52 #if EPOLLHUP != POLLHUP
53 #error value of EPOLLHUP does not match value of POLLHUP
/illumos-gate/usr/src/cmd/svc/startd/
H A Dwait.c279 if ((pe.portev_events & POLLHUP) == POLLHUP) { in wait_thread()
/illumos-gate/usr/src/uts/common/sys/
H A Dpoll.h75 #define POLLHUP 0x0010 /* fd has been hung up on */ macro
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dpoll_solaris.c206 if (strstr(str, "POLLHUP")) events |= POLLHUP; in poll_strtoevents()
228 if (events & POLLHUP) s=mystpcpy(s, "POLLHUP|"); in poll_eventstostr()
/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A Dstreamio.c62 if (fds.revents & (POLLHUP | POLLERR | POLLNVAL)) { in Putmsg()
H A Dmlisten.c437 if (fdp->revents & POLLHUP) /* disconnected */ in mlisten()
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmpeek.c91 if (fds[0].revents & POLLHUP) { in poll_data()
H A Dtmchild.c639 pfd[0].events = POLLHUP; in check_hup()
648 if (pfd[0].revents & POLLHUP) { in check_hup()
H A Dtmhandler.c234 } else if (fdp->revents & POLLHUP) { in do_poll()
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dmsgs.c89 if ((md->event & POLLHUP) && !(md->event & POLLIN) || in take_message()
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Deventlib.c873 return (POLLHUP); in __poll_event()
890 if ((ctx->pollfds[fd].events & ~POLLHUP) == 0) { in __fd_clr()
921 if ((ctx->pollfds[fd].events & ~POLLHUP) != 0) { in __fd_set()
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvldc.c299 pollevents = POLLHUP; in i_vldc_cb()
329 pollevents = POLLHUP; in i_vldc_cb()
727 pollwakeup(&vport->poll, POLLHUP); in i_vldc_remove_port()
1710 *reventsp |= POLLHUP; in vldc_chpoll()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_main.c839 if (p_ev.portev_events & (POLLHUP|POLLERR)) { in main_loop()
857 if (p_ev.portev_events & (POLLHUP|POLLERR)) { in main_loop()
/illumos-gate/usr/src/cmd/consadm/
H A Dconsadm.c794 if ((fds[index].revents & POLLHUP) == in fallbackdaemon()
795 POLLHUP) { in fallbackdaemon()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/
H A Dnetcat.c703 if (pfd[0].revents & (POLLIN|POLLHUP)) { in readwrite()
725 if (!dflag && (pfd[1].revents & (POLLIN|POLLHUP))) { in readwrite()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dwait.c337 if ((pfd->revents & (POLLHUP|POLLERR)) == 0) { in process_terminated_methods()
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dlibmilter.h192 (((rds).revents & (POLLERR | POLLHUP | POLLNVAL)) != 0)
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dclient.c280 if (pfd.revents & (POLLERR | POLLHUP | POLLNVAL)) { in get_encoded_response()
438 if (pfd.revents & (POLLERR | POLLHUP | POLLNVAL)) { in get_encoded_response()
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsocknotify.c153 pollev = (pollev | POLLHUP) & ~POLLOUT; in so_notify_disconnected()
/illumos-gate/usr/src/uts/common/fs/portfs/
H A Dport_fd.c388 revents = revents & (pdp->pd_events | POLLHUP | POLLERR); in port_associate_fd()
/illumos-gate/usr/src/uts/common/syscall/
H A Dpoll.c71 | POLLRDBAND | POLLWRBAND | POLLHUP | POLLERR | POLLNVAL)
790 (events & (POLLHUP | POLLERR))) { in pollwakeup()
807 (pdp->pd_events | POLLHUP | in pollwakeup()
2289 pollwakeup(pdp->pd_php, POLLHUP); in pcache_clean_entry()
/illumos-gate/usr/src/cmd/vscan/vscand/
H A Dvs_eng.c777 (POLLHUP | POLLERR | POLLNVAL)) || in nbio_connect()
/illumos-gate/usr/src/lib/lib9p/common/transport/
H A Dsocket.c283 POLLIN|POLLHUP, NULL) < 0) { in l9p_bind_addrs()

123