Searched refs:total_elements (Results 1 – 2 of 2) sorted by relevance
45 int total_elements; /* pool size actually allocated */ member74 return pool ? pool->total_elements - atomic_read(&pool->counter) : 0; in snd_seq_unused_cells()80 return pool ? pool->total_elements : 0; in snd_seq_total_cells()
36 return pool->total_elements - atomic_read(&pool->counter); in snd_seq_pool_available()304 if (ncells >= pool->total_elements) in snd_seq_event_dup()408 pool->total_elements = pool->size; in snd_seq_pool_init()445 pool->total_elements = 0; in snd_seq_pool_done()472 pool->total_elements = 0; in snd_seq_pool_new()515 snd_iprintf(buffer, "%sPool size : %d\n", space, pool->total_elements); in snd_seq_info_pool()