Lines Matching refs:pool
89 return snd_seq_total_cells(client->pool) > 0; in snd_seq_write_pool_allocated()
231 client->pool = snd_seq_pool_new(poolsize); in seq_create_client1()
232 if (client->pool == NULL) { in seq_create_client1()
263 snd_seq_pool_delete(&client->pool); in seq_create_client1()
280 if (client->pool) in seq_free_client1()
281 snd_seq_pool_delete(&client->pool); in seq_free_client1()
968 err = snd_seq_event_dup(client->pool, event, &cell, !blocking || atomic, in snd_seq_client_enqueue_event()
1035 if (!client->accept_output || client->pool == NULL) in snd_seq_write()
1042 if (client->pool->size > 0 && !snd_seq_write_pool_allocated(client)) { in snd_seq_write()
1043 err = snd_seq_pool_init(client->pool); in snd_seq_write()
1144 snd_seq_pool_poll_wait(client->pool, file, wait)) in snd_seq_poll()
1841 info->output_pool = cptr->pool->size; in snd_seq_ioctl_get_client_pool()
1842 info->output_room = cptr->pool->room; in snd_seq_ioctl_get_client_pool()
1844 info->output_free = snd_seq_unused_cells(cptr->pool); in snd_seq_ioctl_get_client_pool()
1870 info->output_pool != client->pool->size)) { in snd_seq_ioctl_set_client_pool()
1873 if (atomic_read(&client->pool->counter)) in snd_seq_ioctl_set_client_pool()
1876 snd_seq_pool_mark_closing(client->pool); in snd_seq_ioctl_set_client_pool()
1877 snd_seq_pool_done(client->pool); in snd_seq_ioctl_set_client_pool()
1879 client->pool->size = info->output_pool; in snd_seq_ioctl_set_client_pool()
1880 rc = snd_seq_pool_init(client->pool); in snd_seq_ioctl_set_client_pool()
1895 info->output_room <= client->pool->size) { in snd_seq_ioctl_set_client_pool()
1896 client->pool->room = info->output_room; in snd_seq_ioctl_set_client_pool()
2387 if (snd_seq_pool_poll_wait(client->pool, file, wait)) in snd_seq_kernel_client_write_poll()
2487 snd_seq_info_pool(buffer, client->pool, " "); in snd_seq_info_clients_read()
2490 client->data.user.fifo->pool) { in snd_seq_info_clients_read()
2492 snd_seq_info_pool(buffer, client->data.user.fifo->pool, " "); in snd_seq_info_clients_read()