Searched refs:pfd (Results 1 – 3 of 3) sorted by relevance
249 struct pollfd pfd; in test_evtchn() local251 pfd.fd = xenevtchn_fd(xce_recip); in test_evtchn()252 pfd.events = POLLIN; in test_evtchn()253 pfd.revents = 0; in test_evtchn()254 int r = poll(&pfd,1,0); in test_evtchn()258 if (pfd.revents & POLLIN) { in test_evtchn()266 if (test_send_port>=0 && (pfd.revents & POLLIN)) { in test_evtchn()270 } else if (test_send_port==-1 && !(pfd.revents & POLLIN) && in test_evtchn()275 test_which, fd_desc, test_send_port, pfd.revents); in test_evtchn()
293 struct pollfd pfd[1]; in qmp_read() local297 pfd[0].fd = qfd; in qmp_read()298 pfd[0].events = POLLIN; in qmp_read()299 while ((n = poll(pfd, 1, 10)) > 0) { in qmp_read()300 if (pfd[0].revents & POLLIN) { in qmp_read()
266 struct pollfd pfd; in destroy_conn() local267 pfd.fd = conn->fd; in destroy_conn()268 pfd.events = POLLOUT; in destroy_conn()271 && poll(&pfd, 1, 0) == 1) in destroy_conn()
Completed in 8 milliseconds