Lines Matching refs:n_fds
750 int n_fds; member
765 if (!self->n_fds) return 0; in devpoll_flush()
767 size = sizeof(struct pollfd)*self->n_fds; in devpoll_flush()
768 self->n_fds = 0; in devpoll_flush()
799 self->fds[self->n_fds].fd = fd; in internal_devpoll_register()
800 self->fds[self->n_fds].events = POLLREMOVE; in internal_devpoll_register()
802 if (++self->n_fds == self->max_n_fds) { in internal_devpoll_register()
808 self->fds[self->n_fds].fd = fd; in internal_devpoll_register()
809 self->fds[self->n_fds].events = (signed short)events; in internal_devpoll_register()
811 if (++self->n_fds == self->max_n_fds) { in internal_devpoll_register()
877 self->fds[self->n_fds].fd = fd; in select_devpoll_unregister_impl()
878 self->fds[self->n_fds].events = POLLREMOVE; in select_devpoll_unregister_impl()
880 if (++self->n_fds == self->max_n_fds) { in select_devpoll_unregister_impl()
1107 self->n_fds = 0; in newDevPollObject()