Searched refs:POLLIN (Results 26 - 50 of 65) sorted by relevance

123

/linux-master/tools/testing/vsock/
H A Dvsock_perf.c207 fds.events = POLLIN | POLLERR |
218 if (fds.revents & POLLIN) {
247 printf("POLLIN wakeups: %i\n", read_cnt);
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/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/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 Dmsg_zerocopy.c472 if (do_poll(fd, domain == PF_RDS ? POLLIN : POLLERR))
666 do_poll(fd, POLLIN);
H A Dtcp_mmap.c214 struct pollfd pfd = { .fd = fd, .events = POLLIN, };
H A Dpsock_tpacket.c233 pfd.events = POLLIN | POLLERR;
594 pfd.events = POLLIN | POLLERR;
H A Dcsum.c937 pfd.events = POLLIN;
942 if (pfd.revents & POLLIN)
/linux-master/tools/usb/usbip/src/
H A Dusbipd.c549 fds[i].events = POLLIN;
568 if (fds[i].revents & POLLIN) {
/linux-master/tools/virtio/
H A Dvirtio_test.c123 dev->fds[info->idx].events = POLLIN;
164 if (dev->fds[i].revents & POLLIN) {
/linux-master/arch/um/os-Linux/
H A Dsigio.c270 .events = POLLIN,
374 .events = POLLIN,
/linux-master/tools/testing/selftests/cgroup/
H A Dcgroup_util.c639 .events = POLLIN,
652 if (ret > 0 && fds.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/samples/timers/
H A Dhpet_example.c179 pfd.events = POLLIN;
/linux-master/tools/hv/
H A Dhv_vss_daemon.c281 pfd.events = POLLIN;
/linux-master/drivers/virt/acrn/
H A Dirqfd.c85 if (poll_bits & POLLIN)
/linux-master/tools/perf/
H A Dbuiltin-ftrace.c569 .events = POLLIN,
647 if (pollfd.revents & POLLIN) {
884 .events = POLLIN,
917 if (pollfd.revents & POLLIN) {
/linux-master/tools/testing/selftests/pidfd/
H A Dpidfd_getfd_test.c251 fds.events = 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/testing/selftests/bpf/
H A Dtest_flow_dissector.c486 if (ret && !(pfd.revents & POLLIN))
558 do_poll(fdr, POLLIN, tstop - tcur);
H A Dxdp_hw_metadata.c417 fds[i].events = POLLIN;
422 fds[rxq].events = POLLIN;
/linux-master/tools/perf/bench/
H A Dsched-messaging.c82 struct pollfd pollfd = { .fd = wakefd, .events = POLLIN };
/linux-master/samples/bpf/
H A Dxdp_sample_user.c1553 pfd[0].events = POLLIN;
1556 pfd[1].events = POLLIN;
1579 if (pfd[0].revents & POLLIN)
1581 else if (pfd[1].revents & POLLIN)
/linux-master/tools/firewire/
H A Dnosy-dump.c969 pollfds[0].events = POLLIN;
971 pollfds[1].events = POLLIN;
/linux-master/tools/testing/selftests/hid/
H A Dhid_bpf.c244 pfds[0].events = POLLIN;
254 if (pfds[0].revents & POLLIN) {

Completed in 566 milliseconds

123