Lines Matching refs:current_poll
50 static struct pollfds current_poll; variable
62 fds = ¤t_poll; in write_sigio_thread()
83 tmp = current_poll; in write_sigio_thread()
84 current_poll = next_poll; in write_sigio_thread()
185 for (i = 0; i < current_poll.used; i++) { in add_sigio_fd()
186 if (current_poll.poll[i].fd == fd) in add_sigio_fd()
190 n = current_poll.used; in add_sigio_fd()
195 memcpy(next_poll.poll, current_poll.poll, in add_sigio_fd()
196 current_poll.used * sizeof(struct pollfd)); in add_sigio_fd()
219 for (i = 0; i < current_poll.used; i++) { in ignore_sigio_fd()
220 if (current_poll.poll[i].fd == fd) in ignore_sigio_fd()
223 if (i == current_poll.used) in ignore_sigio_fd()
226 err = need_poll(&next_poll, current_poll.used - 1); in ignore_sigio_fd()
230 for (i = 0; i < current_poll.used; i++) { in ignore_sigio_fd()
231 p = ¤t_poll.poll[i]; in ignore_sigio_fd()
235 next_poll.used = current_poll.used - 1; in ignore_sigio_fd()
301 current_poll = ((struct pollfds) { .poll = p, in write_sigio_workaround()
328 current_poll = ((struct pollfds) { .poll = NULL, in write_sigio_workaround()