Home
last modified time | relevance | path

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

12

/Linux-v4.19/tools/perf/tests/
Dfdarray.c40 fdarray__init_revents(fda, POLLIN); in test__fdarray__filter()
57 fda->entries[2].revents = POLLIN; in test__fdarray__filter()
76 fda->entries[0].revents = POLLIN; in test__fdarray__filter()
78 fda->entries[3].revents = POLLIN; in test__fdarray__filter()
143 FDA_ADD(0, 1, POLLIN, 1); in test__fdarray__add()
157 FDA_ADD(3, 88, POLLIN | POLLOUT, 4); in test__fdarray__add()
161 FDA_CHECK(0, 1, POLLIN); in test__fdarray__add()
164 FDA_CHECK(3, 88, POLLIN | POLLOUT); in test__fdarray__add()
/Linux-v4.19/arch/um/drivers/
Dubd_user.c40 kernel_pollfd.events = POLLIN; in start_io_thread()
70 kernel_pollfd.events = POLLIN; in ubd_read_poll()
/Linux-v4.19/samples/uhid/
Duhid-example.c430 pfds[0].events = POLLIN; in main()
432 pfds[1].events = POLLIN; in main()
450 if (pfds[0].revents & POLLIN) { in main()
455 if (pfds[1].revents & POLLIN) { in main()
/Linux-v4.19/tools/testing/selftests/net/
Dudpgso_bench_rx.c60 pfd.events = POLLIN; in do_poll()
70 if (pfd.revents != POLLIN) in do_poll()
72 pfd.revents, POLLIN); in do_poll()
Dtls.c563 fd.events = POLLIN; in TEST_F()
566 EXPECT_EQ(fd.revents & POLLIN, 1); in TEST_F()
580 fd.events = POLLIN; in TEST_F()
584 EXPECT_EQ(fd.revents & POLLIN, 1); in TEST_F()
/Linux-v4.19/include/uapi/asm-generic/
Dpoll.h6 #define POLLIN 0x0001 macro
/Linux-v4.19/tools/testing/selftests/bpf/
Dtrace_helpers.c116 struct pollfd pfd = { .fd = fd, .events = POLLIN }; in perf_event_poll()
187 pfds[i].events = POLLIN; in perf_event_poller_multi()
Dtest_lirc_mode2_user.c111 struct pollfd pfd = { .fd = lircfd, .events = POLLIN }; in main()
/Linux-v4.19/samples/mic/mpssd/
Dmpssd.c490 pollfd.events = POLLIN; in wait_for_card_driver()
566 net_poll[NET_FD_VIRTIO_NET].events = POLLIN; in virtio_net()
568 net_poll[NET_FD_TUN].events = POLLIN; in virtio_net()
608 if (net_poll[NET_FD_TUN].revents & POLLIN) { in virtio_net()
666 if (net_poll[NET_FD_VIRTIO_NET].revents & POLLIN) { in virtio_net()
787 console_poll[MONITOR_FD].events = POLLIN; in virtio_console()
790 console_poll[VIRTIO_CONSOLE_FD].events = POLLIN; in virtio_console()
823 if (console_poll[MONITOR_FD].revents & POLLIN) { in virtio_console()
865 if (console_poll[VIRTIO_CONSOLE_FD].revents & POLLIN) { in virtio_console()
1204 block_poll.events = POLLIN; in virtio_block()
[all …]
/Linux-v4.19/tools/virtio/virtio-trace/
Dtrace-agent-ctl.c57 poll_fd.events = POLLIN; in wait_order()
/Linux-v4.19/tools/usb/ffs-aio-example/simple/device_app/
Daio_simple.c171 pfds[0].events = POLLIN; in handle_ep0()
175 if (ret && (pfds[0].revents & POLLIN)) { in handle_ep0()
/Linux-v4.19/tools/virtio/
Dvirtio_test.c110 dev->fds[info->idx].events = POLLIN; in vq_info_add()
149 if (dev->fds[i].revents & POLLIN) { in wait_for_interrupt()
/Linux-v4.19/tools/perf/
Dbuiltin-ftrace.c282 .events = POLLIN, in __cmd_ftrace()
366 if (pollfd.revents & POLLIN) { in __cmd_ftrace()
/Linux-v4.19/arch/x86/um/
Duser-offsets.c90 DEFINE(UM_POLLIN, POLLIN); in foo()
/Linux-v4.19/arch/um/os-Linux/
Dsigio.c251 .events = POLLIN, in setup_initial_poll()
355 .events = read ? POLLIN : POLLOUT, in sigio_broken()
/Linux-v4.19/tools/testing/selftests/sync/
Dsync.c63 fds.events = POLLIN | POLLERR; in sync_wait()
/Linux-v4.19/Documentation/media/uapi/cec/
Dcec-func-poll.rst48 is non-zero). CEC devices set the ``POLLIN`` and ``POLLRDNORM`` flags in
/Linux-v4.19/samples/connector/
Ducon.c205 pfd.events = POLLIN; in main()
/Linux-v4.19/tools/testing/selftests/vm/
Duserfaultfd.c454 pollfd[0].events = POLLIN; in uffd_poll_thread()
456 pollfd[1].events = POLLIN; in uffd_poll_thread()
464 if (pollfd[1].revents & POLLIN) { in uffd_poll_thread()
470 if (!(pollfd[0].revents & POLLIN)) in uffd_poll_thread()
/Linux-v4.19/tools/usb/usbip/src/
Dusbipd.c561 fds[i].events = POLLIN; in do_standalone_mode()
580 if (fds[i].revents & POLLIN) { in do_standalone_mode()
/Linux-v4.19/samples/timers/
Dhpet_example.c179 pfd.events = POLLIN; in hpet_poll()
/Linux-v4.19/tools/hv/
Dhv_vss_daemon.c266 pfd.events = POLLIN; in main()
/Linux-v4.19/tools/perf/bench/
Dsched-messaging.c73 struct pollfd pollfd = { .fd = wakefd, .events = POLLIN }; in ready()
/Linux-v4.19/Documentation/admin-guide/mm/
Duserfaultfd.rst25 1) read/POLLIN protocol to notify a userland thread of the faults
55 a later API version) which will specify the read/POLLIN protocol
144 poll() to the userfaultfd in parallel. When a POLLIN event is
/Linux-v4.19/tools/bpf/bpftool/
Dmap_perf_ring.c267 pfds[i].events = POLLIN; in do_event_pipe()

12