Lines Matching refs:pfds
159 * of these. The ios array contains input/output information, pfds holds
166 struct pollfd *pfds;
231 struct pollfd *pfds;
1593 free(tp->pfds);
1605 tp->pfds = calloc(ndevs, sizeof(struct pollfd));
1606 memset(tp->pfds, 0, ndevs * sizeof(struct pollfd));
1610 pfd = tp->pfds;
1666 struct pollfd *pfd = tp->pfds;
1710 struct pollfd *pfd = tp->pfds;
1744 struct pollfd *pfd = tp->pfds;
1802 ndone = poll(tp->pfds, ndevs, to_val);
2183 ns->pfds = realloc(ns->pfds, (ns->connects+1) * sizeof(struct pollfd));
2196 ns->pfds = realloc(ns->pfds, (ns->connects+1) * sizeof(struct pollfd));
2465 pfd = &ns->pfds[1];
2482 ns->pfds[0].fd = ns->listen_fd;
2483 ns->pfds[0].events = POLLIN;
2485 pfd = &ns->pfds[1];
2503 events = poll(ns->pfds, ns->connects + 1, -1);
2510 if (ns->pfds[0].revents & POLLIN) {
2533 ns->pfds = malloc(sizeof(struct pollfd));
2572 free(ns->pfds);