Lines Matching refs:cell
95 struct snd_seq_event_cell *cell; in snd_seq_fifo_clear() local
104 while ((cell = fifo_cell_out(f)) != NULL) { in snd_seq_fifo_clear()
105 snd_seq_cell_free(cell); in snd_seq_fifo_clear()
115 struct snd_seq_event_cell *cell; in snd_seq_fifo_event_in() local
123 err = snd_seq_event_dup(f->pool, event, &cell, 1, NULL); /* always non-blocking */ in snd_seq_fifo_event_in()
134 f->tail->next = cell; in snd_seq_fifo_event_in()
135 f->tail = cell; in snd_seq_fifo_event_in()
137 f->head = cell; in snd_seq_fifo_event_in()
154 struct snd_seq_event_cell *cell; in fifo_cell_out() local
156 if ((cell = f->head) != NULL) { in fifo_cell_out()
157 f->head = cell->next; in fifo_cell_out()
160 if (f->tail == cell) in fifo_cell_out()
163 cell->next = NULL; in fifo_cell_out()
167 return cell; in fifo_cell_out()
174 struct snd_seq_event_cell *cell; in snd_seq_fifo_cell_out() local
184 while ((cell = fifo_cell_out(f)) == NULL) { in snd_seq_fifo_cell_out()
202 *cellp = cell; in snd_seq_fifo_cell_out()
209 struct snd_seq_event_cell *cell) in snd_seq_fifo_cell_putback() argument
213 if (cell) { in snd_seq_fifo_cell_putback()
215 cell->next = f->head; in snd_seq_fifo_cell_putback()
216 f->head = cell; in snd_seq_fifo_cell_putback()
236 struct snd_seq_event_cell *cell, *next, *oldhead; in snd_seq_fifo_resize() local
263 for (cell = oldhead; cell; cell = next) { in snd_seq_fifo_resize()
264 next = cell->next; in snd_seq_fifo_resize()
265 snd_seq_cell_free(cell); in snd_seq_fifo_resize()