Home
last modified time | relevance | path

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

12345

/openbmc/qemu/util/
H A Duserfaultfd.c370 struct pollfd poll_fd = { .fd = uffd_fd, .events = POLLIN, .revents = 0 }; in uffd_poll_events()
384 return (poll_fd.revents & POLLIN) != 0; in uffd_poll_events()
H A Dfdmon-io_uring.c62 return (pfd_events & G_IO_IN ? POLLIN : 0) | in poll_events_from_pfd()
70 return (poll_events & POLLIN ? G_IO_IN : 0) | in pfd_events_from_poll()
/openbmc/linux/tools/virtio/virtio-trace/
H A Dtrace-agent-ctl.c55 poll_fd.events = POLLIN; in wait_order()
/openbmc/linux/tools/testing/selftests/mm/
H A Duffd-common.c507 pollfd[0].events = POLLIN; in uffd_poll_thread()
509 pollfd[1].events = POLLIN; in uffd_poll_thread()
521 if (!(pollfd[1].revents & POLLIN)) in uffd_poll_thread()
527 if (!(pollfd[0].revents & POLLIN)) in uffd_poll_thread()
/openbmc/linux/tools/gpio/
H A Dgpio-watch.c56 pfd.events = POLLIN | POLLPRI; in main()
/openbmc/linux/tools/testing/vsock/
H A Dvsock_perf.c203 fds.events = POLLIN | POLLERR | in run_receiver()
214 if (fds.revents & POLLIN) { in run_receiver()
/openbmc/linux/drivers/staging/fieldbus/Documentation/ABI/
H A Dfieldbus-dev-cdev24 Note that POLLIN | POLLOUT events are always set, because the
/openbmc/linux/tools/usb/ffs-aio-example/simple/device_app/
H A Daio_simple.c189 pfds[0].events = POLLIN; in handle_ep0()
193 if (ret && (pfds[0].revents & POLLIN)) { in handle_ep0()
/openbmc/obmc-console/
H A Dconsole-client.c353 pollfds[0].events = POLLIN; in main()
355 pollfds[1].events = POLLIN; in main()
/openbmc/linux/tools/testing/selftests/net/
H A Dtls.c1192 fd.events = POLLIN; in TEST_F()
1195 EXPECT_EQ(fd.revents & POLLIN, 1); in TEST_F()
1209 fd.events = POLLIN; in TEST_F()
1213 EXPECT_EQ(fd.revents & POLLIN, 1); in TEST_F()
1224 fd.events = POLLIN; in TEST_F()
1236 fd.events = POLLIN; in TEST_F()
1770 pfd.events = POLLIN; in TEST_F()
1782 pfd.events = POLLIN; in TEST_F()
1787 pfd.events = POLLIN; in TEST_F()
1876 pfd.events = POLLIN; in TEST_F()
[all …]
/openbmc/libmctp/utils/
H A Dmctp-astlpc-daemon.c78 pollfds[0].events = POLLIN; in main()
H A Dmctp-demux-daemon.c481 ctx->pollfds[FD_SIGNAL].events = POLLIN; in run_daemon()
484 ctx->pollfds[FD_SOCKET].events = POLLIN; in run_daemon()
499 ctx->pollfds[FD_NR + i].events = POLLIN; in run_daemon()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_lirc_mode2_user.c114 struct pollfd pfd = { .fd = inputfd, .events = POLLIN }; in main()
/openbmc/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_connect.c621 .events = POLLIN | POLLOUT, in copyfd_io_poll()
643 fds.events & POLLIN, fds.events & POLLOUT); in copyfd_io_poll()
647 if (fds.revents & POLLIN) { in copyfd_io_poll()
662 fds.events &= ~POLLIN; in copyfd_io_poll()
710 if ((fds.events & POLLIN) == 0) in copyfd_io_poll()
1084 polls.events = POLLIN; in main_loop_s()
/openbmc/linux/arch/x86/um/
H A Duser-offsets.c77 DEFINE(UM_POLLIN, POLLIN); in foo()
/openbmc/linux/tools/perf/
H A Dbuiltin-ftrace.c569 .events = POLLIN, in __cmd_ftrace()
647 if (pollfd.revents & POLLIN) { in __cmd_ftrace()
884 .events = POLLIN, in __cmd_latency()
917 if (pollfd.revents & POLLIN) { in __cmd_latency()
/openbmc/phosphor-logging/
H A Dutil.cpp159 POLLIN, in journalSync()
/openbmc/linux/arch/um/os-Linux/
H A Dsigio.c270 .events = POLLIN, in setup_initial_poll()
374 .events = POLLIN, in sigio_broken()
/openbmc/linux/tools/testing/selftests/sync/
H A Dsync.c63 fds.events = POLLIN | POLLERR; in sync_wait()
/openbmc/linux/tools/testing/selftests/ir/
H A Dir_loopback.c176 struct pollfd pfd = { .fd = rlircfd, .events = POLLIN }; in main()
/openbmc/linux/tools/virtio/
H A Dvirtio_test.c123 dev->fds[info->idx].events = POLLIN; in vq_info_add()
164 if (dev->fds[i].revents & POLLIN) { in wait_for_interrupt()
/openbmc/u-boot/test/py/
H A Du_boot_spawn.py69 …self.poll.register(self.fd, select.POLLIN | select.POLLPRI | select.POLLERR | select.POLLHUP | sel…
/openbmc/linux/samples/connector/
H A Ducon.c191 pfd.events = POLLIN; in main()
/openbmc/openpower-sbe-interface/
H A Dsbe_chipOp_handler.cpp69 poll_fd.events = POLLIN | POLLERR; in writeToFifo()
/openbmc/linux/Documentation/userspace-api/media/cec/
H A Dcec-func-poll.rst45 is non-zero). CEC devices set the ``POLLIN`` and ``POLLRDNORM`` flags in

12345