Lines Matching refs:poll
38 struct pollfd *poll; member
61 n = poll(fds->poll, fds->used, -1); in write_sigio_thread()
69 p = &fds->poll[i]; in write_sigio_thread()
88 memmove(&fds->poll[i], &fds->poll[i + 1], in write_sigio_thread()
89 (fds->used - i) * sizeof(*fds->poll)); in write_sigio_thread()
117 memcpy(new, polls->poll, polls->used * sizeof(struct pollfd)); in need_poll()
118 kfree(polls->poll); in need_poll()
120 polls->poll = new; in need_poll()
173 if (all_sigio_fds.poll[i].fd == fd) in __add_sigio_fd()
179 p = &all_sigio_fds.poll[i]; in __add_sigio_fd()
182 if (current_poll.poll[i].fd == fd) in __add_sigio_fd()
191 memcpy(next_poll.poll, current_poll.poll, in __add_sigio_fd()
193 next_poll.poll[n] = *p; in __add_sigio_fd()
226 if (current_poll.poll[i].fd == fd) in __ignore_sigio_fd()
237 p = ¤t_poll.poll[i]; in __ignore_sigio_fd()
239 next_poll.poll[n++] = *p; 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()
372 all_sigio_fds.poll[all_sigio_fds.used++] = in sigio_broken()