/linux-6.6.21/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-6.6.21/tools/testing/selftests/net/af_unix/ |
D | test_unix_oob.c | 241 wait_for_data(pfd, POLLIN | POLLPRI); in main() 266 wait_for_data(pfd, POLLIN | POLLPRI); in main() 304 wait_for_data(pfd, POLLIN | POLLPRI); in main() 336 wait_for_data(pfd, POLLIN | POLLPRI); in main() 367 wait_for_data(pfd, POLLIN | POLLPRI); in main() 399 wait_for_data(pfd, POLLIN | POLLPRI); in main() 429 wait_for_data(pfd, POLLIN | POLLPRI); in main()
|
/linux-6.6.21/tools/testing/selftests/kvm/lib/ |
D | userfaultfd_util.c | 46 pollfd[0].events = POLLIN; in uffd_handler_thread_fn() 48 pollfd[1].events = POLLIN; in uffd_handler_thread_fn() 69 if (pollfd[1].revents & POLLIN) { in uffd_handler_thread_fn() 76 if (!(pollfd[0].revents & POLLIN)) in uffd_handler_thread_fn()
|
/linux-6.6.21/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-6.6.21/tools/testing/selftests/cgroup/ |
D | wait_inotify.c | 33 struct pollfd fds = { .events = POLLIN, }; in main() 73 if ((ret > 0) && (fds.revents & POLLIN)) in main()
|
/linux-6.6.21/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-6.6.21/tools/testing/selftests/pidfd/ |
D | pidfd_poll_test.c | 32 fds.events = POLLIN; in main() 97 if (!(fds.revents & POLLIN)) in main()
|
/linux-6.6.21/tools/testing/selftests/filesystems/epoll/ |
D | epoll_wakeup_test.c | 68 pfd.events = POLLIN; in waiter_entry1ap() 95 pfd.events = POLLIN; in waiter_entry1op() 122 pfd.events = POLLIN; in waiter_entry2ap() 319 pfd.events = POLLIN; in TEST() 324 pfd.events = POLLIN; in TEST() 358 pfd.events = POLLIN; in TEST() 363 pfd.events = POLLIN; in TEST() 403 pfd.events = POLLIN; in TEST() 408 pfd.events = POLLIN; in TEST() 449 pfd.events = POLLIN; in TEST() [all …]
|
/linux-6.6.21/tools/perf/ |
D | builtin-daemon.c | 448 .events = POLLIN, in daemon_session__wait() 487 .events = POLLIN, in daemon__wait() 513 struct pollfd pollfd = { .events = POLLIN, }; in daemon_session__control() 562 if (!(pollfd.revents & POLLIN)) { in daemon_session__control() 1307 sock_pos = fdarray__add(&fda, sock_fd, POLLIN|POLLERR|POLLHUP, 0); in __cmd_start() 1311 file_pos = fdarray__add(&fda, conf_fd, POLLIN|POLLERR|POLLHUP, 0); in __cmd_start() 1315 signal_pos = fdarray__add(&fda, signal_fd, POLLIN|POLLERR|POLLHUP, 0); in __cmd_start() 1329 if (fda.entries[sock_pos].revents & POLLIN) in __cmd_start() 1331 if (fda.entries[file_pos].revents & POLLIN) in __cmd_start() 1333 if (fda.entries[signal_pos].revents & POLLIN) in __cmd_start()
|
D | builtin-ftrace.c | 569 .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()
|
/linux-6.6.21/tools/lib/api/ |
D | io.h | 61 .events = POLLIN, in io__get_char() 68 if (n > 0 && !(pfds[0].revents & POLLIN)) { in io__get_char()
|
/linux-6.6.21/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 | 1178 fd.events = POLLIN; in TEST_F() 1181 EXPECT_EQ(fd.revents & POLLIN, 1); in TEST_F() 1195 fd.events = POLLIN; in TEST_F() 1199 EXPECT_EQ(fd.revents & POLLIN, 1); in TEST_F() 1210 fd.events = POLLIN; in TEST_F() 1216 EXPECT_EQ(fd.revents & POLLIN, 1); in TEST_F() 1222 fd.events = POLLIN; in TEST_F() 1224 EXPECT_EQ(fd.revents & POLLIN, 1); in TEST_F() 1756 pfd.events = POLLIN; in TEST_F() 1768 pfd.events = POLLIN; in TEST_F() [all …]
|
/linux-6.6.21/include/uapi/asm-generic/ |
D | poll.h | 6 #define POLLIN 0x0001 macro
|
/linux-6.6.21/tools/testing/vsock/ |
D | README | 64 POLLIN wakeups: C 70 C is number of 'poll()' wake ups with POLLIN bit set.
|
D | vsock_perf.c | 203 fds.events = POLLIN | POLLERR | in run_receiver() 214 if (fds.revents & POLLIN) { in run_receiver()
|
/linux-6.6.21/samples/nitro_enclaves/ |
D | ne_ioctl_sample.c | 206 fds[0].events = POLLIN | POLLERR | POLLHUP; in ne_poll_enclave_fd() 697 fds[0].events = POLLIN; in ne_start_enclave_check_booted() 714 if ((fds[0].revents & POLLIN) == 0) { in ne_start_enclave_check_booted()
|
/linux-6.6.21/tools/testing/selftests/mm/ |
D | uffd-common.c | 506 pollfd[0].events = POLLIN; in uffd_poll_thread() 508 pollfd[1].events = POLLIN; in uffd_poll_thread() 518 if (!(pollfd[1].revents & POLLIN)) in uffd_poll_thread() 524 if (!(pollfd[0].revents & POLLIN)) in uffd_poll_thread()
|
/linux-6.6.21/tools/virtio/virtio-trace/ |
D | trace-agent-ctl.c | 55 poll_fd.events = POLLIN; in wait_order()
|
/linux-6.6.21/tools/gpio/ |
D | gpio-watch.c | 56 pfd.events = POLLIN | POLLPRI; in main()
|
/linux-6.6.21/tools/usb/ffs-aio-example/simple/device_app/ |
D | aio_simple.c | 189 pfds[0].events = POLLIN; in handle_ep0() 193 if (ret && (pfds[0].revents & POLLIN)) { in handle_ep0()
|
/linux-6.6.21/drivers/staging/fieldbus/Documentation/ABI/ |
D | fieldbus-dev-cdev | 24 Note that POLLIN | POLLOUT events are always set, because the
|
/linux-6.6.21/tools/testing/selftests/net/mptcp/ |
D | mptcp_connect.c | 621 .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()
|
/linux-6.6.21/tools/testing/selftests/bpf/ |
D | test_lirc_mode2_user.c | 114 struct pollfd pfd = { .fd = inputfd, .events = POLLIN }; in main()
|
/linux-6.6.21/arch/x86/um/ |
D | user-offsets.c | 77 DEFINE(UM_POLLIN, POLLIN); in foo()
|