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()
181 for (i = 0; i < current_poll.used; i++) { in __add_sigio_fd()
182 if (current_poll.poll[i].fd == fd) in __add_sigio_fd()
186 n = current_poll.used; in __add_sigio_fd()
191 memcpy(next_poll.poll, current_poll.poll, in __add_sigio_fd()
192 current_poll.used * sizeof(struct pollfd)); in __add_sigio_fd()
225 for (i = 0; i < current_poll.used; i++) { in __ignore_sigio_fd()
226 if (current_poll.poll[i].fd == fd) in __ignore_sigio_fd()
229 if (i == current_poll.used) in __ignore_sigio_fd()
232 err = need_poll(&next_poll, current_poll.used - 1); in __ignore_sigio_fd()
236 for (i = 0; i < current_poll.used; i++) { in __ignore_sigio_fd()
237 p = ¤t_poll.poll[i]; in __ignore_sigio_fd()
241 next_poll.used = current_poll.used - 1; in __ignore_sigio_fd()
317 current_poll = ((struct pollfds) { .poll = p, in write_sigio_workaround()
344 current_poll = ((struct pollfds) { .poll = NULL, in write_sigio_workaround()