Home
last modified time | relevance | path

Searched refs:POLLIN (Results 1 – 25 of 74) sorted by relevance

123

/dragonfly/crypto/openssh/
H A Datomicio.c61 pfd.events = f == read ? POLLIN : POLLOUT; in atomicio6()
63 pfd.events = POLLIN|POLLOUT; in atomicio6()
123 pfd.events = f == readv ? POLLIN : POLLOUT; in atomiciov6()
125 pfd.events = POLLIN|POLLOUT; in atomiciov6()
H A Dssh-pkcs11-helper.c374 pfd[0].events = POLLIN; in main()
388 if ((pfd[0].revents & (POLLIN|POLLHUP|POLLERR)) != 0) { in main()
H A Dmonitor_fdpass.c144 pfd.events = POLLIN; in mm_receive_fd()
/dragonfly/contrib/less/
H A Dos.c115 struct pollfd poller[2] = { { fd, POLLIN, 0 }, { tty, POLLIN, 0 } }; in check_poll()
131 if (poller[1].revents & POLLIN) in check_poll()
140 if (ignore_eoi && exit_F_on_close && (poller[0].revents & (POLLHUP|POLLIN)) == POLLHUP) in check_poll()
143 if ((poller[0].revents & (POLLIN|POLLHUP|POLLERR)) == 0) in check_poll()
/dragonfly/usr.bin/window/
H A Dwwiomux.c109 pfd[nfd++].events = POLLIN; in wwiomux()
118 pfd[nfd++].events = POLLIN; in wwiomux()
150 if (dostdin != -1 && (pfd[dostdin].revents & POLLIN) != 0) in wwiomux()
161 if ((pfd[nfd++].revents & POLLIN) == 0) in wwiomux()
/dragonfly/contrib/lvm2/dist/daemons/cmirrord/
H A Dlink_mon.c69 pfds[used_pfds].events = POLLIN; in links_register()
126 if (pfds[i].revents & POLLIN) { in links_monitor()
142 if (pfds[i].revents & POLLIN) in links_issue_callbacks()
/dragonfly/sys/sys/
H A Dpoll.h59 #define POLLIN 0x0001 /* any readable data available */ macro
76 #define POLLSTANDARD (POLLIN|POLLPRI|POLLOUT|POLLRDNORM|POLLRDBAND|\
/dragonfly/contrib/ncurses/ncurses/tty/
H A Dlib_twait.c247 fds[count].events = POLLIN; in _nc_timed_wait()
253 fds[count].events = POLLIN; in _nc_timed_wait()
264 fds[count].events = POLLIN; in _nc_timed_wait()
288 && fds[c].revents & POLLIN) { in _nc_timed_wait()
487 && (fds[count].revents & POLLIN)) { in _nc_timed_wait()
/dragonfly/crypto/libressl/apps/nc/
H A Dnetcat.c816 pfd.events = POLLIN; in timeout_tls()
1161 pfd[POLL_STDIN].events = POLLIN; in readwrite()
1169 pfd[POLL_NETIN].events = POLLIN; in readwrite()
1212 if (pfd[POLL_STDIN].events & POLLIN && in readwrite()
1217 if (pfd[POLL_NETIN].events & POLLIN && in readwrite()
1245 pfd[POLL_STDIN].events = POLLIN; in readwrite()
1262 pfd[POLL_NETOUT].events = POLLIN; in readwrite()
1272 pfd[POLL_STDIN].events = POLLIN; in readwrite()
1279 pfd[POLL_NETIN].events = POLLIN; in readwrite()
1311 pfd[POLL_STDOUT].events = POLLIN; in readwrite()
[all …]
H A Datomicio.c47 pfd.events = f == read ? POLLIN : POLLOUT; in atomicio()
/dragonfly/usr.sbin/sysvipcd/
H A Dsysvipcd.c115 poll_fds[SOCKET_FD_IDX].events = POLLIN | POLLPRI; in daemon_init()
152 poll_fds[nr_poll_fds].events = POLLIN; in daemon_add_client()
211 poll_fds[SOCKET_FD_IDX].events = POLLIN | POLLPRI; in daemon_remove_client()
H A Dutilsd.h33 #define POLLPIPE (POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND)
/dragonfly/sbin/dhclient/
H A Ddispatch.c153 fds[0].events = fds[1].events = POLLIN; in dispatch()
166 if ((fds[0].revents & (POLLIN | POLLHUP))) { in dispatch()
178 if ((fds[1].revents & (POLLIN | POLLHUP))) { in dispatch()
/dragonfly/test/testcases/io/poll_1/
H A Dpoll_1.c19 fds[0].events = POLLIN|POLLPRI; in main()
/dragonfly/usr.sbin/rtadvd/
H A Dcontrol.c75 pfds[0].events = POLLIN; in cm_recv()
90 if (pfds[0].revents & POLLIN) { in cm_recv()
146 if (pfds[0].revents & POLLIN) { in cm_recv()
H A Drtadvd.c278 set[PFD_RAWSOCK].events = POLLIN; in main()
282 set[PFD_RTSOCK].events = POLLIN; in main()
286 set[PFD_CSOCK].events = POLLIN; in main()
346 if (rtsock.si_fd != -1 && set[PFD_RTSOCK].revents & POLLIN) in main()
349 if (set[PFD_RAWSOCK].revents & POLLIN) in main()
352 if (set[PFD_CSOCK].revents & POLLIN) { in main()
/dragonfly/contrib/tnftp/
H A Dtnftp.h132 #if !defined(POLLIN)
133 # define POLLIN 0x0001 macro
/dragonfly/contrib/openpam/lib/libpam/
H A Dopenpam_ttyconv.c146 pfd.events = POLLIN; in prompt_tty()
244 pfd.events = POLLIN; in prompt_notty()
/dragonfly/games/tetris/
H A Dinput.c73 pfd[0].events = POLLIN; in rwait()
/dragonfly/contrib/bmake/
H A Djob.h100 #define POLLIN 0x0001 macro
/dragonfly/sbin/udevd/
H A Dudevd.c431 fds[UDEV_DEVICE_FD_IDX].events = POLLIN; in main()
433 fds[UDEV_SOCKET_FD_IDX].events = POLLIN | POLLPRI; in main()
/dragonfly/sys/netgraph7/
H A Dng_device.c484 if (events & (POLLIN | POLLRDNORM) && in ngdpoll()
486 revents |= events & (POLLIN | POLLRDNORM); in ngdpoll()
/dragonfly/lib/libusb/
H A Dlibusb10.c168 libusb10_add_pollfd(ctx, &ctx->ctx_poll, NULL, ctx->ctrl_pipe[0], POLLIN); in libusb_init()
477 libusb10_add_pollfd(ctx, &dev->dev_poll, pdev, libusb20_dev_get_fd(pdev), POLLIN | in libusb_open()
631 libusb10_add_pollfd(dev->ctx, &dev->dev_poll, pdev, libusb20_dev_get_fd(pdev), POLLIN | in libusb_set_configuration()
710 POLLIN | POLLOUT | POLLRDNORM | POLLWRNORM); in libusb_set_interface_alt_setting()
781 POLLIN | POLLOUT | POLLRDNORM | POLLWRNORM); in libusb_reset_device()
/dragonfly/sys/kern/
H A Dsys_generic.c1340 if (pfd->events & (POLLIN | POLLHUP | POLLRDNORM)) in poll_copyin()
1374 if (pfd->events & (POLLIN | POLLHUP | POLLRDNORM)) { in poll_copyin()
1376 if ((pfd->events & (POLLIN | POLLRDNORM)) == 0) in poll_copyin()
1542 if (pfd->events & POLLIN) in poll_copyout()
1543 pfd->revents |= POLLIN; in poll_copyout()
1733 return (events & (POLLIN | POLLOUT | POLLRDNORM | POLLWRNORM)); in seltrue()
/dragonfly/sys/netgraph/
H A Dng_device.c615 if (events & (POLLIN | POLLRDNORM)) { in ngdpoll()
629 revents |= events & (POLLIN | POLLRDNORM); in ngdpoll()

123