Searched refs:queue_empty (Results 1 – 5 of 5) sorted by relevance
172 static inline int queue_empty(struct apm_queue *q) in queue_empty() function218 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()
67 unsigned int queue_empty : 1; member
500 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()
91 static int queue_empty(struct ddcb_queue *queue) in queue_empty() function381 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()
144 static bool queue_empty(struct queue *q) in queue_empty() function453 return !queue_empty(&mq->cache_clean); in any_clean_cblocks()