Lines Matching defs:pfd
288 struct pollfd pfd[1];
291 pfd[0].fd = uctrl->sock;
292 pfd[0].events = POLLIN;
293 r = poll(pfd, 1, timeout * MSEC_PER_SEC);
301 if (r > 0 && pfd[0].revents & POLLERR) {
369 struct pollfd pfd[1];
372 pfd[0].fd = conn->sock;
373 pfd[0].events = POLLIN;
375 r = poll(pfd, 1, 10000);
384 if (!(pfd[0].revents & POLLIN)) {