Lines Matching full:poll
10 #include <poll.h>
39 struct pollfd *poll; member
62 n = poll(fds->poll, fds->used, -1); in write_sigio_thread()
66 printk(UM_KERN_ERR "write_sigio_thread : poll returned " in write_sigio_thread()
70 p = &fds->poll[i]; in write_sigio_thread()
87 memmove(&fds->poll[i], &fds->poll[i + 1], in write_sigio_thread()
88 (fds->used - i) * sizeof(*fds->poll)); in write_sigio_thread()
116 memcpy(new, polls->poll, polls->used * sizeof(struct pollfd)); in need_poll()
117 kfree(polls->poll); in need_poll()
119 polls->poll = new; in need_poll()
172 if (all_sigio_fds.poll[i].fd == fd) in __add_sigio_fd()
178 p = &all_sigio_fds.poll[i]; in __add_sigio_fd()
181 if (current_poll.poll[i].fd == fd) in __add_sigio_fd()
190 memcpy(next_poll.poll, current_poll.poll, in __add_sigio_fd()
192 next_poll.poll[n] = *p; in __add_sigio_fd()
225 if (current_poll.poll[i].fd == fd) in __ignore_sigio_fd()
236 p = ¤t_poll.poll[i]; in __ignore_sigio_fd()
238 next_poll.poll[n++] = *p; in __ignore_sigio_fd()
265 "poll\n"); in setup_initial_poll()
316 current_poll = ((struct pollfds) { .poll = p, in write_sigio_workaround()
343 current_poll = ((struct pollfds) { .poll = NULL, in write_sigio_workaround()
371 all_sigio_fds.poll[all_sigio_fds.used++] = in sigio_broken()