Home
last modified time | relevance | path

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

123

/linux-5.19.10/tools/perf/tests/
Dfdarray.c41 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-5.19.10/tools/testing/selftests/net/af_unix/
Dtest_unix_oob.c241 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-5.19.10/arch/um/drivers/
Dubd_user.c40 kernel_pollfd.events = POLLIN; in start_io_thread()
70 kernel_pollfd.events = POLLIN; in ubd_read_poll()
/linux-5.19.10/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-5.19.10/tools/testing/selftests/pidfd/
Dpidfd_poll_test.c32 fds.events = POLLIN; in main()
97 if (!(fds.revents & POLLIN)) in main()
/linux-5.19.10/tools/testing/selftests/kvm/
Ddemand_paging_test.c149 pollfd[0].events = POLLIN; in uffd_handler_thread_fn()
151 pollfd[1].events = POLLIN; in uffd_handler_thread_fn()
172 if (pollfd[1].revents & POLLIN) { in uffd_handler_thread_fn()
179 if (!(pollfd[0].revents & POLLIN)) in uffd_handler_thread_fn()
/linux-5.19.10/tools/testing/selftests/filesystems/epoll/
Depoll_wakeup_test.c68 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-5.19.10/tools/perf/
Dbuiltin-daemon.c448 .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()
Dbuiltin-ftrace.c569 .events = POLLIN, in __cmd_ftrace()
647 if (pollfd.revents & POLLIN) { in __cmd_ftrace()
882 .events = POLLIN, in __cmd_latency()
915 if (pollfd.revents & POLLIN) { in __cmd_latency()
/linux-5.19.10/tools/testing/selftests/net/
Dudpgso_bench_rx.c97 pfd.events = POLLIN; in do_poll()
120 if (pfd.revents != POLLIN) in do_poll()
122 pfd.revents, POLLIN); in do_poll()
Dtls.c1084 fd.events = POLLIN; in TEST_F()
1087 EXPECT_EQ(fd.revents & POLLIN, 1); in TEST_F()
1101 fd.events = POLLIN; in TEST_F()
1105 EXPECT_EQ(fd.revents & POLLIN, 1); in TEST_F()
1116 fd.events = POLLIN; in TEST_F()
1122 EXPECT_EQ(fd.revents & POLLIN, 1); in TEST_F()
1128 fd.events = POLLIN; in TEST_F()
1130 EXPECT_EQ(fd.revents & POLLIN, 1); in TEST_F()
/linux-5.19.10/include/uapi/asm-generic/
Dpoll.h6 #define POLLIN 0x0001 macro
/linux-5.19.10/samples/nitro_enclaves/
Dne_ioctl_sample.c206 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-5.19.10/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-5.19.10/tools/virtio/virtio-trace/
Dtrace-agent-ctl.c55 poll_fd.events = POLLIN; in wait_order()
/linux-5.19.10/tools/testing/selftests/net/mptcp/
Dmptcp_connect.c572 .events = POLLIN | POLLOUT, in copyfd_io_poll()
595 fds.events & POLLIN, fds.events & POLLOUT); in copyfd_io_poll()
599 if (fds.revents & POLLIN) { in copyfd_io_poll()
605 fds.events &= ~POLLIN; in copyfd_io_poll()
641 if ((fds.events & POLLIN) == 0) in copyfd_io_poll()
976 polls.events = POLLIN; in main_loop_s()
/linux-5.19.10/tools/gpio/
Dgpio-watch.c56 pfd.events = POLLIN | POLLPRI; in main()
/linux-5.19.10/drivers/staging/fieldbus/Documentation/ABI/
Dfieldbus-dev-cdev24 Note that POLLIN | POLLOUT events are always set, because the
/linux-5.19.10/tools/testing/selftests/bpf/
Dtest_lirc_mode2_user.c114 struct pollfd pfd = { .fd = inputfd, .events = POLLIN }; in main()
/linux-5.19.10/arch/x86/um/
Duser-offsets.c77 DEFINE(UM_POLLIN, POLLIN); in foo()
/linux-5.19.10/arch/um/os-Linux/
Dsigio.c269 .events = POLLIN, in setup_initial_poll()
373 .events = POLLIN, in sigio_broken()
/linux-5.19.10/tools/virtio/
Dvirtio_test.c123 dev->fds[info->idx].events = POLLIN; in vq_info_add()
164 if (dev->fds[i].revents & POLLIN) { in wait_for_interrupt()
/linux-5.19.10/tools/testing/selftests/ir/
Dir_loopback.c176 struct pollfd pfd = { .fd = rlircfd, .events = POLLIN }; in main()
/linux-5.19.10/tools/include/nolibc/
Dtypes.h128 #define POLLIN 0x0001 macro
/linux-5.19.10/tools/testing/selftests/sync/
Dsync.c63 fds.events = POLLIN | POLLERR; in sync_wait()

123