Lines Matching refs:pool
26 f->pool = snd_seq_pool_new(poolsize); in snd_seq_fifo_new()
27 if (f->pool == NULL) { in snd_seq_fifo_new()
31 if (snd_seq_pool_init(f->pool) < 0) { in snd_seq_fifo_new()
32 snd_seq_pool_delete(&f->pool); in snd_seq_fifo_new()
60 if (f->pool) in snd_seq_fifo_delete()
61 snd_seq_pool_mark_closing(f->pool); in snd_seq_fifo_delete()
72 if (f->pool) { in snd_seq_fifo_delete()
73 snd_seq_pool_done(f->pool); in snd_seq_fifo_delete()
74 snd_seq_pool_delete(&f->pool); in snd_seq_fifo_delete()
112 err = snd_seq_event_dup(f->pool, event, &cell, 1, NULL, NULL); /* always non-blocking */ in snd_seq_fifo_event_in()
230 if (snd_BUG_ON(!f || !f->pool)) in snd_seq_fifo_resize()
244 oldpool = f->pool; in snd_seq_fifo_resize()
247 f->pool = newpool; in snd_seq_fifo_resize()
279 cells = snd_seq_unused_cells(f->pool); in snd_seq_fifo_unused_cells()