Lines Matching defs:pollfds
258 struct pollfd pollfds[2];
278 pollfds[0].fd = rtsock_v4;
279 pollfds[0].events = POLLIN;
280 pollfds[1].fd = eventpipe_read;
281 pollfds[1].events = POLLIN;
283 if (poll(pollfds, pollfd_num, -1) < 0) {
294 if ((pollfds[i].fd < 0) ||
295 !(pollfds[i].revents & POLLIN))
297 if (pollfds[i].fd == rtsock_v4) {
301 if (pollfds[i].fd == eventpipe_read)