/kernel/linux/linux-5.10/samples/kfifo/ |
H A D | dma-example.c | 45 printk(KERN_INFO "queue len: %u\n", kfifo_len(&fifo)); in example_init() 121 ret = kfifo_len(&fifo); in example_init() 122 printk(KERN_INFO "queue len: %u\n", kfifo_len(&fifo)); in example_init()
|
H A 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()
|
H A 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()
|
H A D | record-example.c | 93 printk(KERN_INFO "fifo len: %u\n", kfifo_len(&test)); in testfunc()
|
/kernel/linux/linux-6.6/samples/kfifo/ |
H A D | dma-example.c | 45 printk(KERN_INFO "queue len: %u\n", kfifo_len(&fifo)); in example_init() 121 ret = kfifo_len(&fifo); in example_init() 122 printk(KERN_INFO "queue len: %u\n", kfifo_len(&fifo)); in example_init()
|
H A 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()
|
H A 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()
|
H A D | record-example.c | 93 printk(KERN_INFO "fifo len: %u\n", kfifo_len(&test)); in testfunc()
|
/kernel/linux/linux-6.6/drivers/media/platform/amphion/ |
H A 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()
|
H A D | vpu_dbg.c | 184 num = scnprintf(str, sizeof(str), "kfifo len = 0x%x\n", kfifo_len(&inst->msg_fifo)); in vpu_dbg_instance() 266 num = scnprintf(str, sizeof(str), "kfifo len = 0x%x\n", kfifo_len(&core->msg_fifo)); in vpu_dbg_core()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | kfifo.h | 230 * kfifo_len - returns the number of used elements in the fifo 233 #define kfifo_len(fifo) \ macro 287 kfifo_len(__tmpq) > __tmpq->kfifo.mask; \ 299 unsigned int __avail = kfifo_size(__tmpq) - kfifo_len(__tmpq); \ 333 (!__recsize) ? kfifo_len(__tmp) * sizeof(*__tmp->type) : \
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | kfifo.h | 230 * kfifo_len - returns the number of used elements in the fifo 233 #define kfifo_len(fifo) \ macro 287 kfifo_len(__tmpq) > __tmpq->kfifo.mask; \ 299 unsigned int __avail = kfifo_size(__tmpq) - kfifo_len(__tmpq); \ 333 (!__recsize) ? kfifo_len(__tmp) * sizeof(*__tmp->type) : \
|
/kernel/linux/linux-5.10/drivers/mmc/core/ |
H A D | sdio_uart.c | 441 if (tty == NULL || !kfifo_len(xmit) || in sdio_uart_transmit_chars() 454 len = kfifo_len(xmit); in sdio_uart_transmit_chars() 803 return FIFO_SIZE - kfifo_len(&port->xmit_fifo); in sdio_uart_write_room() 809 return kfifo_len(&port->xmit_fifo); in sdio_uart_chars_in_buffer()
|
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | ifx6x60.c | 447 queue_length = kfifo_len(&ifx_dev->tx_fifo); in ifx_spi_prepare_tx_buffer() 515 return IFX_SPI_FIFO_SIZE - kfifo_len(&ifx_dev->tx_fifo); in ifx_spi_write_room() 528 return kfifo_len(&ifx_dev->tx_fifo); in ifx_spi_chars_in_buffer() 691 queue_length = kfifo_len(&ifx_dev->tx_fifo); in ifx_spi_complete()
|
/kernel/linux/linux-6.6/drivers/mmc/core/ |
H A D | sdio_uart.c | 428 if (tty == NULL || !kfifo_len(xmit) || in sdio_uart_transmit_chars() 441 len = kfifo_len(xmit); in sdio_uart_transmit_chars() 789 return FIFO_SIZE - kfifo_len(&port->xmit_fifo); in sdio_uart_write_room() 795 return kfifo_len(&port->xmit_fifo); in sdio_uart_chars_in_buffer()
|
/kernel/linux/linux-5.10/drivers/iio/buffer/ |
H A D | kfifo_buf.c | 126 samples = kfifo_len(&kf->kf); in iio_kfifo_buf_data_available()
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | xhci-dbgtty.c | 32 len = kfifo_len(&port->write_fifo); in dbc_send_packet() 263 chars = kfifo_len(&port->write_fifo); in dbc_tty_chars_in_buffer()
|
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | xhci-dbgtty.c | 32 len = kfifo_len(&port->write_fifo); in dbc_send_packet() 269 chars = kfifo_len(&port->write_fifo); in dbc_tty_chars_in_buffer()
|
/kernel/linux/linux-5.10/drivers/usb/serial/ |
H A D | oti6858.c | 280 count = kfifo_len(&port->write_fifo); in send_data() 388 chars = kfifo_len(&port->write_fifo); in oti6858_chars_in_buffer() 741 count = kfifo_len(&port->write_fifo); in oti6858_read_int_callback()
|
/kernel/linux/linux-5.10/sound/usb/line6/ |
H A D | driver.c | 570 while (kfifo_len(&line6->messages.fifo) == 0) { in line6_hwdep_read() 578 kfifo_len(&line6->messages.fifo) != 0); in line6_hwdep_read() 632 rv = kfifo_len(&line6->messages.fifo) == 0 ? 0 : EPOLLIN | EPOLLRDNORM; in line6_hwdep_poll()
|
/kernel/linux/linux-6.6/drivers/usb/serial/ |
H A D | oti6858.c | 281 count = kfifo_len(&port->write_fifo); in send_data() 387 chars = kfifo_len(&port->write_fifo); in oti6858_chars_in_buffer() 741 count = kfifo_len(&port->write_fifo); in oti6858_read_int_callback()
|
/kernel/linux/linux-6.6/sound/usb/line6/ |
H A D | driver.c | 570 while (kfifo_len(&line6->messages.fifo) == 0) { in line6_hwdep_read() 578 kfifo_len(&line6->messages.fifo) != 0); in line6_hwdep_read() 632 rv = kfifo_len(&line6->messages.fifo) == 0 ? 0 : EPOLLIN | EPOLLRDNORM; in line6_hwdep_poll()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_smi_events.c | 92 to_copy = kfifo_len(&client->fifo); in kfd_smi_ev_read()
|
/kernel/linux/linux-6.6/drivers/iio/buffer/ |
H A D | kfifo_buf.c | 126 samples = kfifo_len(&kf->kf); in iio_kfifo_buf_data_available()
|
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
H A D | u_serial.c | 210 len = kfifo_len(&port->port_write_buf); in gs_send_packet() 668 cond = p->port_usb == NULL || !kfifo_len(&p->port_write_buf) || in gs_close_flush_done() 700 if (kfifo_len(&port->port_write_buf) > 0 && gser) { in gs_close() 806 chars = kfifo_len(&port->port_write_buf); in gs_chars_in_buffer()
|