Lines Matching refs:used
40 int used; member
61 n = poll(fds->poll, fds->used, -1); in write_sigio_thread()
68 for (i = 0; i < fds->used; i++) { in write_sigio_thread()
87 fds->used--; 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()
172 for (i = 0; i < all_sigio_fds.used; i++) { in __add_sigio_fd()
176 if (i == all_sigio_fds.used) in __add_sigio_fd()
181 for (i = 0; i < current_poll.used; i++) { in __add_sigio_fd()
186 n = current_poll.used; in __add_sigio_fd()
192 current_poll.used * sizeof(struct pollfd)); in __add_sigio_fd()
194 next_poll.used = n + 1; in __add_sigio_fd()
225 for (i = 0; i < current_poll.used; i++) { in __ignore_sigio_fd()
229 if (i == current_poll.used) in __ignore_sigio_fd()
232 err = need_poll(&next_poll, current_poll.used - 1); in __ignore_sigio_fd()
236 for (i = 0; i < current_poll.used; i++) { in __ignore_sigio_fd()
241 next_poll.used = current_poll.used - 1; in __ignore_sigio_fd()
318 .used = 1, in write_sigio_workaround()
346 .used = 0 }); in write_sigio_workaround()
365 err = need_poll(&all_sigio_fds, all_sigio_fds.used + 1); in sigio_broken()
372 all_sigio_fds.poll[all_sigio_fds.used++] = in sigio_broken()