/kernel/linux/linux-5.10/tools/perf/tests/ |
H A 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()
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A 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()
|
/kernel/liteos_a/testsuites/unittest/libc/io/full/ |
H A D | IO_test_ppoll_003.cpp | 70 if (pfd.revents & POLLIN) {
in pthread_01() 80 ICUNIT_ASSERT_NOT_EQUAL_NULL(pfd.revents & POLLIN, 0, pfd.revents & POLLIN);
in pthread_01() 107 pfd.events = POLLIN;
in testcase()
|
H A D | IO_test_ppoll_002.cpp | 59 if (pfd.revents & POLLIN) { in pthread_01() 88 pfd.events = POLLIN; in testcase()
|
H A D | IO_test_ppoll_001.cpp | 62 if (pfd.revents & POLLIN) { in pthread_01() 92 pfd.events = POLLIN; in testcase()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/af_unix/ |
H A 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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/lib/ |
H A 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()
|
/kernel/linux/linux-5.10/arch/um/drivers/ |
H A D | ubd_user.c | 40 kernel_pollfd.events = POLLIN; in start_io_thread() 70 kernel_pollfd.events = POLLIN; in ubd_read_poll()
|
/kernel/linux/linux-6.6/arch/um/drivers/ |
H A D | ubd_user.c | 40 kernel_pollfd.events = POLLIN; in start_io_thread() 70 kernel_pollfd.events = POLLIN; in ubd_read_poll()
|
/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/ |
H A D | pidfd_poll_test.c | 32 fds.events = POLLIN; in main() 97 if (!(fds.revents & POLLIN)) in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/cgroup/ |
H A D | wait_inotify.c | 33 struct pollfd fds = { .events = POLLIN, }; in main() 73 if ((ret > 0) && (fds.revents & POLLIN)) in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/pidfd/ |
H A D | pidfd_poll_test.c | 32 fds.events = POLLIN; in main() 97 if (!(fds.revents & POLLIN)) in main()
|
/kernel/linux/linux-5.10/samples/uhid/ |
H A 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()
|
/kernel/linux/linux-6.6/samples/uhid/ |
H A 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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/filesystems/epoll/ |
H A 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...] |
/kernel/linux/linux-6.6/tools/testing/selftests/filesystems/epoll/ |
H A 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...] |
/kernel/linux/linux-6.6/tools/lib/api/ |
H A D | io.h | 61 .events = POLLIN, in io__get_char() 68 if (n > 0 && !(pfds[0].revents & POLLIN)) { in io__get_char()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_connect.c | 344 .events = POLLIN | POLLOUT, in copyfd_io_poll() 366 "POLLIN %u, POLLOUT %u)\n", __func__, in copyfd_io_poll() 367 fds.events & POLLIN, fds.events & POLLOUT); in copyfd_io_poll() 371 if (fds.revents & POLLIN) { in copyfd_io_poll() 377 fds.events &= ~POLLIN; in copyfd_io_poll() 411 if ((fds.events & POLLIN) == 0) in copyfd_io_poll() 709 polls.events = POLLIN; in main_loop_s()
|
/kernel/linux/linux-6.6/tools/perf/ |
H A 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() [all...] |
/kernel/liteos_m/kal/libc/newlib/porting/include/ |
H A D | poll.h | 41 #define POLLIN 0x001 macro
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A 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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A 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()
|
/kernel/liteos_m/kal/posix/src/ |
H A D | pipe.c | 340 event &= ~(POLLIN | POLLOUT); in PipePollNotify() 454 PipePollNotify(dev, POLLIN); in PipeClose() 581 PipePollNotify(dev, POLLIN); in PipeWrite() 595 PipePollNotify(dev, POLLIN); in PipeWrite() 646 event |= POLLIN; in PipePoll()
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/ |
H A 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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A 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()
|