Home
last modified time | relevance | path

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

1234

/linux/tools/perf/tests/
A 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/arch/um/drivers/
A Dubd_user.c40 kernel_pollfd.events = POLLIN; in start_io_thread()
70 kernel_pollfd.events = POLLIN; in ubd_read_poll()
/linux/tools/testing/selftests/cgroup/
A Dwait_inotify.c33 struct pollfd fds = { .events = POLLIN, }; in main()
73 if ((ret > 0) && (fds.revents & POLLIN)) in main()
/linux/samples/uhid/
A 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/tools/testing/selftests/pidfd/
A Dpidfd_poll_test.c32 fds.events = POLLIN; in main()
97 if (!(fds.revents & POLLIN)) in main()
/linux/tools/testing/selftests/filesystems/epoll/
A 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/tools/perf/
A Dbuiltin-daemon.c449 .events = POLLIN, in daemon_session__wait()
488 .events = POLLIN, in daemon__wait()
514 struct pollfd pollfd = { .events = POLLIN, }; in daemon_session__control()
563 if (!(pollfd.revents & POLLIN)) { in daemon_session__control()
1308 sock_pos = fdarray__add(&fda, sock_fd, POLLIN|POLLERR|POLLHUP, 0); in __cmd_start()
1312 file_pos = fdarray__add(&fda, conf_fd, POLLIN|POLLERR|POLLHUP, 0); in __cmd_start()
1316 signal_pos = fdarray__add(&fda, signal_fd, POLLIN|POLLERR|POLLHUP, 0); in __cmd_start()
1330 if (fda.entries[sock_pos].revents & POLLIN) in __cmd_start()
1332 if (fda.entries[file_pos].revents & POLLIN) in __cmd_start()
1334 if (fda.entries[signal_pos].revents & POLLIN) in __cmd_start()
/linux/tools/lib/api/
A Dio.h58 .events = POLLIN, in io__fill_buffer()
65 if (n > 0 && !(pfds[0].revents & POLLIN)) { in io__fill_buffer()
/linux/tools/testing/selftests/net/
A 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()
A Dtls.c1192 fd.events = POLLIN; in TEST_F()
1195 EXPECT_EQ(fd.revents & POLLIN, 1); in TEST_F()
1209 fd.events = POLLIN; in TEST_F()
1213 EXPECT_EQ(fd.revents & POLLIN, 1); in TEST_F()
1224 fd.events = POLLIN; in TEST_F()
1236 fd.events = POLLIN; in TEST_F()
1849 pfd.events = POLLIN; in TEST_F()
1861 pfd.events = POLLIN; in TEST_F()
1866 pfd.events = POLLIN; in TEST_F()
1955 pfd.events = POLLIN; in TEST_F()
[all …]
/linux/include/uapi/asm-generic/
A Dpoll.h6 #define POLLIN 0x0001 macro
/linux/tools/testing/vsock/
A DREADME64 POLLIN wakeups: C
70 C is number of 'poll()' wake ups with POLLIN bit set.
A Dvsock_perf.c207 fds.events = POLLIN | POLLERR | in run_receiver()
218 if (fds.revents & POLLIN) { in run_receiver()
/linux/samples/nitro_enclaves/
A 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/tools/testing/selftests/hid/
A Dhidraw.c159 pfds[0].events = POLLIN; in TEST_F()
170 if (pfds[0].revents & POLLIN) { in TEST_F()
A Dhid_common.h242 pfds[0].events = POLLIN; in uhid_read_events_thread()
252 if (pfds[0].revents & POLLIN) { in uhid_read_events_thread()
/linux/tools/testing/selftests/mm/
A Duffd-common.c518 pollfd[0].events = POLLIN; in uffd_poll_thread()
520 pollfd[1].events = POLLIN; in uffd_poll_thread()
532 if (!(pollfd[1].revents & POLLIN)) in uffd_poll_thread()
538 if (!(pollfd[0].revents & POLLIN)) in uffd_poll_thread()
/linux/tools/virtio/virtio-trace/
A Dtrace-agent-ctl.c55 poll_fd.events = POLLIN; in wait_order()
/linux/tools/gpio/
A Dgpio-watch.c56 pfd.events = POLLIN | POLLPRI; in main()
/linux/tools/usb/ffs-aio-example/simple/device_app/
A Daio_simple.c189 pfds[0].events = POLLIN; in handle_ep0()
193 if (ret && (pfds[0].revents & POLLIN)) { in handle_ep0()
/linux/samples/cgroup/
A Dmemcg_event_listener.c235 fds[0].events = POLLIN; in monitor_events()
245 if (fds[0].revents & POLLIN) { in monitor_events()
/linux/drivers/staging/fieldbus/Documentation/ABI/
A Dfieldbus-dev-cdev24 Note that POLLIN | POLLOUT events are always set, because the
/linux/tools/perf/util/
A Dintel-tpebs.c267 struct pollfd pollfd = { .events = POLLIN, }; in tpebs_start()
316 if (!(pollfd.revents & POLLIN)) { in tpebs_start()
/linux/tools/testing/selftests/net/mptcp/
A Dmptcp_connect.c621 .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/tools/testing/selftests/bpf/
A Dtest_lirc_mode2_user.c114 struct pollfd pfd = { .fd = inputfd, .events = POLLIN }; in main()

Completed in 57 milliseconds

1234