/illumos-gate/usr/src/test/os-tests/tests/regression/ |
H A D | illumos-15031.c | 56 res = port_associate(pfd, PORT_SOURCE_FD, (uintptr_t)pipes[1], POLLIN, in main()
|
H A D | illumos-15036.c | 105 (uintptr_t)poll_fds[j], POLLIN, NULL); in main()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | srn.c | 263 if ((events & (POLLIN | POLLRDNORM)) && srn_poll_cnt[clone]) { in srn_chpoll() 264 *reventsp |= (POLLIN | POLLRDNORM); in srn_chpoll() 559 pollwakeup(&srn_pollhead[clone], (POLLRDNORM | POLLIN)); in srn_notify()
|
H A D | eventfd.c | 204 pollwakeup(&state->efd_pollhd, POLLRDNORM | POLLIN); in eventfd_write() 222 revents |= POLLRDNORM | POLLIN; in eventfd_poll()
|
H A D | timerfd.c | 102 pollwakeup(&state->tfd_pollhd, POLLRDNORM | POLLIN); in timerfd_fire() 193 revents |= POLLRDNORM | POLLIN; in timerfd_poll()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | poll_solaris.c | 198 if (strstr(str, "POLLIN")) events |= POLLIN; in poll_strtoevents() 220 if (events & POLLIN) s=mystpcpy(s, "POLLIN|"); in poll_eventstostr()
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | rpc_mt.h | 57 #define MASKVAL (POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND)
|
H A D | rtime_tli.c | 116 pfd.events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND; in rtime_tli()
|
/illumos-gate/usr/src/test/os-tests/tests/uccid/ |
H A D | txn-pollerr.c | 66 if (port_associate(port, PORT_SOURCE_FD, fd, POLLIN, NULL) != 0) { in main()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/ |
H A D | netcat.c | 701 pfd[0].events = POLLIN; in readwrite() 705 pfd[1].events = POLLIN; in readwrite() 719 if (pfd[0].revents & (POLLIN|POLLHUP)) { in readwrite() 741 if (!dflag && (pfd[1].revents & (POLLIN|POLLHUP))) { in readwrite()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfpoll.c | 134 fds[m].events |= POLLIN; 157 if(fds[m].revents&POLLIN)
|
/illumos-gate/usr/src/test/os-tests/tests/file-locking/ |
H A D | util.c | 51 struct pollfd pfd = { fd, POLLIN, 0 }; in flock_nodata()
|
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | evtchn_dev.c | 146 POLLIN | POLLRDNORM); in evtchn_device_upcall() 460 if (ev & (POLLIN | POLLRDNORM)) { in evtchndrv_poll() 463 mask |= (POLLIN | POLLRDNORM) & ev; in evtchndrv_poll()
|
/illumos-gate/usr/src/cmd/zlogin/ |
H A D | zlogin.c | 822 pollfds[0].events = POLLIN | POLLRDNORM | POLLRDBAND | POLLPRI; in doio() 869 (POLLIN | POLLRDNORM | POLLRDBAND | POLLPRI)) { in doio() 882 (POLLIN | POLLRDNORM | POLLRDBAND | POLLPRI)) { in doio() 895 (POLLIN | POLLRDNORM | POLLRDBAND | POLLPRI)) { in doio() 959 (POLLIN | POLLRDNORM | POLLRDBAND | POLLPRI)) { in doio() 966 (POLLIN | POLLRDNORM | POLLRDBAND | POLLPRI)) { in doio()
|
/illumos-gate/usr/src/lib/auditd_plugins/remote/ |
H A D | transport.c | 611 fds.events = POLLIN; in recv_timeout() 976 pipe_fd->events = POLLIN; in recv_record() 978 recv_fd->events = POLLIN; in recv_record() 1018 if (pipe_fd->revents & POLLIN) { in recv_record() 1045 if (recv_fd->revents & POLLIN) { in recv_record()
|
/illumos-gate/usr/src/uts/common/fs/ctfs/ |
H A D | ctfs_event.c | 150 if ((events & POLLIN) && endpt->ctfs_endpt_listener.ctl_position) { in ctfs_endpoint_poll() 151 *reventsp = POLLIN; in ctfs_endpoint_poll()
|
/illumos-gate/usr/src/uts/common/fs/portfs/ |
H A D | port_vnops.c | 296 levents = POLLIN; in port_poll() 303 portq->portq_flags |= events & POLLIN ? PORTQ_POLLIN : 0; in port_poll()
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | msgs.c | 89 if ((md->event & POLLHUP) && !(md->event & POLLIN) || in take_message()
|
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_uverbs/ |
H A D | sol_uverbs_event.c | 274 if ((events & (POLLIN | POLLRDNORM)) && in sol_uverbs_event_file_poll() 280 revent |= POLLIN | POLLRDNORM; in sol_uverbs_event_file_poll() 868 pollwakeup(&ufile->poll_head, POLLIN | POLLRDNORM); in uverbs_async_event_common()
|
/illumos-gate/usr/src/cmd/rpcsvc/ |
H A D | spray.c | 169 0, POLLIN, 0 in slp()
|
/illumos-gate/usr/src/lib/libfsmgt/common/ |
H A D | cmd.c | 38 #define MASKVAL (POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND)
|
/illumos-gate/usr/src/uts/common/crypto/api/ |
H A D | kcf_random.c | 916 if (events & (POLLIN | POLLRDNORM)) { in kcf_rnd_chpoll() 922 *reventsp |= (events & (POLLIN | POLLRDNORM)); in kcf_rnd_chpoll() 988 pollwakeup(&rnd_pollhead, POLLIN | POLLRDNORM); in rnd_handler()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | streamio.c | 1574 *pollwakeups = POLLIN | POLLRDNORM; in strrput_proto() 1577 *pollwakeups = POLLIN | POLLRDBAND; in strrput_proto() 1703 pollwakeups = POLLIN | POLLRDNORM; in strrput() 1706 pollwakeups = POLLIN | POLLRDBAND; in strrput() 1779 pollwakeups = POLLIN | POLLRDNORM; in strrput() 1782 pollwakeups = POLLIN | POLLRDBAND; in strrput() 1794 #define ALLPOLL (POLLIN|POLLPRI|POLLOUT|POLLRDNORM|POLLWRNORM|POLLRDBAND|\ in strrput() 1908 if (pollwakeups == (POLLIN | POLLRDNORM)) { in strrput() 7129 pollwakeups = POLLIN | POLLRDNORM; in strgetmsg() 7132 pollwakeups = POLLIN | POLLRDBAND; in strgetmsg() [all …]
|
/illumos-gate/usr/src/uts/common/inet/sockmods/ |
H A D | socksdp.c | 1096 ((POLLIN|POLLRDNORM|POLLOUT) & origevents) != 0) { in sosdp_poll() 1097 *reventsp = (POLLIN|POLLRDNORM|POLLOUT) & origevents; in sosdp_poll() 1116 *reventsp |= (POLLIN|POLLRDNORM) & events; in sosdp_poll() 1120 *reventsp |= (POLLIN|POLLRDNORM) & events; in sosdp_poll()
|
/illumos-gate/usr/src/cmd/saf/ |
H A D | misc.c | 94 fds.events = POLLIN; in sigpoll() 99 case POLLIN: in sigpoll()
|