Lines Matching defs:fifo
9 * tty -> DLCI fifo -> scheduler -> GSM MUX data queue ---o-> ldisc
168 struct kfifo fifo; /* Queue fifo for the DLCI */
857 /* Clear DLCI write fifo first */
859 kfifo_reset(&dlci->fifo);
1184 len = kfifo_len(&dlci->fifo);
1212 WARN_ON(len != kfifo_out_locked(&dlci->fifo, dp, len,
2645 if (kfifo_alloc(&dlci->fifo, TX_SIZE, GFP_KERNEL) < 0) {
2690 kfifo_free(&dlci->fifo);
4313 /* Stuff the bytes into the fifo queue */
4314 sent = kfifo_in_locked(&dlci->fifo, buf, len, &dlci->lock);
4325 return kfifo_avail(&dlci->fifo);
4333 return kfifo_len(&dlci->fifo);
4348 kfifo_reset(&dlci->fifo);