Home
last modified time | relevance | path

Searched refs:POLLIN (Results 26 – 50 of 155) sorted by relevance

1234567

/illumos-gate/usr/src/test/os-tests/tests/regression/
H A Dillumos-15031.c56 res = port_associate(pfd, PORT_SOURCE_FD, (uintptr_t)pipes[1], POLLIN, in main()
H A Dillumos-15036.c105 (uintptr_t)poll_fds[j], POLLIN, NULL); in main()
/illumos-gate/usr/src/uts/common/io/
H A Dsrn.c263 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 Deventfd.c204 pollwakeup(&state->efd_pollhd, POLLRDNORM | POLLIN); in eventfd_write()
222 revents |= POLLRDNORM | POLLIN; in eventfd_poll()
H A Dtimerfd.c102 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 Dpoll_solaris.c198 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 Drpc_mt.h57 #define MASKVAL (POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND)
H A Drtime_tli.c116 pfd.events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND; in rtime_tli()
/illumos-gate/usr/src/test/os-tests/tests/uccid/
H A Dtxn-pollerr.c66 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 Dnetcat.c701 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 Dsfpoll.c134 fds[m].events |= POLLIN;
157 if(fds[m].revents&POLLIN)
/illumos-gate/usr/src/test/os-tests/tests/file-locking/
H A Dutil.c51 struct pollfd pfd = { fd, POLLIN, 0 }; in flock_nodata()
/illumos-gate/usr/src/uts/common/xen/io/
H A Devtchn_dev.c146 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 Dzlogin.c822 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 Dtransport.c611 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 Dctfs_event.c150 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 Dport_vnops.c296 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 Dmsgs.c89 if ((md->event & POLLHUP) && !(md->event & POLLIN) || in take_message()
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_uverbs/
H A Dsol_uverbs_event.c274 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 Dspray.c169 0, POLLIN, 0 in slp()
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dcmd.c38 #define MASKVAL (POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND)
/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_random.c916 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 Dstreamio.c1574 *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 Dsocksdp.c1096 ((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 Dmisc.c94 fds.events = POLLIN; in sigpoll()
99 case POLLIN: in sigpoll()

1234567