Home
last modified time | relevance | path

Searched refs:total_elements (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/sound/core/seq/
Dseq_memory.h30 int total_elements; /* pool size actually allocated */ member
60 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()
Dseq_memory.c24 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()