Searched refs:pollfds_size (Results 1 – 3 of 3) sorted by relevance
454 unsigned int pollfds_size = 32; in cras_server_run() local457 pollfds = malloc(sizeof(*pollfds) * pollfds_size); in cras_server_run()549 if (poll_size_needed > pollfds_size) { in cras_server_run()550 pollfds_size = 2 * poll_size_needed; in cras_server_run()552 sizeof(*pollfds) * pollfds_size); in cras_server_run()
43 size_t pollfds_size; member
854 if (thread->num_pollfds >= thread->pollfds_size) { in add_pollfd()855 thread->pollfds_size *= 2; in add_pollfd()859 thread->pollfds_size); in add_pollfd()1244 thread->pollfds_size = 32; in audio_thread_create()1247 * thread->pollfds_size); in audio_thread_create()