Lines Matching refs:current_poll
47 static struct pollfds current_poll; variable
59 fds = ¤t_poll; in write_sigio_thread()
80 tmp = current_poll; in write_sigio_thread()
81 current_poll = next_poll; in write_sigio_thread()
182 for (i = 0; i < current_poll.used; i++) { in add_sigio_fd()
183 if (current_poll.poll[i].fd == fd) in add_sigio_fd()
187 n = current_poll.used; in add_sigio_fd()
192 memcpy(next_poll.poll, current_poll.poll, in add_sigio_fd()
193 current_poll.used * sizeof(struct pollfd)); in add_sigio_fd()
216 for (i = 0; i < current_poll.used; i++) { in ignore_sigio_fd()
217 if (current_poll.poll[i].fd == fd) in ignore_sigio_fd()
220 if (i == current_poll.used) in ignore_sigio_fd()
223 err = need_poll(&next_poll, current_poll.used - 1); in ignore_sigio_fd()
227 for (i = 0; i < current_poll.used; i++) { in ignore_sigio_fd()
228 p = ¤t_poll.poll[i]; in ignore_sigio_fd()
232 next_poll.used = current_poll.used - 1; in ignore_sigio_fd()
298 current_poll = ((struct pollfds) { .poll = p, in write_sigio_workaround()
325 current_poll = ((struct pollfds) { .poll = NULL, in write_sigio_workaround()