Lines Matching full:pollv
141 static struct pollfd *pollv;
1877 if (pollv != NULL)
1878 free (pollv);
1879 pollv = (struct pollfd *) malloc(nprocs * sizeof pollv[0]);
1880 if (pollv == NULL) {
1889 pollv[j].fd = tcp->pfd;
1890 pollv[j].events = POLLWANT;
1918 proc_poll(pollv, nfds, timeout)
1919 struct pollfd *pollv;
1934 if (pollv[i].fd == pollinfo.fd)
1935 pollv[i].revents = pollinfo.revents;
1937 pollv[i].revents = 0;
2039 last < nprocs && (pollv[last].revents & POLLWANT)) {
2045 tcp = pfd2tcb(pollv[last].fd);
2047 return pollv[last].fd;
2053 if (pollv[j].revents & (POLLHUP | POLLERR)) {
2054 tcp = pfd2tcb(pollv[j].fd);
2062 if (pollv[j].revents & POLLWANT) {
2064 return pollv[j].fd;
2130 if (poll(pollv, nprocs, INFTIM) < 0) {
2136 if (proc_poll(pollv, nprocs, INFTIM) < 0) {