Symbol: kfifo_is_empty
drivers/block/ublk_drv.c
376
return kfifo_is_empty(&q->evts_fifo);
drivers/block/ublk_drv.c
381
WARN_ON_ONCE(!kfifo_is_empty(&q->evts_fifo));
drivers/counter/counter-chrdev.c
114
if (!kfifo_is_empty(&counter->events))
drivers/counter/counter-chrdev.c
79
if (kfifo_is_empty(&counter->events)) {
drivers/counter/counter-chrdev.c
84
!kfifo_is_empty(&counter->events) ||
drivers/crypto/caam/caamrng.c
160
if (kfifo_is_empty(&ctx->fifo))
drivers/crypto/hisilicon/sec/sec_algs.c
402
(kfifo_is_empty(&queue->softqueue) &&
drivers/crypto/hisilicon/sec/sec_algs.c
485
!kfifo_is_empty(&ctx->queue->softqueue) &&
drivers/gnss/core.c
107
!kfifo_is_empty(&gdev->read_fifo));
drivers/gnss/core.c
194
if (!kfifo_is_empty(&gdev->read_fifo))
drivers/gnss/core.c
96
while (kfifo_is_empty(&gdev->read_fifo)) {
drivers/gpio/gpiolib-cdev.c
1499
if (kfifo_is_empty(&lr->events)) {
drivers/gpio/gpiolib-cdev.c
1507
!kfifo_is_empty(&lr->events));
drivers/gpio/gpiolib-cdev.c
1846
if (kfifo_is_empty(&le->events)) {
drivers/gpio/gpiolib-cdev.c
1854
!kfifo_is_empty(&le->events));
drivers/gpio/gpiolib-cdev.c
2623
if (kfifo_is_empty(&cdev->events)) {
drivers/gpio/gpiolib-cdev.c
2631
!kfifo_is_empty(&cdev->events));
drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c
127
if (kfifo_is_empty(&node->ih_fifo))
drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c
74
if (!kfifo_is_empty(&client->fifo))
drivers/hid/hid-debug.c
3721
if (kfifo_is_empty(&list->hid_debug_fifo)) {
drivers/hid/hid-debug.c
3725
while (kfifo_is_empty(&list->hid_debug_fifo)) {
drivers/hid/hid-debug.c
3778
if (!kfifo_is_empty(&list->hid_debug_fifo))
drivers/hid/hid-logitech-dj.c
918
if (!kfifo_is_empty(&djrcv_dev->notif_fifo))
drivers/hid/hid-sensor-custom.c
653
if (kfifo_is_empty(&sensor_inst->data_fifo)) {
drivers/hid/hid-sensor-custom.c
658
!kfifo_is_empty(&sensor_inst->data_fifo));
drivers/hid/hid-sensor-custom.c
708
if (!kfifo_is_empty(&sensor_inst->data_fifo))
drivers/hid/wacom_sys.c
2749
if (!kfifo_is_empty(&remote->remote_fifo))
drivers/hid/wacom_sys.c
71
while (!kfifo_is_empty(fifo)) {
drivers/iio/industrialio-event.c
112
if (!kfifo_is_empty(&ev_int->det_events))
drivers/iio/industrialio-event.c
136
if (kfifo_is_empty(&ev_int->det_events)) {
drivers/iio/industrialio-event.c
141
!kfifo_is_empty(&ev_int->det_events) ||
drivers/input/rmi4/rmi_driver.c
212
if (!kfifo_is_empty(&drvdata->attn_fifo))
drivers/input/rmi4/rmi_driver.c
936
while (!kfifo_is_empty(&data->attn_fifo)) {
drivers/media/radio/radio-si476x.c
1093
if (kfifo_is_empty(&radio->core->rds_fifo)) {
drivers/media/radio/radio-si476x.c
1098
(!kfifo_is_empty(&radio->core->rds_fifo) ||
drivers/media/radio/radio-si476x.c
1136
if (!kfifo_is_empty(&radio->core->rds_fifo))
drivers/media/rc/lirc_dev.c
594
!kfifo_is_empty(&fh->scancodes))
drivers/media/rc/lirc_dev.c
598
!kfifo_is_empty(&fh->rawir))
drivers/media/rc/lirc_dev.c
617
if (kfifo_is_empty(&fh->rawir)) {
drivers/media/rc/lirc_dev.c
622
!kfifo_is_empty(&fh->rawir) ||
drivers/media/rc/lirc_dev.c
656
if (kfifo_is_empty(&fh->scancodes)) {
drivers/media/rc/lirc_dev.c
661
!kfifo_is_empty(&fh->scancodes) ||
drivers/media/rc/rc-ir-raw.c
53
} else if (!kfifo_is_empty(&raw->kfifo))
drivers/memstick/host/r592.c
327
if (!kfifo_is_empty(&dev->pio_fifo)) {
drivers/memstick/host/r592.c
342
WARN_ON(!kfifo_is_empty(&dev->pio_fifo));
drivers/memstick/host/r592.c
362
if (kfifo_is_empty(&dev->pio_fifo))
drivers/memstick/host/r592.c
382
if (!kfifo_is_empty(&dev->pio_fifo)) {
drivers/memstick/host/r592.c
388
if (!kfifo_is_empty(&dev->pio_fifo))
drivers/most/most_cdev.c
249
(!kfifo_is_empty(&c->fifo) ||
drivers/most/most_cdev.c
290
if (!c->dev || !kfifo_is_empty(&c->fifo))
drivers/most/most_cdev.c
293
if (!c->dev || !kfifo_is_empty(&c->fifo) || ch_has_mbo(c))
drivers/net/ieee802154/ca8210.c
2531
if (kfifo_is_empty(&priv->test.up_fifo))
drivers/net/ieee802154/ca8210.c
2537
!kfifo_is_empty(&priv->test.up_fifo)
drivers/net/ieee802154/ca8210.c
2615
if (!kfifo_is_empty(&priv->test.up_fifo))
drivers/net/ieee802154/ca8210.c
2619
!kfifo_is_empty(&priv->test.up_fifo))) {
drivers/net/wireless/ath/ath10k/htt_rx.c
4410
if ((quota < budget) && !kfifo_is_empty(&htt->txdone_fifo))
drivers/net/wireless/ath/ath10k/htt_tx.c
421
WARN_ON(!kfifo_is_empty(&htt->txdone_fifo));
drivers/net/wireless/ralink/rt2x00/rt2800mmio.c
320
if (!kfifo_is_empty(&rt2x00dev->txstatus_fifo))
drivers/net/wireless/ralink/rt2x00/rt2800mmio.c
351
if (!kfifo_is_empty(&rt2x00dev->txstatus_fifo))
drivers/net/wireless/ralink/rt2x00/rt2800mmio.c
800
while (!kfifo_is_empty(&rt2x00dev->txstatus_fifo) ||
drivers/net/wireless/ralink/rt2x00/rt2800mmio.c
826
if (!kfifo_is_empty(&rt2x00dev->txstatus_fifo))
drivers/net/wireless/ralink/rt2x00/rt2800usb.c
461
while (!kfifo_is_empty(&rt2x00dev->txstatus_fifo) ||
drivers/net/wireless/ralink/rt2x00/rt2x00usb.c
292
!kfifo_is_empty(&rt2x00dev->txstatus_fifo))
drivers/pci/pcie/aer.c
1457
if (kfifo_is_empty(&rpc->aer_fifo))
drivers/platform/surface/aggregator/ssh_packet_layer.c
1804
!kfifo_is_empty(&ptl->rx.fifo) ||
drivers/platform/surface/surface_aggregator_cdev.c
593
if (kfifo_is_empty(&client->buffer)) {
drivers/platform/surface/surface_aggregator_cdev.c
600
!kfifo_is_empty(&client->buffer) ||
drivers/platform/surface/surface_aggregator_cdev.c
651
if (!kfifo_is_empty(&client->buffer))
drivers/platform/surface/surface_dtx.c
478
if (kfifo_is_empty(&client->buffer)) {
drivers/platform/surface/surface_dtx.c
485
!kfifo_is_empty(&client->buffer) ||
drivers/platform/surface/surface_dtx.c
536
if (!kfifo_is_empty(&client->buffer))
drivers/rapidio/devices/rio_mport_cdev.c
2258
if (kfifo_is_empty(&priv->event_fifo) &&
drivers/soc/aspeed/aspeed-lpc-snoop.c
120
if (kfifo_is_empty(&chan->fifo)) {
drivers/soc/aspeed/aspeed-lpc-snoop.c
124
!kfifo_is_empty(&chan->fifo));
drivers/soc/aspeed/aspeed-lpc-snoop.c
141
return !kfifo_is_empty(&chan->fifo) ? EPOLLIN : 0;
drivers/tty/hvc/hvc_dcc.c
192
if (smp_processor_id() || (!kfifo_is_empty(&outbuf))) {
drivers/tty/hvc/hvc_dcc.c
232
if (smp_processor_id() || (!kfifo_is_empty(&inbuf))) {
drivers/tty/mxser.c
1309
if (!kfifo_is_empty(&info->port.xmit_fifo))
drivers/tty/mxser.c
1529
if (kfifo_is_empty(&port->port.xmit_fifo) || tty->flow.stopped ||
drivers/tty/mxser.c
1549
if (kfifo_is_empty(&port->port.xmit_fifo))
drivers/tty/mxser.c
898
is_empty = kfifo_is_empty(&info->port.xmit_fifo);
drivers/tty/mxser.c
921
if (kfifo_is_empty(&info->port.xmit_fifo) || tty->flow.stopped ||
drivers/tty/serial/8250/8250_bcm7271.c
420
kfifo_is_empty(&tport->xmit_fifo)) {
drivers/tty/serial/8250/8250_bcm7271.c
549
if (!kfifo_is_empty(&tport->xmit_fifo) && !uart_tx_stopped(up))
drivers/tty/serial/8250/8250_core.c
244
(!kfifo_is_empty(&up->port.state->port.xmit_fifo) ||
drivers/tty/serial/8250/8250_dma.c
108
if (uart_tx_stopped(&p->port) || kfifo_is_empty(&tport->xmit_fifo)) {
drivers/tty/serial/8250/8250_exar.c
494
} while (!kfifo_is_empty(&tport->xmit_fifo) &&
drivers/tty/serial/8250/8250_omap.c
1102
if (!kfifo_is_empty(&tport->xmit_fifo) && !uart_tx_stopped(&p->port)) {
drivers/tty/serial/8250/8250_omap.c
1130
if (uart_tx_stopped(&p->port) || kfifo_is_empty(&tport->xmit_fifo)) {
drivers/tty/serial/8250/8250_omap.c
1322
kfifo_is_empty(&port->state->port.xmit_fifo)) {
drivers/tty/serial/8250/8250_pci1xxxx.c
500
if ((uart_tx_stopped(port)) || kfifo_is_empty(&tport->xmit_fifo)) {
drivers/tty/serial/8250/8250_pci1xxxx.c
513
if (kfifo_is_empty(&tport->xmit_fifo))
drivers/tty/serial/8250/8250_pci1xxxx.c
526
if (kfifo_is_empty(&tport->xmit_fifo) &&
drivers/tty/serial/8250/8250_port.c
1527
if (!port->x_char && kfifo_is_empty(&port->state->port.xmit_fifo))
drivers/tty/serial/8250/8250_port.c
1685
if (kfifo_is_empty(&tport->xmit_fifo)) {
drivers/tty/serial/8250/8250_port.c
1728
if (kfifo_is_empty(&tport->xmit_fifo) &&
drivers/tty/serial/amba-pl011.c
1515
if (kfifo_is_empty(&tport->xmit_fifo) || uart_tx_stopped(&uap->port)) {
drivers/tty/serial/amba-pl011.c
1542
if (kfifo_is_empty(&tport->xmit_fifo)) {
drivers/tty/serial/amba-pl011.c
572
kfifo_is_empty(&tport->xmit_fifo)) {
drivers/tty/serial/ar933x_uart.c
402
(up->port.x_char || !kfifo_is_empty(&tport->xmit_fifo))) {
drivers/tty/serial/ar933x_uart.c
433
if (!kfifo_is_empty(&tport->xmit_fifo)) {
drivers/tty/serial/atmel_serial.c
1459
if (!kfifo_is_empty(&tport->xmit_fifo) && !uart_tx_stopped(port)) {
drivers/tty/serial/atmel_serial.c
886
if (!kfifo_is_empty(&tport->xmit_fifo))
drivers/tty/serial/atmel_serial.c
935
if (!kfifo_is_empty(&tport->xmit_fifo) && !uart_tx_stopped(port)) {
drivers/tty/serial/clps711x.c
159
if (kfifo_is_empty(&tport->xmit_fifo) || uart_tx_stopped(port)) {
drivers/tty/serial/cpm_uart.c
676
if (kfifo_is_empty(&tport->xmit_fifo) || uart_tx_stopped(port)) {
drivers/tty/serial/cpm_uart.c
685
!kfifo_is_empty(&tport->xmit_fifo)) {
drivers/tty/serial/cpm_uart.c
701
if (kfifo_is_empty(&tport->xmit_fifo)) {
drivers/tty/serial/digicolor-usart.c
198
if (kfifo_is_empty(&tport->xmit_fifo) || uart_tx_stopped(port)) {
drivers/tty/serial/dz.c
288
if (kfifo_is_empty(&tport->xmit_fifo)) {
drivers/tty/serial/fsl_linflexuart.c
188
if (kfifo_is_empty(&tport->xmit_fifo))
drivers/tty/serial/fsl_linflexuart.c
214
if (kfifo_is_empty(&tport->xmit_fifo) || uart_tx_stopped(sport)) {
drivers/tty/serial/fsl_lpuart.c
520
return kfifo_is_empty(&port->state->port.xmit_fifo) ||
drivers/tty/serial/fsl_lpuart.c
784
if (kfifo_is_empty(&tport->xmit_fifo))
drivers/tty/serial/imx.c
548
if (kfifo_is_empty(&tport->xmit_fifo) ||
drivers/tty/serial/imx.c
580
if (kfifo_is_empty(&tport->xmit_fifo))
drivers/tty/serial/imx.c
609
if (!kfifo_is_empty(&tport->xmit_fifo) &&
drivers/tty/serial/imx.c
680
if (!sport->port.x_char && kfifo_is_empty(&tport->xmit_fifo))
drivers/tty/serial/imx.c
756
if (!kfifo_is_empty(&tport->xmit_fifo) &&
drivers/tty/serial/jsm/jsm_cls.c
479
if (kfifo_is_empty(&tport->xmit_fifo))
drivers/tty/serial/jsm/jsm_neo.c
491
if (kfifo_is_empty(&tport->xmit_fifo))
drivers/tty/serial/jsm/jsm_neo.c
542
if (kfifo_is_empty(&tport->xmit_fifo))
drivers/tty/serial/max3100.c
297
(!kfifo_is_empty(&tport->xmit_fifo) &&
drivers/tty/serial/max310x.c
761
if (kfifo_is_empty(&tport->xmit_fifo) || uart_tx_stopped(port))
drivers/tty/serial/max310x.c
768
while (!kfifo_is_empty(&tport->xmit_fifo)) {
drivers/tty/serial/men_z135_uart.c
303
if (kfifo_is_empty(&tport->xmit_fifo))
drivers/tty/serial/men_z135_uart.c
356
if (!kfifo_is_empty(&tport->xmit_fifo))
drivers/tty/serial/meson_uart.c
167
if (!kfifo_is_empty(&tport->xmit_fifo)) {
drivers/tty/serial/milbeaut_usio.c
117
if (kfifo_is_empty(&tport->xmit_fifo))
drivers/tty/serial/milbeaut_usio.c
90
if (kfifo_is_empty(&tport->xmit_fifo) || uart_tx_stopped(port)) {
drivers/tty/serial/msm_serial.c
882
if (kfifo_is_empty(&tport->xmit_fifo))
drivers/tty/serial/msm_serial.c
916
if (kfifo_is_empty(&tport->xmit_fifo) || uart_tx_stopped(port)) {
drivers/tty/serial/pic32_uart.c
359
if (kfifo_is_empty(&tport->xmit_fifo))
drivers/tty/serial/pic32_uart.c
386
if (kfifo_is_empty(&tport->xmit_fifo))
drivers/tty/serial/pmac_zilog.c
389
if (kfifo_is_empty(&tport->xmit_fifo)) {
drivers/tty/serial/qcom_geni_serial.c
1039
if (!kfifo_is_empty(&tport->xmit_fifo))
drivers/tty/serial/qcom_geni_serial.c
680
if (kfifo_is_empty(&tport->xmit_fifo))
drivers/tty/serial/rda-uart.c
357
if (!kfifo_is_empty(&tport->xmit_fifo)) {
drivers/tty/serial/rsci.c
442
if (kfifo_is_empty(&tport->xmit_fifo))
drivers/tty/serial/rsci.c
471
if (kfifo_is_empty(&tport->xmit_fifo)) {
drivers/tty/serial/samsung_tty.c
505
if (!kfifo_is_empty(&tport->xmit_fifo) &&
drivers/tty/serial/samsung_tty.c
896
if (kfifo_is_empty(&tport->xmit_fifo) || uart_tx_stopped(port)) {
drivers/tty/serial/samsung_tty.c
926
if (kfifo_is_empty(&tport->xmit_fifo))
drivers/tty/serial/sb1250-duart.c
411
if (stop_tx || kfifo_is_empty(&tport->xmit_fifo)) {
drivers/tty/serial/sc16is7xx.c
665
if (kfifo_is_empty(&tport->xmit_fifo) || uart_tx_stopped(port)) {
drivers/tty/serial/sc16is7xx.c
689
if (kfifo_is_empty(&tport->xmit_fifo))
drivers/tty/serial/sccnxp.c
452
if (kfifo_is_empty(&tport->xmit_fifo) || uart_tx_stopped(port)) {
drivers/tty/serial/serial-tegra.c
597
if (!kfifo_is_empty(&tport->xmit_fifo) && !tup->tx_in_progress)
drivers/tty/serial/serial_core.c
1074
(!kfifo_is_empty(&state->port.xmit_fifo) &&
drivers/tty/serial/serial_port.c
27
!kfifo_is_empty(&port->state->port.xmit_fifo);
drivers/tty/serial/sh-sci.c
1022
if (kfifo_is_empty(&tport->xmit_fifo))
drivers/tty/serial/sh-sci.c
1040
kfifo_is_empty(&tport->xmit_fifo)) {
drivers/tty/serial/sh-sci.c
1059
if (kfifo_is_empty(&tport->xmit_fifo)) {
drivers/tty/serial/sh-sci.c
1427
if (!kfifo_is_empty(&tport->xmit_fifo)) {
drivers/tty/serial/sh-sci.c
772
if (s->chan_tx && !kfifo_is_empty(&port->state->port.xmit_fifo) &&
drivers/tty/serial/sprd_serial.c
281
if (kfifo_is_empty(&tport->xmit_fifo) || sprd_tx_buf_remap(port) ||
drivers/tty/serial/sprd_serial.c
353
if (kfifo_is_empty(&tport->xmit_fifo) || uart_tx_stopped(port)) {
drivers/tty/serial/st-asc.c
392
if (!kfifo_is_empty(&tport->xmit_fifo))
drivers/tty/serial/stm32-usart.c
715
if (kfifo_is_empty(&tport->xmit_fifo))
drivers/tty/serial/stm32-usart.c
790
!(kfifo_is_empty(&tport->xmit_fifo) || uart_tx_stopped(port)))) {
drivers/tty/serial/stm32-usart.c
817
if (kfifo_is_empty(&tport->xmit_fifo) || uart_tx_stopped(port)) {
drivers/tty/serial/stm32-usart.c
835
if (kfifo_is_empty(&tport->xmit_fifo)) {
drivers/tty/serial/stm32-usart.c
968
if (kfifo_is_empty(&tport->xmit_fifo) && !port->x_char)
drivers/tty/serial/sunhv.c
210
if (kfifo_is_empty(&tport->xmit_fifo) || uart_tx_stopped(port))
drivers/tty/serial/sunhv.c
59
while (!kfifo_is_empty(&tport->xmit_fifo)) {
drivers/tty/serial/sunplus-uart.c
212
if (kfifo_is_empty(&tport->xmit_fifo) || uart_tx_stopped(port)) {
drivers/tty/serial/sunplus-uart.c
229
if (kfifo_is_empty(&tport->xmit_fifo))
drivers/tty/serial/sunsab.c
255
if (kfifo_is_empty(&tport->xmit_fifo) || uart_tx_stopped(&up->port)) {
drivers/tty/serial/sunsab.c
283
if (kfifo_is_empty(&tport->xmit_fifo))
drivers/tty/serial/sunsab.c
442
if (kfifo_is_empty(&tport->xmit_fifo) || uart_tx_stopped(port))
drivers/tty/serial/sunsu.c
389
if (kfifo_is_empty(&tport->xmit_fifo)) {
drivers/tty/serial/sunsu.c
405
if (kfifo_is_empty(&tport->xmit_fifo))
drivers/tty/serial/timbuart.c
119
if (kfifo_is_empty(&tport->xmit_fifo) || uart_tx_stopped(port))
drivers/tty/serial/timbuart.c
141
if (!kfifo_is_empty(&tport->xmit_fifo))
drivers/tty/serial/ucc_uart.c
361
if (kfifo_is_empty(&tport->xmit_fifo) || uart_tx_stopped(port)) {
drivers/tty/serial/ucc_uart.c
370
!kfifo_is_empty(&tport->xmit_fifo)) {
drivers/tty/serial/ucc_uart.c
388
if (kfifo_is_empty(&tport->xmit_fifo)) {
drivers/tty/serial/xilinx_uartps.c
433
if (kfifo_is_empty(&tport->xmit_fifo) || uart_tx_stopped(port)) {
drivers/tty/serial/xilinx_uartps.c
726
if (kfifo_is_empty(&port->state->port.xmit_fifo))
drivers/tty/serial/zs.c
634
if (kfifo_is_empty(&tport->xmit_fifo))
drivers/usb/gadget/function/u_serial.c
267
req->zero = kfifo_is_empty(&port->port_write_buf);
drivers/usb/serial/f81534.c
510
if (kfifo_is_empty(&port->write_fifo)) {
include/linux/kfifo.h
265
__ret = kfifo_is_empty(fifo); \
include/linux/kfifo.h
280
__ret = kfifo_is_empty(fifo); \
include/linux/kfifo.h
489
__ret = !kfifo_is_empty(__tmp); \
include/linux/kfifo.h
528
__ret = !kfifo_is_empty(__tmp); \
lib/tests/kfifo_kunit.c
115
KUNIT_EXPECT_TRUE(test, kfifo_is_empty(&my_fifo));
lib/tests/kfifo_kunit.c
145
KUNIT_EXPECT_EQ(test, kfifo_is_empty(&my_fifo1),
lib/tests/kfifo_kunit.c
146
kfifo_is_empty(&my_fifo2));
lib/tests/kfifo_kunit.c
26
KUNIT_EXPECT_TRUE(test, kfifo_is_empty(&my_fifo));
lib/tests/kfifo_kunit.c
34
KUNIT_EXPECT_TRUE(test, kfifo_is_empty(&my_fifo));
samples/kfifo/record-example.c
102
while (!kfifo_is_empty(&test)) {
sound/soc/intel/avs/debugfs.c
215
if (kfifo_is_empty(fifo)) {