Searched refs:numfd (Results 1 – 2 of 2) sorted by relevance
112 int numfd; in netio_dispatch() local142 numfd = 0; in netio_dispatch()146 if (handler->fd != -1 && numfd < MAX_NETIO_FDS) { in netio_dispatch()147 fds[numfd].fd = handler->fd; in netio_dispatch()148 fds[numfd].events = 0; in netio_dispatch()149 fds[numfd].revents = 0; in netio_dispatch()150 handler->pfd = numfd; in netio_dispatch()152 fds[numfd].events |= POLLIN; in netio_dispatch()155 fds[numfd].events |= POLLOUT; in netio_dispatch()157 numfd++; in netio_dispatch()[all …]
1636 int* avail, int numavail, size_t numfd)1648 pif->maxout = (int)numfd;1650 pif->out = (struct port_comm**)calloc(numfd,