Lines Matching refs:pfd
326 static struct pollfd pfd; variable
332 pfd.fd = dfd; in quiet_period()
333 pfd.events = POLLIN; in quiet_period()
334 pfd.revents = 0; in quiet_period()
335 while (poll(&pfd, 1, short_time) == 1) { in quiet_period()
338 if (poll(&pfd, 1, long_time) == 1) { in quiet_period()
372 pfd.fd = dfd; in first_packet()
373 pfd.events = POLLIN; in first_packet()
374 pollret = poll(&pfd, 1, long_time); in first_packet()
443 pfd.fd = dfd; in many_packets()
444 pfd.events = POLLIN; in many_packets()
445 while (pollret = poll(&pfd, 1, zero_time)) { in many_packets()
468 pfd.fd = dfd; in many_packets()
469 pfd.events = POLLIN|POLLOUT; in many_packets()
470 pollret = poll(&pfd, 1, long_time); in many_packets()
476 if (pfd.revents & POLLOUT) { in many_packets()
479 } else if (!(pfd.revents & POLLIN)) { in many_packets()
485 pfd.fd = dfd; in many_packets()
486 pfd.events = POLLIN; in many_packets()
487 while ((incount < reccount) && (poll(&pfd, 1, long_time) == 1)) { in many_packets()