Searched refs:current_poll (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/arch/um/os-Linux/
H A Dsigio.c47 static struct pollfds current_poll; variable in typeref:struct:pollfds
59 fds = &current_poll; write_sigio_thread()
80 tmp = current_poll; write_sigio_thread()
81 current_poll = next_poll; write_sigio_thread()
182 for (i = 0; i < current_poll.used; i++) { add_sigio_fd()
183 if (current_poll.poll[i].fd == fd) add_sigio_fd()
187 n = current_poll.used; add_sigio_fd()
192 memcpy(next_poll.poll, current_poll.poll, add_sigio_fd()
193 current_poll.used * sizeof(struct pollfd)); add_sigio_fd()
216 for (i = 0; i < current_poll.used; i++) { ignore_sigio_fd()
217 if (current_poll.poll[i].fd == fd) ignore_sigio_fd()
220 if (i == current_poll.used) ignore_sigio_fd()
223 err = need_poll(&next_poll, current_poll.used - 1); ignore_sigio_fd()
227 for (i = 0; i < current_poll.used; i++) { ignore_sigio_fd()
228 p = &current_poll.poll[i]; ignore_sigio_fd()
232 next_poll.used = current_poll.used - 1; ignore_sigio_fd()
298 current_poll = ((struct pollfds) { .poll = p, write_sigio_workaround()
325 current_poll = ((struct pollfds) { .poll = NULL, write_sigio_workaround()

Completed in 62 milliseconds