Lines Matching defs:pfd
266 struct pollfd pfd[1];
269 pfd[0].fd = uctrl->sock;
270 pfd[0].events = POLLIN;
271 r = poll(pfd, 1, timeout * MSEC_PER_SEC);
279 if (r > 0 && pfd[0].revents & POLLERR) {
347 struct pollfd pfd[1];
350 pfd[0].fd = conn->sock;
351 pfd[0].events = POLLIN;
353 r = poll(pfd, 1, 10000);
362 if (!(pfd[0].revents & POLLIN)) {