Lines Matching defs:fifo
140 struct kfifo fifo; /* Queue fifo for the DLCI */
919 len = kfifo_len(&dlci->fifo);
950 WARN_ON(len != kfifo_out_locked(&dlci->fifo, dp, len,
1563 kfifo_reset(&dlci->fifo);
1811 if (kfifo_alloc(&dlci->fifo, 4096, GFP_KERNEL) < 0) {
1849 kfifo_free(&dlci->fifo);
3228 /* Stuff the bytes into the fifo queue */
3229 sent = kfifo_in_locked(&dlci->fifo, buf, len, &dlci->lock);
3240 return TX_SIZE - kfifo_len(&dlci->fifo);
3248 return kfifo_len(&dlci->fifo);
3263 kfifo_reset(&dlci->fifo);