/Linux-v5.4/tools/perf/tests/ |
D | fdarray.c | 40 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-v5.4/arch/um/drivers/ |
D | ubd_user.c | 40 kernel_pollfd.events = POLLIN; in start_io_thread() 70 kernel_pollfd.events = POLLIN; in ubd_read_poll()
|
/Linux-v5.4/tools/testing/selftests/pidfd/ |
D | pidfd_poll_test.c | 33 fds.events = POLLIN; in main() 98 if (!(fds.revents & POLLIN)) in main()
|
/Linux-v5.4/samples/uhid/ |
D | uhid-example.c | 430 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-v5.4/tools/testing/selftests/net/ |
D | udpgso_bench_rx.c | 97 pfd.events = POLLIN; in do_poll() 117 if (pfd.revents != POLLIN) in do_poll() 119 pfd.revents, POLLIN); in do_poll()
|
D | tls.c | 742 fd.events = POLLIN; in TEST_F() 745 EXPECT_EQ(fd.revents & POLLIN, 1); in TEST_F() 759 fd.events = POLLIN; in TEST_F() 763 EXPECT_EQ(fd.revents & POLLIN, 1); in TEST_F() 774 fd.events = POLLIN; in TEST_F() 780 EXPECT_EQ(fd.revents & POLLIN, 1); in TEST_F() 786 fd.events = POLLIN; in TEST_F() 788 EXPECT_EQ(fd.revents & POLLIN, 1); in TEST_F()
|
/Linux-v5.4/include/uapi/asm-generic/ |
D | poll.h | 6 #define POLLIN 0x0001 macro
|
/Linux-v5.4/samples/mic/mpssd/ |
D | mpssd.c | 479 pollfd.events = POLLIN; in wait_for_card_driver() 555 net_poll[NET_FD_VIRTIO_NET].events = POLLIN; in virtio_net() 557 net_poll[NET_FD_TUN].events = POLLIN; in virtio_net() 597 if (net_poll[NET_FD_TUN].revents & POLLIN) { in virtio_net() 655 if (net_poll[NET_FD_VIRTIO_NET].revents & POLLIN) { in virtio_net() 776 console_poll[MONITOR_FD].events = POLLIN; in virtio_console() 779 console_poll[VIRTIO_CONSOLE_FD].events = POLLIN; in virtio_console() 812 if (console_poll[MONITOR_FD].revents & POLLIN) { in virtio_console() 854 if (console_poll[VIRTIO_CONSOLE_FD].revents & POLLIN) { in virtio_console() 1193 block_poll.events = POLLIN; in virtio_block() [all …]
|
/Linux-v5.4/tools/virtio/virtio-trace/ |
D | trace-agent-ctl.c | 55 poll_fd.events = POLLIN; in wait_order()
|
/Linux-v5.4/tools/usb/ffs-aio-example/simple/device_app/ |
D | aio_simple.c | 171 pfds[0].events = POLLIN; in handle_ep0() 175 if (ret && (pfds[0].revents & POLLIN)) { in handle_ep0()
|
/Linux-v5.4/drivers/staging/fieldbus/Documentation/ABI/ |
D | fieldbus-dev-cdev | 24 Note that POLLIN | POLLOUT events are always set, because the
|
/Linux-v5.4/tools/testing/selftests/bpf/ |
D | test_lirc_mode2_user.c | 113 struct pollfd pfd = { .fd = inputfd, .events = POLLIN }; in main()
|
/Linux-v5.4/tools/virtio/ |
D | virtio_test.c | 110 dev->fds[info->idx].events = POLLIN; in vq_info_add() 149 if (dev->fds[i].revents & POLLIN) { in wait_for_interrupt()
|
/Linux-v5.4/arch/x86/um/ |
D | user-offsets.c | 90 DEFINE(UM_POLLIN, POLLIN); in foo()
|
/Linux-v5.4/tools/perf/ |
D | builtin-ftrace.c | 284 .events = POLLIN, in __cmd_ftrace() 374 if (pollfd.revents & POLLIN) { in __cmd_ftrace()
|
/Linux-v5.4/arch/um/os-Linux/ |
D | sigio.c | 251 .events = POLLIN, in setup_initial_poll() 355 .events = read ? POLLIN : POLLOUT, in sigio_broken()
|
/Linux-v5.4/tools/testing/selftests/sync/ |
D | sync.c | 63 fds.events = POLLIN | POLLERR; in sync_wait()
|
/Linux-v5.4/tools/testing/selftests/ir/ |
D | ir_loopback.c | 167 struct pollfd pfd = { .fd = rlircfd, .events = POLLIN }; in main()
|
/Linux-v5.4/tools/testing/selftests/vm/ |
D | userfaultfd.c | 500 pollfd[0].events = POLLIN; in uffd_poll_thread() 502 pollfd[1].events = POLLIN; in uffd_poll_thread() 510 if (pollfd[1].revents & POLLIN) { in uffd_poll_thread() 516 if (!(pollfd[0].revents & POLLIN)) in uffd_poll_thread()
|
/Linux-v5.4/samples/connector/ |
D | ucon.c | 191 pfd.events = POLLIN; in main()
|
/Linux-v5.4/tools/usb/usbip/src/ |
D | usbipd.c | 549 fds[i].events = POLLIN; in do_standalone_mode() 568 if (fds[i].revents & POLLIN) { in do_standalone_mode()
|
/Linux-v5.4/samples/timers/ |
D | hpet_example.c | 179 pfd.events = POLLIN; in hpet_poll()
|
/Linux-v5.4/tools/testing/selftests/cgroup/ |
D | test_freezer.c | 89 .events = POLLIN, in cg_wait_for() 102 if (ret > 0 && fds.revents & POLLIN) { in cg_wait_for()
|
/Linux-v5.4/Documentation/media/uapi/cec/ |
D | cec-func-poll.rst | 55 is non-zero). CEC devices set the ``POLLIN`` and ``POLLRDNORM`` flags in
|
/Linux-v5.4/tools/perf/bench/ |
D | sched-messaging.c | 70 struct pollfd pollfd = { .fd = wakefd, .events = POLLIN }; in ready()
|