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