Searched refs:pollfds_size (Results 1 – 3 of 3) sorted by relevance
564 unsigned int pollfds_size = 32; in cras_server_run() local567 pollfds = malloc(sizeof(*pollfds) * pollfds_size); in cras_server_run()623 if (poll_size_needed > pollfds_size) { in cras_server_run()624 pollfds_size = 2 * poll_size_needed; in cras_server_run()626 sizeof(*pollfds) * pollfds_size); in cras_server_run()
43 size_t pollfds_size; member
752 if (thread->num_pollfds >= thread->pollfds_size) { in add_pollfd()753 thread->pollfds_size *= 2; in add_pollfd()756 sizeof(*thread->pollfds) * thread->pollfds_size); in add_pollfd()1207 thread->pollfds_size = 32; in audio_thread_create()1209 thread->pollfds_size); in audio_thread_create()