Home
last modified time | relevance | path

Searched refs:queue_empty (Results 1 – 5 of 5) 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/s390/crypto/
Dap_bus.h67 unsigned int queue_empty : 1; member
Dap_bus.c500 if (status.queue_empty) in ap_recv()
578 if (status.queue_empty) in ap_init_queue()
1547 if (status.queue_empty) { in ap_poll_read()
/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/md/
Ddm-cache-policy-mq.c144 static bool queue_empty(struct queue *q) in queue_empty() function
453 return !queue_empty(&mq->cache_clean); in any_clean_cblocks()