/tools/lib/api/fd/ |
D | array.c | 72 int fdarray__add(struct fdarray *fda, int fd, short revents) in fdarray__add() argument 81 fda->entries[fda->nr].events = revents; in fdarray__add() 86 int fdarray__filter(struct fdarray *fda, short revents, in fdarray__filter() argument 96 if (fda->entries[fd].revents & revents) { in fdarray__filter()
|
D | array.h | 36 int fdarray__add(struct fdarray *fda, int fd, short revents); 38 int fdarray__filter(struct fdarray *fda, short revents,
|
/tools/perf/tests/ |
D | fdarray.c | 7 static void fdarray__init_revents(struct fdarray *fda, short revents) in fdarray__init_revents() argument 15 fda->entries[fd].revents = revents; in fdarray__init_revents() 57 fda->entries[2].revents = POLLIN; in test__fdarray__filter() 76 fda->entries[0].revents = POLLIN; in test__fdarray__filter() 78 fda->entries[3].revents = POLLIN; in test__fdarray__filter()
|
/tools/testing/selftests/pidfd/ |
D | pidfd_poll_test.c | 97 if (!(fds.revents & POLLIN)) in main() 100 fds.revents); in main()
|
/tools/testing/selftests/net/ |
D | udpgso_bench_rx.c | 98 pfd.revents = 0; in do_poll() 120 if (pfd.revents != POLLIN) in do_poll() 122 pfd.revents, POLLIN); in do_poll()
|
D | psock_tpacket.c | 234 pfd.revents = 0; in walk_v1_v2_rx() 413 pfd.revents = 0; in walk_tx() 595 pfd.revents = 0; in walk_v3_rx()
|
D | msg_zerocopy.c | 147 pfd.revents = 0; in do_poll() 154 return ret && (pfd.revents & events); in do_poll()
|
D | tls.c | 774 EXPECT_EQ(fd.revents & POLLIN, 1); in TEST_F() 792 EXPECT_EQ(fd.revents & POLLIN, 1); in TEST_F() 809 EXPECT_EQ(fd.revents & POLLIN, 1); in TEST_F() 817 EXPECT_EQ(fd.revents & POLLIN, 1); in TEST_F()
|
/tools/hv/ |
D | hv_vss_daemon.c | 258 pfd.revents = 0; in main()
|
D | hv_kvp_daemon.c | 1442 pfd.revents = 0; in main()
|
/tools/usb/ffs-aio-example/simple/device_app/ |
D | aio_simple.c | 175 if (ret && (pfds[0].revents & POLLIN)) { in handle_ep0()
|
/tools/testing/selftests/filesystems/incfs/ |
D | utils.c | 225 if (!(pollfd.revents | POLLIN)) in wait_for_pending_reads()
|
/tools/testing/selftests/bpf/ |
D | test_flow_dissector.c | 486 if (ret && !(pfd.revents & POLLIN)) in do_poll() 487 error(1, errno, "poll: unexpected event 0x%x\n", pfd.revents); in do_poll()
|
/tools/testing/selftests/vm/ |
D | userfaultfd.c | 513 if (pollfd[1].revents & POLLIN) { in uffd_poll_thread() 519 if (!(pollfd[0].revents & POLLIN)) in uffd_poll_thread() 521 pollfd[0].revents), exit(1); in uffd_poll_thread()
|
/tools/virtio/ |
D | virtio_test.c | 149 if (dev->fds[i].revents & POLLIN) { in wait_for_interrupt()
|
/tools/perf/ |
D | builtin-ftrace.c | 374 if (pollfd.revents & POLLIN) { in __cmd_ftrace()
|
D | builtin-kvm.c | 996 if (fda->entries[nr_stdin].revents & POLLIN) in kvm_events_live_report()
|
/tools/firewire/ |
D | nosy-dump.c | 980 if (pollfds[1].revents) { in main() 990 if (pollfds[0].revents) in main()
|
/tools/usb/usbip/src/ |
D | usbipd.c | 568 if (fds[i].revents & POLLIN) { in do_standalone_mode()
|
/tools/testing/selftests/cgroup/ |
D | test_freezer.c | 103 if (ret > 0 && fds.revents & POLLIN) { in cg_wait_for()
|
/tools/include/nolibc/ |
D | nolibc.h | 152 short int revents; member
|
/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 3148 EXPECT_EQ(pollfd.revents, POLLIN); in TEST() 3167 EXPECT_EQ(pollfd.revents, POLLOUT); in TEST()
|