/titanic_50/usr/src/cmd/lp/lib/msgs/ |
H A D | mlisten.c | 81 PollFdList[0].revents = 0; in mlisteninit() 127 fdp->revents = 0; in mlistenadd() 278 if (fdp->revents == 0) in mlisten() 286 if (fdp->revents != POLLIN) in mlisten() 304 fdp->revents = 0; in mlisten() 365 fdp->revents = 0; in mlisten() 375 if (fdp->revents & POLLOUT) { in mlisten() 384 if (fdp->revents & POLLIN) { in mlisten() 385 mdp->event = fdp->revents; in mlisten() 387 fdp->revents = 0; in mlisten() [all …]
|
H A D | streamio.c | 63 fds.revents = 0; in Putmsg() 66 if (fds.revents & (POLLHUP | POLLERR | POLLNVAL)) { in Putmsg() 71 if (!(fds.revents & POLLOUT)) { in Putmsg()
|
/titanic_50/usr/src/lib/libc/port/gen/ |
H A D | select.c | 182 if (p->revents & POLLNVAL) { in pselect() 235 if (p->revents) { in pselect() 237 if (p->revents & POLLRDNORM) { in pselect() 241 if (p->revents & POLLWRNORM) { in pselect() 245 if (p->revents & POLLRDBAND) { in pselect() 253 if ((p->revents & (POLLHUP|POLLERR)) && in pselect() 263 if ((p->revents & (POLLHUP|POLLERR)) && in pselect() 273 if ((p->revents & (POLLHUP|POLLERR)) && in pselect()
|
H A D | select_large_fdset.c | 229 if (p->revents & POLLNVAL) { in pselect_large_fdset() 284 if (p->revents) { in pselect_large_fdset() 286 if (p->revents & POLLRDNORM) { in pselect_large_fdset() 290 if (p->revents & POLLWRNORM) { in pselect_large_fdset() 294 if (p->revents & POLLRDBAND) { in pselect_large_fdset() 302 if ((p->revents & (POLLHUP|POLLERR)) && in pselect_large_fdset() 312 if ((p->revents & (POLLHUP|POLLERR)) && in pselect_large_fdset() 322 if ((p->revents & (POLLHUP|POLLERR)) && in pselect_large_fdset()
|
/titanic_50/usr/src/cmd/ptools/pwait/ |
H A D | pwait.c | 126 pfd->revents = 0; in main() 145 if (pfd->fd < 0 || (pfd->revents & ~POLLPRI) == 0) { in main() 151 pfd->revents = 0; in main() 157 if (pfd->revents & POLLHUP) { in main() 171 if (pfd->revents & POLLNVAL) in main() 174 if (pfd->revents & ~(POLLPRI|POLLHUP|POLLNVAL)) in main()
|
/titanic_50/usr/src/cmd/zoneadmd/ |
H A D | zcons.c | 745 pollfds[0].revents = pollfds[1].revents = 0; in do_console_io() 746 pollfds[2].revents = pollfds[3].revents = 0; in do_console_io() 757 if (pollfds[0].revents) { in do_console_io() 758 if (pollfds[0].revents & in do_console_io() 771 pollerr = pollfds[0].revents; in do_console_io() 780 if (pollfds[1].revents) { in do_console_io() 781 if (pollfds[1].revents & in do_console_io() 790 pollerr = pollfds[1].revents; in do_console_io() 799 if (pollfds[2].revents && in do_console_io() 800 (pollfds[2].revents & (POLLIN | POLLRDNORM))) { in do_console_io() [all …]
|
/titanic_50/usr/src/lib/libshell/common/tests/ |
H A D | sun_solaris_builtin_poll.sh | 49 [y]=( fd=5 events="POLLIN" revents="" ) 50 [x]=( fd=5 events="POLLIN" revents="" ) 63 d1.u[z]=( fd=5 events="POLLOUT" revents="" )
|
/titanic_50/usr/src/cmd/cvcd/sparc/sun4u/starcat/ |
H A D | cvcd.c | 325 (pfds[LISTEN_PFD].revents & POLLIN)) { 595 short revents; local 631 revents = pfds[i].revents; 632 if (revents & (POLLERR | POLLHUP | POLLNVAL)) { 637 (revents & POLLERR) ? " error" : "", 638 (revents & POLLHUP) ? " hangup" : "", 639 (revents & POLLNVAL) ? " bad fd" : ""); 648 if (pfds[LISTEN_PFD].revents & POLLIN) { 717 if ((output_len == 0) && (pfds[REDIR_PFD].revents & POLLIN)) { 735 if ((input_len == 0) && (pfds[NETWORK_PFD].revents & POLLIN)) {
|
/titanic_50/usr/src/uts/common/fs/portfs/ |
H A D | port_fd.c | 187 short revents; in port_associate_fd() local 318 error = VOP_POLL(fp->f_vnode, events, 0, &revents, &php, NULL); in port_associate_fd() 356 error = port_bind_pollhead(&php, pdp, &revents); in port_associate_fd() 387 if (revents && (pkevp->portkev_flags & PORT_KEV_VALID)) { in port_associate_fd() 390 revents = revents & (pdp->pd_events | POLLHUP | POLLERR); in port_associate_fd() 392 pkevp->portkev_events = revents; in port_associate_fd() 523 port_bind_pollhead(pollhead_t **php, polldat_t *pdp, short *revents) in port_bind_pollhead() argument 547 error = VOP_POLL(fp->f_vnode, pdp->pd_events, 0, revents, php, NULL); in port_bind_pollhead()
|
/titanic_50/usr/src/cmd/utmpd/ |
H A D | utmpd.c | 433 if (fdtable[0].revents & POLLRDNORM) { in wait_for_pids() 435 fdtable[0].revents = 0; in wait_for_pids() 465 if (pfd->revents & POLLHUP) { in wait_for_pids() 491 if (pfd->revents & (POLLNVAL|POLLERR)) { in wait_for_pids() 493 pfd->revents, (int)pidtable[i].pl_pid, i)); in wait_for_pids() 501 if (pfd->revents & POLLNVAL) { in wait_for_pids() 519 if (pfd->revents != 0) { in wait_for_pids() 521 (int)pidtable[i].pl_pid, pfd->revents)); in wait_for_pids() 770 fdtable[i].revents = 0; in add_pid()
|
/titanic_50/usr/src/cmd/ssh/ssh-http-proxy-connect/ |
H A D | ssh-http-proxy-connect.c | 260 if (fds[0].revents & POLLIN) { in main() 265 } else if (fds[0].revents & (POLLERR | POLLHUP | POLLNVAL)) { in main() 271 if (fds[1].revents & POLLIN) { in main() 276 } else if (fds[1].revents & (POLLERR | POLLHUP | POLLNVAL)) { in main()
|
/titanic_50/usr/src/cmd/zlogin/ |
H A D | zlogin.c | 836 pollfds[0].revents = pollfds[1].revents = in doio() 837 pollfds[2].revents = pollfds[3].revents = 0; in doio() 866 if (pollfds[0].revents) { in doio() 867 if (pollfds[0].revents & in doio() 873 pollerr = pollfds[0].revents; in doio() 879 if (pollfds[1].revents) { in doio() 880 if (pollfds[1].revents & in doio() 886 pollerr = pollfds[1].revents; in doio() 892 if (pollfds[2].revents) { in doio() 893 if (pollfds[2].revents & in doio() [all …]
|
/titanic_50/usr/src/uts/common/syscall/ |
H A D | poll.c | 636 ASSERT(pollfdp[i].revents == 0); in poll_common() 639 if (pollfdp[i].revents) { in poll_common() 646 ASSERT(pollfdp[i].revents == 0); in poll_common() 1058 current[ix].revents = 0; in pcacheset_cmp() 1063 current[ix].revents = 0; in pcacheset_cmp() 1314 error = VOP_POLL(fp->f_vnode, pollfdp->events, 0, &pollfdp->revents, in pcache_insert() 1319 if (pollfdp->revents) { in pcache_insert() 1554 ASSERT(pollfdp[i].revents == 0); in pollchecksanity() 1557 if (pollfdp[i].revents == POLLNVAL) in pollchecksanity() 1703 current[count].revents = POLLNVAL; in pcacheset_resolve() [all …]
|
/titanic_50/usr/src/cmd/sendmail/libmilter/ |
H A D | libmilter.h | 184 (rds).revents = 0 189 (wrs).revents = 0 192 (((rds).revents & (POLLERR | POLLHUP | POLLNVAL)) != 0) 195 (((wrs).revents & MI_POLL_WR_FLAGS) != 0) 198 (((rds).revents & MI_POLL_RD_FLAGS) != 0)
|
H A D | worker.c | 397 pfd[nfd].revents = 0; 447 pfd[nfd].revents = 0; 488 if (pfd[i].revents == 0) 503 pfd[i].events, pfd[i].revents)); 505 if ((pfd[i].revents & MI_POLL_RD_FLAGS) != 0) 518 if ((pfd[i].revents & ~MI_POLL_RD_FLAGS) != 0)
|
/titanic_50/usr/src/cmd/rexd/ |
H A D | unix_login.c | 587 if (fdp[i].fd == Master && fdp[i].revents != 0) in HelperRead() 589 if (fdp[i].fd == InputSocket && fdp[i].revents != 0) in HelperRead() 597 if (!(fdp[master].revents & (POLLERR | POLLHUP | POLLNVAL))) { in HelperRead() 612 fdp[master].revents = 0; in HelperRead() 619 fdp[inputsocket].revents = 0; in HelperRead() 627 if (!(fdp[inputsocket].revents & (POLLERR | POLLHUP | in HelperRead() 640 fdp[inputsocket].revents = 0; in HelperRead()
|
/titanic_50/usr/src/cmd/ssh/ssh-socks5-proxy-connect/ |
H A D | ssh-socks5-proxy-connect.c | 358 if (fds[0].revents & POLLIN) { in main() 363 } else if (fds[0].revents & (POLLERR | POLLHUP | POLLNVAL)) { in main() 369 if (fds[1].revents & POLLIN) { in main() 374 } else if (fds[1].revents & (POLLERR | POLLHUP | POLLNVAL)) { in main()
|
/titanic_50/usr/src/lib/libnsl/rpc/ |
H A D | rpc_sel2poll.c | 66 p->revents = 0; in __rpc_select_to_poll() 94 p->revents = 0; in __rpc_compress_pollfd()
|
/titanic_50/usr/src/lib/libshell/common/scripts/ |
H A D | multifollow.sh | 107 typeset revents="" 127 files[i].revents=""
|
/titanic_50/usr/src/cmd/ttymon/ |
H A D | tmhandler.c | 243 if (fdp->revents != 0) { 250 else if (fdp->revents & POLLHUP) { 253 else if (fdp->revents & POLLIN) { 258 } else if (fdp->revents & POLLERR) { 541 if (pfd[0].revents & POLLIN) in sigpoll_catch() 543 if (pfd[1].revents & POLLIN) in sigpoll_catch()
|
/titanic_50/usr/src/lib/libast/common/sfio/ |
H A D | sfpoll.c | 116 fds[m].events = fds[m].revents = 0; 126 fds[m].revents = 0; 145 { if(fds[m].revents&POLLOUT) 152 if(fds[m].revents&POLLIN)
|
/titanic_50/usr/src/lib/libinetutil/common/ |
H A D | eh.c | 254 eh->iueh_pollfds[event_id].revents = 0; in iu_unregister_event() 331 if (eh->iueh_pollfds[i].revents == 0) in iu_handle_events() 341 if (eh->iueh_pollfds[i].revents & (POLLNVAL|POLLERR)) { in iu_handle_events() 348 eh->iueh_pollfds[i].revents, i, in iu_handle_events()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | util.c | 208 p->revents = 0; in set_pollfd() 221 p->revents = 0; in clear_pollfd() 230 return ((p != NULL) && (p->revents & POLLIN)); in isset_pollfd()
|
/titanic_50/usr/src/uts/common/io/ |
H A D | eventfd.c | 195 short revents = 0; in eventfd_poll() local 202 revents |= POLLRDNORM | POLLIN; in eventfd_poll() 205 revents |= POLLWRNORM | POLLOUT; in eventfd_poll() 207 if (!(*reventsp = revents & events) && !anyyet) in eventfd_poll()
|
/titanic_50/usr/src/cmd/cvcd/sparc/sun4u/starfire/ |
H A D | cvcd.c | 491 if (cvcd_pfd[j].revents & (POLLERR|POLLHUP|POLLNVAL)) { 496 (cvcd_pfd[j].revents & POLLERR) ? 498 (cvcd_pfd[j].revents & POLLHUP) ? 500 (cvcd_pfd[j].revents & POLLNVAL) ? 522 if (cvcd_pfd[0].revents == POLLIN) { 528 if (cvcd_pfd[1].revents == POLLIN) { 699 if (pd[0].revents & POLLIN) {
|