kfifo_len 904 drivers/char/sonypi.c if ((kfifo_len(&sonypi_device.fifo) == 0) && kfifo_len 909 drivers/char/sonypi.c kfifo_len(&sonypi_device.fifo) != 0); kfifo_len 932 drivers/char/sonypi.c if (kfifo_len(&sonypi_device.fifo)) kfifo_len 127 drivers/iio/buffer/kfifo_buf.c samples = kfifo_len(&kf->kf); kfifo_len 263 drivers/mailbox/omap-mailbox.c while (kfifo_len(&mq->fifo) >= sizeof(msg)) { kfifo_len 638 drivers/media/i2c/cx25840/cx25840-ir.c if (kfifo_len(&ir_state->rx_kfifo) >= CX25840_IR_RX_KFIFO_SIZE / 2) kfifo_len 866 drivers/media/i2c/cx25840/cx25840-ir.c n = CX25840_IR_TX_KFIFO_SIZE - kfifo_len(ir_state->tx_kfifo); kfifo_len 639 drivers/media/pci/cx23885/cx23888-ir.c if (kfifo_len(&state->rx_kfifo) >= CX23888_IR_RX_KFIFO_SIZE / 2) kfifo_len 1309 drivers/media/pci/meye/meye.c if (kfifo_len(&meye.doneq) == 0 && file->f_flags & O_NONBLOCK) { kfifo_len 1315 drivers/media/pci/meye/meye.c kfifo_len(&meye.doneq) != 0) < 0) { kfifo_len 1415 drivers/media/pci/meye/meye.c if (kfifo_len(&meye.doneq)) kfifo_len 325 drivers/media/platform/coda/coda.h return kfifo_len(&ctx->bitstream_fifo); kfifo_len 1117 drivers/media/radio/radio-si476x.c fifo_len = kfifo_len(&radio->core->rds_fifo); kfifo_len 441 drivers/mmc/core/sdio_uart.c if (tty == NULL || !kfifo_len(xmit) || kfifo_len 454 drivers/mmc/core/sdio_uart.c len = kfifo_len(xmit); kfifo_len 803 drivers/mmc/core/sdio_uart.c return FIFO_SIZE - kfifo_len(&port->xmit_fifo); kfifo_len 809 drivers/mmc/core/sdio_uart.c return kfifo_len(&port->xmit_fifo); kfifo_len 848 drivers/mtd/sm_ftl.c if (!kfifo_len(&zone->free_sectors)) { kfifo_len 855 drivers/mtd/sm_ftl.c i %= (kfifo_len(&zone->free_sectors) / 2); kfifo_len 1388 drivers/net/wireless/marvell/libertas/cmd.c if (!kfifo_len(&priv->event_fifo) && !priv->resp_len[priv->resp_idx]) kfifo_len 1420 drivers/net/wireless/marvell/libertas/cmd.c if (kfifo_len(&priv->event_fifo) || priv->resp_len[priv->resp_idx]) { kfifo_len 475 drivers/net/wireless/marvell/libertas/main.c else if (kfifo_len(&priv->event_fifo)) kfifo_len 527 drivers/net/wireless/marvell/libertas/main.c while (kfifo_len(&priv->event_fifo)) { kfifo_len 366 drivers/platform/x86/sony-laptop.c if (kfifo_len(&sony_laptop_input.fifo) != 0) kfifo_len 4088 drivers/platform/x86/sony-laptop.c if ((kfifo_len(&sonypi_compat.fifo) == 0) && kfifo_len 4093 drivers/platform/x86/sony-laptop.c kfifo_len(&sonypi_compat.fifo) != 0); kfifo_len 4116 drivers/platform/x86/sony-laptop.c if (kfifo_len(&sonypi_compat.fifo)) kfifo_len 2256 drivers/rapidio/devices/rio_mport_cdev.c if (kfifo_len(&priv->event_fifo)) kfifo_len 2280 drivers/rapidio/devices/rio_mport_cdev.c kfifo_len(&priv->event_fifo) != 0); kfifo_len 978 drivers/scsi/libiscsi_tcp.c BUG_ON(kfifo_len(&tcp_task->r2tqueue)); kfifo_len 947 drivers/staging/greybus/loopback.c if (kfifo_len(kfifo) == 0) { kfifo_len 478 drivers/staging/greybus/uart.c chars = kfifo_len(&gb_tty->write_fifo); kfifo_len 799 drivers/tty/n_gsm.c len = kfifo_len(dlci->fifo); kfifo_len 3044 drivers/tty/n_gsm.c return TX_SIZE - kfifo_len(dlci->fifo); kfifo_len 3052 drivers/tty/n_gsm.c return kfifo_len(dlci->fifo); kfifo_len 943 drivers/tty/nozomi.c if (kfifo_len(&dc->port[port].fifo_ul)) { kfifo_len 947 drivers/tty/nozomi.c kfifo_len(&dc->port[port].fifo_ul)); kfifo_len 1814 drivers/tty/nozomi.c rval = kfifo_len(&port->fifo_ul); kfifo_len 449 drivers/tty/serial/ifx6x60.c queue_length = kfifo_len(&ifx_dev->tx_fifo); kfifo_len 517 drivers/tty/serial/ifx6x60.c return IFX_SPI_FIFO_SIZE - kfifo_len(&ifx_dev->tx_fifo); kfifo_len 530 drivers/tty/serial/ifx6x60.c return kfifo_len(&ifx_dev->tx_fifo); kfifo_len 693 drivers/tty/serial/ifx6x60.c queue_length = kfifo_len(&ifx_dev->tx_fifo); kfifo_len 200 drivers/tty/serial/kgdb_nmi.c !kfifo_len(&priv->fifo))) kfifo_len 204 drivers/usb/gadget/function/u_serial.c len = kfifo_len(&port->port_write_buf); kfifo_len 693 drivers/usb/gadget/function/u_serial.c cond = (p->port_usb == NULL) || !kfifo_len(&p->port_write_buf); kfifo_len 729 drivers/usb/gadget/function/u_serial.c if (kfifo_len(&port->port_write_buf) > 0 && gser) { kfifo_len 831 drivers/usb/gadget/function/u_serial.c chars = kfifo_len(&port->port_write_buf); kfifo_len 1002 drivers/usb/gadget/function/u_serial.c count = kfifo_len(&info->con_buf); kfifo_len 485 drivers/usb/host/fhci.h return kfifo_len(kfifo) / sizeof(void *); kfifo_len 22 drivers/usb/host/xhci-dbgtty.c len = kfifo_len(&port->write_fifo); kfifo_len 254 drivers/usb/host/xhci-dbgtty.c chars = kfifo_len(&port->write_fifo); kfifo_len 981 drivers/usb/serial/cypress_m8.c chars = kfifo_len(&priv->write_fifo); kfifo_len 166 drivers/usb/serial/generic.c if (!port->write_urbs_free || !kfifo_len(&port->write_fifo)) { kfifo_len 260 drivers/usb/serial/generic.c chars = kfifo_len(&port->write_fifo) + port->tx_bytes; kfifo_len 2118 drivers/usb/serial/io_ti.c chars = kfifo_len(&port->write_fifo); kfifo_len 280 drivers/usb/serial/oti6858.c count = kfifo_len(&port->write_fifo); kfifo_len 388 drivers/usb/serial/oti6858.c chars = kfifo_len(&port->write_fifo); kfifo_len 741 drivers/usb/serial/oti6858.c count = kfifo_len(&port->write_fifo); kfifo_len 856 drivers/usb/serial/ti_usb_3410_5052.c chars = kfifo_len(&port->write_fifo); kfifo_len 256 include/linux/kfifo.h kfifo_len(__tmpq) > __tmpq->kfifo.mask; \ kfifo_len 268 include/linux/kfifo.h unsigned int __avail = kfifo_size(__tmpq) - kfifo_len(__tmpq); \ kfifo_len 302 include/linux/kfifo.h (!__recsize) ? kfifo_len(__tmp) * sizeof(*__tmp->type) : \ kfifo_len 68 samples/kfifo/bytestream-example.c printk(KERN_INFO "fifo len: %u\n", kfifo_len(&test)); kfifo_len 89 samples/kfifo/bytestream-example.c printk(KERN_INFO "queue len: %u\n", kfifo_len(&test)); kfifo_len 45 samples/kfifo/dma-example.c printk(KERN_INFO "queue len: %u\n", kfifo_len(&fifo)); kfifo_len 121 samples/kfifo/dma-example.c ret = kfifo_len(&fifo); kfifo_len 122 samples/kfifo/dma-example.c printk(KERN_INFO "queue len: %u\n", kfifo_len(&fifo)); kfifo_len 65 samples/kfifo/inttype-example.c printk(KERN_INFO "fifo len: %u\n", kfifo_len(&test)); kfifo_len 82 samples/kfifo/inttype-example.c printk(KERN_INFO "queue len: %u\n", kfifo_len(&test)); kfifo_len 93 samples/kfifo/record-example.c printk(KERN_INFO "fifo len: %u\n", kfifo_len(&test)); kfifo_len 579 sound/usb/line6/driver.c while (kfifo_len(&line6->messages.fifo) == 0) { kfifo_len 584 sound/usb/line6/driver.c kfifo_len(&line6->messages.fifo) != 0);