Lines Matching refs:pfd
324 static struct pollfd pfd; variable
330 pfd.fd = dfd; in quiet_period()
331 pfd.events = POLLIN; in quiet_period()
332 pfd.revents = 0; in quiet_period()
333 while (poll(&pfd, 1, short_time) == 1) { in quiet_period()
336 if (poll(&pfd, 1, long_time) == 1) { in quiet_period()
370 pfd.fd = dfd; in first_packet()
371 pfd.events = POLLIN; in first_packet()
372 pollret = poll(&pfd, 1, long_time); in first_packet()
441 pfd.fd = dfd; in many_packets()
442 pfd.events = POLLIN; in many_packets()
443 while (pollret = poll(&pfd, 1, zero_time)) { in many_packets()
466 pfd.fd = dfd; in many_packets()
467 pfd.events = POLLIN|POLLOUT; in many_packets()
468 pollret = poll(&pfd, 1, long_time); in many_packets()
474 if (pfd.revents & POLLOUT) { in many_packets()
477 } else if (!(pfd.revents & POLLIN)) { in many_packets()
483 pfd.fd = dfd; in many_packets()
484 pfd.events = POLLIN; in many_packets()
485 while ((incount < reccount) && (poll(&pfd, 1, long_time) == 1)) { in many_packets()