/Linux-v5.10/tools/perf/tests/ |
D | fdarray.c | 41 fdarray__init_revents(fda, POLLIN); in test__fdarray__filter() 58 fda->entries[2].revents = POLLIN; in test__fdarray__filter() 70 fda->entries[0].revents = POLLIN; in test__fdarray__filter() 71 fda->entries[3].revents = POLLIN; in test__fdarray__filter() 127 FDA_ADD(0, 1, POLLIN, 1); in test__fdarray__add() 141 FDA_ADD(3, 88, POLLIN | POLLOUT, 4); in test__fdarray__add() 145 FDA_CHECK(0, 1, POLLIN); in test__fdarray__add() 148 FDA_CHECK(3, 88, POLLIN | POLLOUT); in test__fdarray__add()
|
/Linux-v5.10/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.10/tools/testing/selftests/pidfd/ |
D | pidfd_poll_test.c | 32 fds.events = POLLIN; in main() 97 if (!(fds.revents & POLLIN)) in main()
|
/Linux-v5.10/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.10/tools/testing/selftests/filesystems/epoll/ |
D | epoll_wakeup_test.c | 53 pfd.events = POLLIN; in waiter_entry1ap() 80 pfd.events = POLLIN; in waiter_entry1op() 107 pfd.events = POLLIN; in waiter_entry2ap() 304 pfd.events = POLLIN; in TEST() 309 pfd.events = POLLIN; in TEST() 343 pfd.events = POLLIN; in TEST() 348 pfd.events = POLLIN; in TEST() 388 pfd.events = POLLIN; in TEST() 393 pfd.events = POLLIN; in TEST() 434 pfd.events = POLLIN; in TEST() [all …]
|
/Linux-v5.10/tools/testing/selftests/net/mptcp/ |
D | mptcp_connect.c | 343 .events = POLLIN | POLLOUT, in copyfd_io_poll() 366 fds.events & POLLIN, fds.events & POLLOUT); in copyfd_io_poll() 370 if (fds.revents & POLLIN) { in copyfd_io_poll() 376 fds.events &= ~POLLIN; in copyfd_io_poll() 410 if ((fds.events & POLLIN) == 0) in copyfd_io_poll() 708 polls.events = POLLIN; in main_loop_s()
|
/Linux-v5.10/tools/testing/selftests/kvm/ |
D | demand_paging_test.c | 136 pollfd[0].events = POLLIN; in uffd_handler_thread_fn() 138 pollfd[1].events = POLLIN; in uffd_handler_thread_fn() 159 if (pollfd[1].revents & POLLIN) { in uffd_handler_thread_fn() 166 if (!pollfd[0].revents & POLLIN) in uffd_handler_thread_fn()
|
/Linux-v5.10/tools/testing/selftests/net/ |
D | udpgso_bench_rx.c | 97 pfd.events = POLLIN; in do_poll() 120 if (pfd.revents != POLLIN) in do_poll() 122 pfd.revents, POLLIN); in do_poll()
|
D | tls.c | 843 fd.events = POLLIN; in TEST_F() 846 EXPECT_EQ(fd.revents & POLLIN, 1); in TEST_F() 860 fd.events = POLLIN; in TEST_F() 864 EXPECT_EQ(fd.revents & POLLIN, 1); in TEST_F() 875 fd.events = POLLIN; in TEST_F() 881 EXPECT_EQ(fd.revents & POLLIN, 1); in TEST_F() 887 fd.events = POLLIN; in TEST_F() 889 EXPECT_EQ(fd.revents & POLLIN, 1); in TEST_F()
|
/Linux-v5.10/include/uapi/asm-generic/ |
D | poll.h | 6 #define POLLIN 0x0001 macro
|
/Linux-v5.10/samples/nitro_enclaves/ |
D | ne_ioctl_sample.c | 207 fds[0].events = POLLIN | POLLERR | POLLHUP; in ne_poll_enclave_fd() 698 fds[0].events = POLLIN; in ne_start_enclave_check_booted() 715 if ((fds[0].revents & POLLIN) == 0) { in ne_start_enclave_check_booted()
|
/Linux-v5.10/tools/virtio/virtio-trace/ |
D | trace-agent-ctl.c | 55 poll_fd.events = POLLIN; in wait_order()
|
/Linux-v5.10/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.10/tools/gpio/ |
D | gpio-watch.c | 55 pfd.events = POLLIN | POLLPRI; in main()
|
/Linux-v5.10/drivers/staging/fieldbus/Documentation/ABI/ |
D | fieldbus-dev-cdev | 24 Note that POLLIN | POLLOUT events are always set, because the
|
/Linux-v5.10/tools/testing/selftests/bpf/ |
D | test_lirc_mode2_user.c | 113 struct pollfd pfd = { .fd = inputfd, .events = POLLIN }; in main()
|
/Linux-v5.10/arch/x86/um/ |
D | user-offsets.c | 78 DEFINE(UM_POLLIN, POLLIN); in foo()
|
/Linux-v5.10/tools/virtio/ |
D | virtio_test.c | 123 dev->fds[info->idx].events = POLLIN; in vq_info_add() 163 if (dev->fds[i].revents & POLLIN) { in wait_for_interrupt()
|
/Linux-v5.10/arch/um/os-Linux/ |
D | sigio.c | 251 .events = POLLIN, in setup_initial_poll() 355 .events = read ? POLLIN : POLLOUT, in sigio_broken()
|
/Linux-v5.10/tools/testing/selftests/ir/ |
D | ir_loopback.c | 167 struct pollfd pfd = { .fd = rlircfd, .events = POLLIN }; in main()
|
/Linux-v5.10/tools/testing/selftests/sync/ |
D | sync.c | 63 fds.events = POLLIN | POLLERR; in sync_wait()
|
/Linux-v5.10/Documentation/userspace-api/media/cec/ |
D | cec-func-poll.rst | 45 is non-zero). CEC devices set the ``POLLIN`` and ``POLLRDNORM`` flags in
|
/Linux-v5.10/samples/connector/ |
D | ucon.c | 191 pfd.events = POLLIN; in main()
|
/Linux-v5.10/tools/testing/selftests/powerpc/tm/ |
D | tm-signal-pagefault.c | 95 pollfd.events = POLLIN; in fault_handler_thread()
|
/Linux-v5.10/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()
|