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()298 if (ncells >= pool->total_elements) in snd_seq_event_dup()406 pool->total_elements = pool->size; in snd_seq_pool_init()443 pool->total_elements = 0; in snd_seq_pool_done()468 pool->total_elements = 0; in snd_seq_pool_new()500 snd_iprintf(buffer, "%sPool size : %d\n", space, pool->total_elements); in snd_seq_info_pool()