Searched refs:POLLIN (Results 76 - 100 of 175) sorted by relevance

1234567

/freebsd-12-stable/crypto/openssh/
H A Dssh-agent.c936 if ((pfd[i].revents & (POLLIN|POLLERR)) == 0)
947 if ((pfd[i].revents & (POLLIN|POLLERR)) != 0 &&
1004 pfd[j].events = POLLIN;
1011 pfd[j].events = POLLIN;
/freebsd-12-stable/sys/fs/cuse/
H A Dcuse.c1324 return (events & (POLLHUP | POLLPRI | POLLIN |
1553 temp = cuse_client_poll(dev, POLLIN | POLLOUT, NULL);
1555 if (temp & (POLLIN | POLLOUT)) {
1557 if (temp & POLLIN)
1766 if (events & (POLLPRI | POLLIN | POLLRDNORM))
1797 revents |= (events & (POLLPRI | POLLIN | POLLRDNORM));
1807 return (events & (POLLHUP | POLLPRI | POLLIN |
/freebsd-12-stable/lib/libusb/
H A Dlibusb10.c216 libusb10_add_pollfd(ctx, &ctx->ctx_poll, NULL, ctx->ctrl_pipe[0], POLLIN);
532 libusb10_add_pollfd(ctx, &dev->dev_poll, pdev, libusb20_dev_get_fd(pdev), POLLIN |
675 libusb10_add_pollfd(dev->ctx, &dev->dev_poll, pdev, libusb20_dev_get_fd(pdev), POLLIN |
767 POLLIN | POLLOUT | POLLRDNORM | POLLWRNORM);
838 POLLIN | POLLOUT | POLLRDNORM | POLLWRNORM);
/freebsd-12-stable/usr.sbin/rtadvd/
H A Drtadvd.c276 set[PFD_RAWSOCK].events = POLLIN;
280 set[PFD_RTSOCK].events = POLLIN;
284 set[PFD_CSOCK].events = POLLIN;
344 if (rtsock.si_fd != -1 && set[PFD_RTSOCK].revents & POLLIN)
347 if (set[PFD_RAWSOCK].revents & POLLIN)
350 if (set[PFD_CSOCK].revents & POLLIN) {
/freebsd-12-stable/contrib/xz/src/xz/
H A Dfile_io.c247 pfd[0].events = POLLIN;
254 pfd[1].events = POLLIN;
/freebsd-12-stable/contrib/ofed/librdmacm/examples/
H A Drstream.c187 fds.events = POLLIN;
380 fds.events = POLLIN;
/freebsd-12-stable/contrib/gdb/gdb/
H A Devent-loop.c66 int mask; /* Events we want to monitor: POLLIN, etc. */
451 fds.events = POLLIN;
462 create_file_handler (fd, POLLIN, proc, client_data);
476 POLLIN, POLLRDNORM, POLLRDBAND, POLLPRI, POLLOUT, POLLWRNORM,
/freebsd-12-stable/contrib/apr/poll/unix/
H A Dz_asio.c205 rv |= POLLIN;
227 if (event & POLLIN)
/freebsd-12-stable/sys/dev/adb/
H A Dadb_mouse.c472 if (events & (POLLIN | POLLRDNORM)) {
481 events &= (POLLIN | POLLRDNORM);
/freebsd-12-stable/sys/dev/drm2/
H A Ddrm_fops.c574 if ((events & (POLLIN | POLLRDNORM)) != 0) {
579 revents |= events & (POLLIN | POLLRDNORM);
/freebsd-12-stable/sys/dev/evdev/
H A Duinput.c395 if (events & (POLLIN | POLLRDNORM)) {
398 revents = events & (POLLIN | POLLRDNORM);
/freebsd-12-stable/sys/dev/xen/evtchn/
H A Devtchn_dev.c545 if (events & (POLLIN | POLLRDNORM)) {
547 mask |= events & (POLLIN | POLLRDNORM);
/freebsd-12-stable/sys/dev/xen/xenstore/
H A Dxenstore_dev.c409 if (events & (POLLIN | POLLRDNORM)) {
411 mask |= events & (POLLIN | POLLRDNORM);
/freebsd-12-stable/contrib/wpa/src/utils/
H A Deloop.c460 pollfds[nxt].events = POLLIN;
491 * handling. Set the POLLIN bit in this case.
504 pfd->events = POLLIN;
556 max_pollfd_map, POLLIN | POLLERR |
1315 pfd.events = POLLIN;
/freebsd-12-stable/sys/compat/linux/
H A Dlinux_event.c871 if ((events & (POLLIN|POLLRDNORM)) && efd->efd_count > 0)
872 revents |= events & (POLLIN|POLLRDNORM);
1116 if ((events & (POLLIN|POLLRDNORM)) && tfd->tfd_count > 0)
1117 revents |= events & (POLLIN|POLLRDNORM);
/freebsd-12-stable/lib/libnetgraph/
H A Dmsg.c239 rfds.events = POLLIN;
/freebsd-12-stable/contrib/tnftp/src/
H A Dutil.c1399 pfd[0].events = POLLIN|POLLOUT;
1437 } else if (pfd[0].revents & (POLLIN|POLLOUT)) {
1486 const int rsetflags = POLLIN | POLLRDNORM;
H A Dftp.c526 pfd[nfd++].events = POLLIN;
531 pfd[nfd++].events = POLLIN;
540 nr |= (pfd[nfd++].revents & POLLIN) ? 1 : 0;
542 nr |= (pfd[nfd++].revents & POLLIN) ? 2 : 0;
1672 pfd[0].events = POLLIN;
/freebsd-12-stable/sys/dev/ipmi/
H A Dipmi.c169 if (poll_events & (POLLIN | POLLRDNORM)) {
171 revents |= poll_events & (POLLIN | POLLRDNORM);
177 if (poll_events & (POLLIN | POLLRDNORM))
/freebsd-12-stable/contrib/bmake/
H A Djob.c2867 fds[nfds].events = POLLIN;
2874 fds[nfds].events = fds[nfds].fd == -1 ? 0 : POLLIN;
2923 return (job->inPollfd->revents & POLLIN) != 0;
3137 if (fd[i].events & POLLIN)
3169 fd[i].revents |= POLLIN;
/freebsd-12-stable/contrib/ofed/librdmacm/
H A Drsocket.c2956 if ((events & POLLIN) && rs_conn_have_rdata(rs))
2957 revents |= POLLIN;
2972 if ((events & POLLIN) && rs_have_rdata(rs))
2973 revents |= POLLIN;
3001 if (events & POLLIN)
3002 revents |= POLLIN;
3048 rfds[i].events = POLLIN;
3143 fds[i].events = POLLIN;
3169 if (readfds && (fds[i].revents & (POLLIN | POLLHUP))) {
3179 if (exceptfds && (fds[i].revents & ~(POLLIN | POLLOU
[all...]
H A Dpreload.c919 events = (readfds && FD_ISSET(fd, readfds)) ? POLLIN : 0;
942 if (readfds && (fds[i].revents & POLLIN)) {
952 if (exceptfds && (fds[i].revents & ~(POLLIN | POLLOUT))) {
/freebsd-12-stable/sys/dev/sound/midi/
H A Dmidi.c910 if (events & (POLLIN | POLLRDNORM))
912 events |= events & (POLLIN | POLLRDNORM);
919 if (events & (POLLIN | POLLRDNORM))
/freebsd-12-stable/contrib/ofed/opensm/opensm/
H A Dosm_console.c1842 pollfd[0].events = POLLIN;
1846 pollfd[1].events = POLLIN;
1866 if (pollfd[0].revents & POLLIN) {
1905 if (pollfd[1].revents & POLLIN) {
/freebsd-12-stable/sys/contrib/libsodium/src/libsodium/randombytes/salsa20/
H A Drandombytes_salsa20_random.c193 pfd.events = POLLIN;

Completed in 369 milliseconds

1234567