/linux-master/tools/testing/selftests/net/ |
H A D | tls.c | 1192 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 D | udpgso_bench_rx.c | 97 pfd.events = POLLIN; 120 if (pfd.revents != POLLIN) 122 pfd.revents, POLLIN);
|
/linux-master/tools/testing/selftests/mm/ |
H A D | uffd-common.c | 518 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 D | builtin-test.c | 309 .events = POLLIN | POLLERR | POLLHUP | POLLNVAL, 312 .events = POLLIN | POLLERR | POLLHUP | POLLNVAL,
|
/linux-master/tools/perf/ |
H A D | builtin-top.c | 496 struct pollfd stdin_poll = { .fd = 0, .events = POLLIN }; 675 struct pollfd stdin_poll = { .fd = 0, .events = POLLIN };
|
H A D | builtin-record.c | 1257 POLLIN | POLLERR | POLLHUP, fdarray_flag__nonfilterable);
|
H A D | builtin-ftrace.c | 569 .events = POLLIN, 647 if (pollfd.revents & POLLIN) { 884 .events = POLLIN, 917 if (pollfd.revents & POLLIN) {
|
/linux-master/tools/lib/perf/ |
H A D | evlist.c | 529 revent = !overwrite ? POLLIN : 0;
|
/linux-master/tools/virtio/ |
H A D | vhost_net_test.c | 263 if (vq->fds.revents & POLLIN)
|
/linux-master/tools/testing/vsock/ |
H A D | vsock_test.c | 858 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 D | seccomp_bpf.c | 3423 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 D | pidfd_getfd_test.c | 251 fds.events = POLLIN;
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | xdp_hw_metadata.c | 417 fds[i].events = POLLIN; 422 fds[rxq].events = POLLIN;
|
H A D | xskxceiver.c | 1067 fds.events = POLLIN; 1086 if (!(fds.revents & POLLIN))
|
/linux-master/tools/testing/selftests/kvm/lib/ |
H A D | userfaultfd_util.c | 46 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 D | evlist.c | 624 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 D | io.h | 61 .events = POLLIN, 68 if (n > 0 && !(pfds[0].revents & POLLIN)) {
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_metadata.c | 294 fds.events = POLLIN;
|
/linux-master/tools/testing/selftests/alsa/ |
H A D | mixer-test.c | 222 if (!(revents & POLLIN)) { 223 ksft_print_msg("No POLLIN\n");
|
/linux-master/tools/include/nolibc/ |
H A D | types.h | 160 #define POLLIN 0x0001 macro
|
/linux-master/samples/cgroup/ |
H A D | memcg_event_listener.c | 235 fds[0].events = POLLIN; 245 if (fds[0].revents & POLLIN) {
|
/linux-master/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_connect.c | 621 .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 D | sched-messaging.c | 82 struct pollfd pollfd = { .fd = wakefd, .events = POLLIN };
|
/linux-master/tools/iio/ |
H A D | iio_generic_buffer.c | 727 .events = POLLIN,
|
/linux-master/drivers/misc/ |
H A D | ibmvmc.c | 1022 mask |= POLLIN | POLLRDNORM;
|