Searched refs:total_elements (Results 1 – 2 of 2) sorted by relevance
30 int total_elements; /* pool size actually allocated */ member60 return pool ? pool->total_elements - atomic_read(&pool->counter) : 0; in snd_seq_unused_cells()66 return pool ? pool->total_elements : 0; in snd_seq_total_cells()
24 return pool->total_elements - atomic_read(&pool->counter); in snd_seq_pool_available()297 if (ncells >= pool->total_elements) in snd_seq_event_dup()405 pool->total_elements = pool->size; in snd_seq_pool_init()442 pool->total_elements = 0; in snd_seq_pool_done()467 pool->total_elements = 0; in snd_seq_pool_new()499 snd_iprintf(buffer, "%sPool size : %d\n", space, pool->total_elements); in snd_seq_info_pool()