Lines Matching refs:current_poll
48 static struct pollfds current_poll; variable
60 fds = ¤t_poll; in write_sigio_thread()
81 swap(current_poll, next_poll); in write_sigio_thread()
180 for (i = 0; i < current_poll.used; i++) { in __add_sigio_fd()
181 if (current_poll.poll[i].fd == fd) in __add_sigio_fd()
185 n = current_poll.used; in __add_sigio_fd()
190 memcpy(next_poll.poll, current_poll.poll, in __add_sigio_fd()
191 current_poll.used * sizeof(struct pollfd)); in __add_sigio_fd()
224 for (i = 0; i < current_poll.used; i++) { in __ignore_sigio_fd()
225 if (current_poll.poll[i].fd == fd) in __ignore_sigio_fd()
228 if (i == current_poll.used) in __ignore_sigio_fd()
231 err = need_poll(&next_poll, current_poll.used - 1); in __ignore_sigio_fd()
235 for (i = 0; i < current_poll.used; i++) { in __ignore_sigio_fd()
236 p = ¤t_poll.poll[i]; in __ignore_sigio_fd()
240 next_poll.used = current_poll.used - 1; in __ignore_sigio_fd()
316 current_poll = ((struct pollfds) { .poll = p, in write_sigio_workaround()
343 current_poll = ((struct pollfds) { .poll = NULL, in write_sigio_workaround()