Searched refs:POLLIN (Results 1 - 25 of 65) sorted by last modified time

123

/linux-master/tools/testing/selftests/net/
H A Dtls.c1192 fd.events = POLLIN;
1195 EXPECT_EQ(fd.revents & POLLIN, 1);
1209 fd.events = POLLIN;
1213 EXPECT_EQ(fd.revents & POLLIN, 1);
1224 fd.events = POLLIN;
1230 EXPECT_EQ(fd.revents & POLLIN, 1);
1236 fd.events = POLLIN;
1238 EXPECT_EQ(fd.revents & POLLIN, 1);
1849 pfd.events = POLLIN;
1859 /* ... no full record should mean no POLLIN */
[all...]
H A Dudpgso_bench_rx.c97 pfd.events = POLLIN;
120 if (pfd.revents != POLLIN)
122 pfd.revents, POLLIN);
/linux-master/tools/testing/selftests/mm/
H A Duffd-common.c518 pollfd[0].events = POLLIN;
520 pollfd[1].events = POLLIN;
532 if (!(pollfd[1].revents & POLLIN))
538 if (!(pollfd[0].revents & POLLIN))
/linux-master/tools/perf/tests/
H A Dbuiltin-test.c309 .events = POLLIN | POLLERR | POLLHUP | POLLNVAL,
312 .events = POLLIN | POLLERR | POLLHUP | POLLNVAL,
/linux-master/tools/perf/
H A Dbuiltin-top.c496 struct pollfd stdin_poll = { .fd = 0, .events = POLLIN };
675 struct pollfd stdin_poll = { .fd = 0, .events = POLLIN };
H A Dbuiltin-record.c1257 POLLIN | POLLERR | POLLHUP, fdarray_flag__nonfilterable);
H A Dbuiltin-ftrace.c569 .events = POLLIN,
647 if (pollfd.revents & POLLIN) {
884 .events = POLLIN,
917 if (pollfd.revents & POLLIN) {
/linux-master/tools/lib/perf/
H A Devlist.c529 revent = !overwrite ? POLLIN : 0;
/linux-master/tools/virtio/
H A Dvhost_net_test.c263 if (vq->fds.revents & POLLIN)
/linux-master/tools/testing/vsock/
H A Dvsock_test.c858 poll_flags = POLLIN | POLLRDNORM;
1366 fds.events = POLLIN | POLLRDNORM | POLLERR |
1382 if (fds.revents & (POLLIN | POLLRDNORM)) {
1388 fprintf(stderr, "POLLIN | POLLRDNORM expected\n");
/linux-master/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c3423 pollfd.events = POLLIN | POLLOUT;
3426 EXPECT_EQ(pollfd.revents, POLLIN);
3442 pollfd.events = POLLIN | POLLOUT;
3855 pollfd.events = POLLIN | POLLOUT;
3858 EXPECT_EQ(pollfd.revents, POLLIN);
3863 pollfd.events = POLLIN | POLLOUT;
/linux-master/tools/testing/selftests/pidfd/
H A Dpidfd_getfd_test.c251 fds.events = POLLIN;
/linux-master/tools/testing/selftests/bpf/
H A Dxdp_hw_metadata.c417 fds[i].events = POLLIN;
422 fds[rxq].events = POLLIN;
H A Dxskxceiver.c1067 fds.events = POLLIN;
1086 if (!(fds.revents & POLLIN))
/linux-master/tools/testing/selftests/kvm/lib/
H A Duserfaultfd_util.c46 pollfd[0].events = POLLIN;
48 pollfd[1].events = POLLIN;
69 if (pollfd[1].revents & POLLIN) {
76 if (!(pollfd[0].revents & POLLIN))
/linux-master/tools/perf/util/
H A Devlist.c624 return perf_evlist__add_pollfd(&evlist->core, fd, NULL, POLLIN, fdarray_flag__default);
635 return perf_evlist__add_pollfd(&evlist->core, fd, NULL, POLLIN,
1953 evlist->ctl_fd.pos = perf_evlist__add_pollfd(&evlist->core, fd, NULL, POLLIN,
2168 if (entries[ctlfd_pos].revents & POLLIN) {
2334 eet->pollfd_pos = perf_evlist__add_pollfd(&evlist->core, eet->timerfd, NULL, POLLIN, flags);
2395 if (revents & POLLIN) {
/linux-master/tools/lib/api/
H A Dio.h61 .events = POLLIN,
68 if (n > 0 && !(pfds[0].revents & POLLIN)) {
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_metadata.c294 fds.events = POLLIN;
/linux-master/tools/testing/selftests/alsa/
H A Dmixer-test.c222 if (!(revents & POLLIN)) {
223 ksft_print_msg("No POLLIN\n");
/linux-master/tools/include/nolibc/
H A Dtypes.h160 #define POLLIN 0x0001 macro
/linux-master/samples/cgroup/
H A Dmemcg_event_listener.c235 fds[0].events = POLLIN;
245 if (fds[0].revents & POLLIN) {
/linux-master/tools/testing/selftests/net/mptcp/
H A Dmptcp_connect.c621 .events = POLLIN | POLLOUT,
642 "POLLIN %u, POLLOUT %u)\n", __func__,
643 fds.events & POLLIN, fds.events & POLLOUT);
647 if (fds.revents & POLLIN) {
662 fds.events &= ~POLLIN;
710 if ((fds.events & POLLIN) == 0)
1084 polls.events = POLLIN;
/linux-master/tools/perf/bench/
H A Dsched-messaging.c82 struct pollfd pollfd = { .fd = wakefd, .events = POLLIN };
/linux-master/tools/iio/
H A Diio_generic_buffer.c727 .events = POLLIN,
/linux-master/drivers/misc/
H A Dibmvmc.c1022 mask |= POLLIN | POLLRDNORM;

Completed in 346 milliseconds

123