Home
last modified time | relevance | path

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

/drivers/char/
Dapm-emulation.c172 static inline int queue_empty(struct apm_queue *q) in queue_empty() function
218 if (queue_empty(&as->queue) && fp->f_flags & O_NONBLOCK) in apm_read()
221 wait_event_interruptible(apm_waitqueue, !queue_empty(&as->queue)); in apm_read()
223 while ((i >= sizeof(event)) && !queue_empty(&as->queue)) { in apm_read()
251 return queue_empty(&as->queue) ? 0 : POLLIN | POLLRDNORM; in apm_poll()
492 !queue_empty(&kapmd_queue) || kthread_should_stop()); in kapmd()
499 if (!queue_empty(&kapmd_queue)) in kapmd()
/drivers/infiniband/sw/rxe/
Drxe_queue.h110 static inline int queue_empty(struct rxe_queue *q) in queue_empty() function
177 return queue_empty(q) ? NULL : consumer_addr(q); in queue_head()
Drxe_queue.c155 if (!queue_empty(q) && (num_elem < queue_count(q))) in resize_finish()
158 while (!queue_empty(q)) { in resize_finish()
/drivers/s390/crypto/
Dap_bus.h66 unsigned int queue_empty : 1; member
Dap_bus.c478 if (status.queue_empty) in ap_recv()
597 if (!status.queue_empty || ap_dev->queue_count <= 0) in ap_sm_recv()
/drivers/misc/genwqe/
Dcard_ddcb.c91 static int queue_empty(struct ddcb_queue *queue) in queue_empty() function
381 while (!queue_empty(queue) && (ddcbs_finished < queue->ddcb_max)) { in genwqe_check_ddcb_queue()
988 if (queue_empty(queue)) { /* emtpy queue */ in genwqe_next_ddcb_ready()
/drivers/iommu/
Darm-smmu-v3.c684 static bool queue_empty(struct arm_smmu_queue *q) in queue_empty() function
731 while (queue_sync_cons(q), (drain ? !queue_empty(q) : queue_full(q))) { in queue_poll_cons()
774 if (queue_empty(q)) in queue_remove_raw()
1175 } while (!queue_empty(q)); in arm_smmu_evtq_thread()
1232 } while (!queue_empty(q)); in arm_smmu_priq_thread()