Lines Matching refs:current_poll
47 static struct pollfds current_poll;
59 fds = ¤t_poll;
80 tmp = current_poll;
81 current_poll = next_poll;
181 for (i = 0; i < current_poll.used; i++) {
182 if (current_poll.poll[i].fd == fd)
186 n = current_poll.used;
191 memcpy(next_poll.poll, current_poll.poll,
192 current_poll.used * sizeof(struct pollfd));
225 for (i = 0; i < current_poll.used; i++) {
226 if (current_poll.poll[i].fd == fd)
229 if (i == current_poll.used)
232 err = need_poll(&next_poll, current_poll.used - 1);
236 for (i = 0; i < current_poll.used; i++) {
237 p = ¤t_poll.poll[i];
241 next_poll.used = current_poll.used - 1;
317 current_poll = ((struct pollfds) { .poll = p,
344 current_poll = ((struct pollfds) { .poll = NULL,