/dragonfly/crypto/openssh/ |
H A D | atomicio.c | 61 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 D | ssh-pkcs11-helper.c | 374 pfd[0].events = POLLIN; in main() 388 if ((pfd[0].revents & (POLLIN|POLLHUP|POLLERR)) != 0) { in main()
|
H A D | monitor_fdpass.c | 144 pfd.events = POLLIN; in mm_receive_fd()
|
/dragonfly/contrib/less/ |
H A D | os.c | 115 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 D | wwiomux.c | 109 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 D | link_mon.c | 69 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 D | poll.h | 59 #define POLLIN 0x0001 /* any readable data available */ macro 76 #define POLLSTANDARD (POLLIN|POLLPRI|POLLOUT|POLLRDNORM|POLLRDBAND|\
|
/dragonfly/contrib/ncurses/ncurses/tty/ |
H A D | lib_twait.c | 247 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 D | netcat.c | 816 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 D | atomicio.c | 47 pfd.events = f == read ? POLLIN : POLLOUT; in atomicio()
|
/dragonfly/usr.sbin/sysvipcd/ |
H A D | sysvipcd.c | 115 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 D | utilsd.h | 33 #define POLLPIPE (POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND)
|
/dragonfly/sbin/dhclient/ |
H A D | dispatch.c | 153 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 D | poll_1.c | 19 fds[0].events = POLLIN|POLLPRI; in main()
|
/dragonfly/usr.sbin/rtadvd/ |
H A D | control.c | 75 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 D | rtadvd.c | 278 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 D | tnftp.h | 132 #if !defined(POLLIN) 133 # define POLLIN 0x0001 macro
|
/dragonfly/contrib/openpam/lib/libpam/ |
H A D | openpam_ttyconv.c | 146 pfd.events = POLLIN; in prompt_tty() 244 pfd.events = POLLIN; in prompt_notty()
|
/dragonfly/games/tetris/ |
H A D | input.c | 73 pfd[0].events = POLLIN; in rwait()
|
/dragonfly/contrib/bmake/ |
H A D | job.h | 100 #define POLLIN 0x0001 macro
|
/dragonfly/sbin/udevd/ |
H A D | udevd.c | 431 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 D | ng_device.c | 484 if (events & (POLLIN | POLLRDNORM) && in ngdpoll() 486 revents |= events & (POLLIN | POLLRDNORM); in ngdpoll()
|
/dragonfly/lib/libusb/ |
H A D | libusb10.c | 168 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 D | sys_generic.c | 1340 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 D | ng_device.c | 615 if (events & (POLLIN | POLLRDNORM)) { in ngdpoll() 629 revents |= events & (POLLIN | POLLRDNORM); in ngdpoll()
|