Home
last modified time | relevance | path

Searched refs:queue_empty (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/drivers/char/
Dapm-emulation.c166 static inline int queue_empty(struct apm_queue *q) in queue_empty() function
212 if (queue_empty(&as->queue) && fp->f_flags & O_NONBLOCK) in apm_read()
215 wait_event_interruptible(apm_waitqueue, !queue_empty(&as->queue)); in apm_read()
217 while ((i >= sizeof(event)) && !queue_empty(&as->queue)) { in apm_read()
245 return queue_empty(&as->queue) ? 0 : EPOLLIN | EPOLLRDNORM; in apm_poll()
473 !queue_empty(&kapmd_queue) || kthread_should_stop()); in kapmd()
480 if (!queue_empty(&kapmd_queue)) in kapmd()
/linux-6.1.9/drivers/infiniband/sw/rxe/
Drxe_queue.h143 static inline int queue_empty(struct rxe_queue *q, enum queue_type type) in queue_empty() function
257 return queue_empty(q, type) ? NULL : queue_consumer_addr(q, type); in queue_head()
Drxe_queue.c119 if (!queue_empty(q, q->type) && (num_elem < queue_count(q, type))) in resize_finish()
Drxe_verbs.c883 empty = queue_empty(cq->queue, QUEUE_TYPE_FROM_DRIVER); in rxe_req_notify_cq()
/linux-6.1.9/drivers/staging/rtl8723bs/hal/
Drtl8723bs_xmit.c125 u8 queue_empty, queue_pending; in rtl8723bs_xmit_buf_handler() local
152 queue_empty = rtl8723_dequeue_writeport(padapter); in rtl8723bs_xmit_buf_handler()
154 } while (!queue_empty); in rtl8723bs_xmit_buf_handler()
/linux-6.1.9/arch/x86/kernel/
Dapm_32.c1171 static int queue_empty(struct apm_user *as) in queue_empty() function
1480 if ((queue_empty(as)) && (fp->f_flags & O_NONBLOCK)) in do_read()
1482 wait_event_interruptible(apm_waitqueue, !queue_empty(as)); in do_read()
1484 while ((i >= sizeof(event)) && !queue_empty(as)) { in do_read()
1520 if (!queue_empty(as)) in do_poll()
/linux-6.1.9/arch/s390/include/asm/
Dap.h43 unsigned int queue_empty : 1; member
/linux-6.1.9/drivers/s390/crypto/
Dap_queue.c109 if (status.queue_empty) in ap_recv()
160 if (!status.queue_empty && !aq->queue_count) in ap_sm_recv()
186 if (!status.queue_empty || aq->queue_count <= 0) in ap_sm_recv()
Dvfio_ap_ops.c1633 if (status.queue_empty && !status.irq_enabled) in vfio_ap_mdev_reset_queue()
/linux-6.1.9/drivers/misc/genwqe/
Dcard_ddcb.c82 static int queue_empty(struct ddcb_queue *queue) in queue_empty() function
375 while (!queue_empty(queue) && (ddcbs_finished < queue->ddcb_max)) { in genwqe_check_ddcb_queue()
985 if (queue_empty(queue)) { /* empty queue */ in genwqe_next_ddcb_ready()
/linux-6.1.9/drivers/spi/
Dspi.c1763 ctlr->queue_empty = true; in __spi_pump_messages()
1787 ctlr->queue_empty = true; in __spi_pump_messages()
1942 ctlr->queue_empty = true; in spi_init_queue()
2143 ctlr->queue_empty = false; in __spi_queued_transfer()
4108 if (READ_ONCE(ctlr->queue_empty) && !ctlr->must_async) { in __spi_sync()
/linux-6.1.9/include/linux/spi/
Dspi.h697 bool queue_empty; member
/linux-6.1.9/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c125 static bool queue_empty(struct arm_smmu_ll_queue *q) in queue_empty() function
225 if (queue_empty(&q->llq)) in queue_remove_raw()
1577 } while (!queue_empty(llq)); in arm_smmu_evtq_thread()
1636 } while (!queue_empty(llq)); in arm_smmu_priq_thread()