Lines Matching refs:poll
9 #include <poll.h>
38 struct pollfd *poll;
61 n = poll(fds->poll, fds->used, -1);
65 printk(UM_KERN_ERR "write_sigio_thread : poll returned "
69 p = &fds->poll[i];
88 memmove(&fds->poll[i], &fds->poll[i + 1],
89 (fds->used - i) * sizeof(*fds->poll));
117 memcpy(new, polls->poll, polls->used * sizeof(struct pollfd));
118 kfree(polls->poll);
120 polls->poll = new;
173 if (all_sigio_fds.poll[i].fd == fd)
179 p = &all_sigio_fds.poll[i];
182 if (current_poll.poll[i].fd == fd)
191 memcpy(next_poll.poll, current_poll.poll,
193 next_poll.poll[n] = *p;
226 if (current_poll.poll[i].fd == fd)
237 p = ¤t_poll.poll[i];
239 next_poll.poll[n++] = *p;
266 "poll\n");
317 current_poll = ((struct pollfds) { .poll = p,
344 current_poll = ((struct pollfds) { .poll = NULL,
372 all_sigio_fds.poll[all_sigio_fds.used++] =