/linux-6.12.1/samples/kfifo/ |
D | dma-example.c | 46 printk(KERN_INFO "queue len: %u\n", kfifo_len(&fifo)); in example_init() 122 ret = kfifo_len(&fifo); in example_init() 123 printk(KERN_INFO "queue len: %u\n", kfifo_len(&fifo)); in example_init()
|
D | inttype-example.c | 65 printk(KERN_INFO "fifo len: %u\n", kfifo_len(&test)); in testfunc() 82 printk(KERN_INFO "queue len: %u\n", kfifo_len(&test)); in testfunc()
|
D | bytestream-example.c | 68 printk(KERN_INFO "fifo len: %u\n", kfifo_len(&test)); in testfunc() 89 printk(KERN_INFO "queue len: %u\n", kfifo_len(&test)); in testfunc()
|
D | record-example.c | 93 printk(KERN_INFO "fifo len: %u\n", kfifo_len(&test)); in testfunc()
|
/linux-6.12.1/drivers/media/platform/amphion/ |
D | vpu_msgs.c | 257 if (kfifo_len(&inst->msg_fifo) < bytes) in vpu_inst_receive_msg() 355 while (kfifo_len(&core->msg_fifo) >= SIZE) { in vpu_core_run_msg_work() 384 if (kfifo_len(&core->msg_fifo) >= bytes) in vpu_msg_delayed_work() 394 if (inst->workqueue && kfifo_len(&inst->msg_fifo) >= bytes) in vpu_msg_delayed_work()
|
D | vpu_dbg.c | 198 num = scnprintf(str, sizeof(str), "kfifo len = 0x%x\n", kfifo_len(&inst->msg_fifo)); in vpu_dbg_instance() 280 num = scnprintf(str, sizeof(str), "kfifo len = 0x%x\n", kfifo_len(&core->msg_fifo)); in vpu_dbg_core()
|
/linux-6.12.1/drivers/tty/serial/8250/ |
D | 8250_pci1xxxx.c | 402 if (kfifo_len(&tport->xmit_fifo) < UART_BURST_SIZE) in pci1xxxx_process_write_data() 427 kfifo_len(&tport->xmit_fifo) >= UART_BURST_SIZE) in pci1xxxx_process_write_data() 452 valid_byte_count = kfifo_len(&tport->xmit_fifo); in pci1xxxx_tx_burst() 464 if (kfifo_len(&tport->xmit_fifo) < WAKEUP_CHARS) in pci1xxxx_tx_burst()
|
D | 8250_dma.c | 31 if (kfifo_len(&tport->xmit_fifo) < WAKEUP_CHARS) in __dma_tx_complete()
|
/linux-6.12.1/include/linux/ |
D | kfifo.h | 239 #define kfifo_len(fifo) \ macro 293 kfifo_len(__tmpq) > __tmpq->kfifo.mask; \ 305 unsigned int __avail = kfifo_size(__tmpq) - kfifo_len(__tmpq); \ 345 (!__recsize) ? kfifo_len(__tmp) * sizeof(*__tmp->type) : \
|
/linux-6.12.1/drivers/usb/host/ |
D | xhci-dbgtty.c | 32 len = kfifo_len(&port->port.xmit_fifo); in dbc_kfifo_to_req() 244 port->tx_boundary = kfifo_len(&port->port.xmit_fifo); in dbc_tty_write() 301 chars = kfifo_len(&port->port.xmit_fifo); in dbc_tty_chars_in_buffer()
|
D | fhci.h | 485 return kfifo_len(kfifo) / sizeof(void *); in cq_howmany()
|
/linux-6.12.1/drivers/mmc/core/ |
D | sdio_uart.c | 424 if (tty == NULL || !kfifo_len(xmit) || in sdio_uart_transmit_chars() 437 len = kfifo_len(xmit); in sdio_uart_transmit_chars() 785 return FIFO_SIZE - kfifo_len(&port->xmit_fifo); in sdio_uart_write_room() 791 return kfifo_len(&port->xmit_fifo); in sdio_uart_chars_in_buffer()
|
/linux-6.12.1/sound/usb/line6/ |
D | driver.c | 575 while (kfifo_len(&line6->messages.fifo) == 0) { in line6_hwdep_read() 583 kfifo_len(&line6->messages.fifo) != 0); in line6_hwdep_read() 637 rv = kfifo_len(&line6->messages.fifo) == 0 ? 0 : EPOLLIN | EPOLLRDNORM; in line6_hwdep_poll()
|
/linux-6.12.1/drivers/usb/serial/ |
D | oti6858.c | 280 count = kfifo_len(&port->write_fifo); in send_data() 386 chars = kfifo_len(&port->write_fifo); in oti6858_chars_in_buffer() 739 count = kfifo_len(&port->write_fifo); in oti6858_read_int_callback()
|
D | generic.c | 165 if (!port->write_urbs_free || !kfifo_len(&port->write_fifo)) { in usb_serial_generic_write_start() 259 chars = kfifo_len(&port->write_fifo) + port->tx_bytes; in usb_serial_generic_chars_in_buffer()
|
/linux-6.12.1/drivers/usb/gadget/function/ |
D | u_serial.c | 213 len = kfifo_len(&port->port_write_buf); in gs_send_packet() 675 cond = p->port_usb == NULL || !kfifo_len(&p->port_write_buf) || in gs_close_flush_done() 707 if (kfifo_len(&port->port_write_buf) > 0 && gser) { in gs_close() 813 chars = kfifo_len(&port->port_write_buf); in gs_chars_in_buffer()
|
/linux-6.12.1/drivers/iio/buffer/ |
D | kfifo_buf.c | 126 samples = kfifo_len(&kf->kf); in iio_kfifo_buf_data_available()
|
/linux-6.12.1/drivers/tty/serial/ |
D | kgdb_nmi.c | 200 !kfifo_len(&priv->fifo))) in kgdb_nmi_tty_receiver()
|
D | men_z135_uart.c | 313 qlen = kfifo_len(&tport->xmit_fifo); in men_z135_handle_tx() 352 if (kfifo_len(&tport->xmit_fifo) < WAKEUP_CHARS) in men_z135_handle_tx()
|
D | sunhv.c | 215 if (kfifo_len(&tport->xmit_fifo) < WAKEUP_CHARS) in transmit_chars()
|
/linux-6.12.1/drivers/char/ |
D | sonypi.c | 904 if ((kfifo_len(&sonypi_device.fifo) == 0) && in sonypi_misc_read() 909 kfifo_len(&sonypi_device.fifo) != 0); in sonypi_misc_read() 932 if (kfifo_len(&sonypi_device.fifo)) in sonypi_misc_poll()
|
/linux-6.12.1/drivers/media/platform/chips-media/coda/ |
D | coda.h | 344 return kfifo_len(&ctx->bitstream_fifo); in coda_get_bitstream_payload()
|
/linux-6.12.1/drivers/net/wireless/marvell/libertas/ |
D | main.c | 474 else if (kfifo_len(&priv->event_fifo)) in lbs_thread() 526 while (kfifo_len(&priv->event_fifo)) { in lbs_thread()
|
/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_smi_events.c | 98 to_copy = kfifo_len(&client->fifo); in kfd_smi_ev_read()
|
/linux-6.12.1/drivers/mtd/ |
D | sm_ftl.c | 861 if (!kfifo_len(&zone->free_sectors)) { in sm_init_zone() 868 i %= (kfifo_len(&zone->free_sectors) / 2); in sm_init_zone()
|