Searched refs:revents (Results 1 – 11 of 11) sorted by relevance
73 int fdarray__add(struct fdarray *fda, int fd, short revents) in fdarray__add() argument82 fda->entries[fda->nr].events = revents; in fdarray__add()87 int fdarray__filter(struct fdarray *fda, short revents, in fdarray__filter() argument96 if (fda->entries[fd].revents & revents) { in fdarray__filter()
34 int fdarray__add(struct fdarray *fda, int fd, short revents);36 int fdarray__filter(struct fdarray *fda, short revents,
5 static void fdarray__init_revents(struct fdarray *fda, short revents) in fdarray__init_revents() argument13 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()
247 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()
209 pfd.revents = 0; in main()
1474 pfd.revents = 0; in main()
173 if (ret && (pfds[0].revents & POLLIN)) { in handle_ep0()
148 if (dev->fds[i].revents & POLLIN) { in wait_for_interrupt()
993 if (pollfds[1].revents) { in main()1003 if (pollfds[0].revents) in main()
566 if (fds[i].revents & POLLIN) { in do_standalone_mode()
952 if (fda->entries[nr_stdin].revents & POLLIN) in kvm_events_live_report()