Lines Matching defs:pollfds
349 static struct pollfd *pollfds = NULL;
363 if (pollfds[i].fd == fd)
368 if (pollfds[i].fd == -1) {
369 pollfds[i].fd = fd;
376 newfds = realloc(pollfds, new_num * sizeof (struct pollfd));
390 pollfds = newfds;
404 if (pollfds[i].fd == fd) {
405 pollfds[i].fd = -1;
2079 if (poll(pollfds, pollfd_num, -1) < 0) {
2086 if (!(pollfds[i].revents & POLLIN))
2088 if (pollfds[i].fd == eventpipe_read) {
2092 if (pollfds[i].fd == rtsock) {
2096 if (pollfds[i].fd == mibsock) {
2100 if (pollfds[i].fd == cmdsock) {
2113 if (pollfds[i].fd == pi->pi_sock) {