Home
last modified time | relevance | path

Searched refs:revents (Results 1 – 11 of 11) sorted by relevance

/tools/lib/api/fd/
Darray.c73 int fdarray__add(struct fdarray *fda, int fd, short revents) in fdarray__add() argument
82 fda->entries[fda->nr].events = revents; in fdarray__add()
87 int fdarray__filter(struct fdarray *fda, short revents, in fdarray__filter() argument
96 if (fda->entries[fd].revents & revents) { in fdarray__filter()
Darray.h34 int fdarray__add(struct fdarray *fda, int fd, short revents);
36 int fdarray__filter(struct fdarray *fda, short revents,
/tools/perf/tests/
Dfdarray.c5 static void fdarray__init_revents(struct fdarray *fda, short revents) in fdarray__init_revents() argument
13 fda->entries[fd].revents = revents; in fdarray__init_revents()
55 fda->entries[2].revents = POLLIN; in test__fdarray__filter()
74 fda->entries[0].revents = POLLIN; in test__fdarray__filter()
76 fda->entries[3].revents = POLLIN; in test__fdarray__filter()
/tools/testing/selftests/net/
Dpsock_tpacket.c247 pfd.revents = 0; in walk_v1_v2_rx()
385 pfd.revents = 0; in walk_v1_v2_tx()
554 pfd.revents = 0; in walk_v3_rx()
/tools/hv/
Dhv_vss_daemon.c209 pfd.revents = 0; in main()
Dhv_kvp_daemon.c1474 pfd.revents = 0; in main()
/tools/usb/ffs-aio-example/simple/device_app/
Daio_simple.c173 if (ret && (pfds[0].revents & POLLIN)) { in handle_ep0()
/tools/virtio/
Dvirtio_test.c148 if (dev->fds[i].revents & POLLIN) { in wait_for_interrupt()
/tools/firewire/
Dnosy-dump.c993 if (pollfds[1].revents) { in main()
1003 if (pollfds[0].revents) in main()
/tools/usb/usbip/src/
Dusbipd.c566 if (fds[i].revents & POLLIN) { in do_standalone_mode()
/tools/perf/
Dbuiltin-kvm.c952 if (fda->entries[nr_stdin].revents & POLLIN) in kvm_events_live_report()