Lines Matching refs:cell

100 	struct snd_seq_event_cell *cell;  in snd_seq_fifo_clear()  local
109 while ((cell = fifo_cell_out(f)) != NULL) { in snd_seq_fifo_clear()
110 snd_seq_cell_free(cell); in snd_seq_fifo_clear()
120 struct snd_seq_event_cell *cell; in snd_seq_fifo_event_in() local
128 err = snd_seq_event_dup(f->pool, event, &cell, 1, NULL, NULL); /* always non-blocking */ in snd_seq_fifo_event_in()
139 f->tail->next = cell; in snd_seq_fifo_event_in()
140 f->tail = cell; in snd_seq_fifo_event_in()
142 f->head = cell; in snd_seq_fifo_event_in()
143 cell->next = NULL; in snd_seq_fifo_event_in()
160 struct snd_seq_event_cell *cell; in fifo_cell_out() local
162 if ((cell = f->head) != NULL) { in fifo_cell_out()
163 f->head = cell->next; in fifo_cell_out()
166 if (f->tail == cell) in fifo_cell_out()
169 cell->next = NULL; in fifo_cell_out()
173 return cell; in fifo_cell_out()
180 struct snd_seq_event_cell *cell; in snd_seq_fifo_cell_out() local
190 while ((cell = fifo_cell_out(f)) == NULL) { in snd_seq_fifo_cell_out()
208 *cellp = cell; in snd_seq_fifo_cell_out()
215 struct snd_seq_event_cell *cell) in snd_seq_fifo_cell_putback() argument
219 if (cell) { in snd_seq_fifo_cell_putback()
221 cell->next = f->head; in snd_seq_fifo_cell_putback()
222 f->head = cell; in snd_seq_fifo_cell_putback()
224 f->tail = cell; in snd_seq_fifo_cell_putback()
244 struct snd_seq_event_cell *cell, *next, *oldhead; in snd_seq_fifo_resize() local
275 for (cell = oldhead; cell; cell = next) { in snd_seq_fifo_resize()
276 next = cell->next; in snd_seq_fifo_resize()
277 snd_seq_cell_free(cell); in snd_seq_fifo_resize()