Searched refs:queue_empty (Results 1 – 10 of 10) sorted by relevance
155 static inline int queue_empty(struct apm_queue *q) in queue_empty() function201 if (queue_empty(&as->queue) && fp->f_flags & O_NONBLOCK) in apm_read()204 wait_event_interruptible(apm_waitqueue, !queue_empty(&as->queue)); in apm_read()206 while ((i >= sizeof(event)) && !queue_empty(&as->queue)) { in apm_read()234 return queue_empty(&as->queue) ? 0 : EPOLLIN | EPOLLRDNORM; in apm_poll()464 !queue_empty(&kapmd_queue) || kthread_should_stop()); in kapmd()471 if (!queue_empty(&kapmd_queue)) in kapmd()
154 static inline int queue_empty(struct rxe_queue *q, enum queue_type type) in queue_empty() function281 return queue_empty(q, type) ? NULL : queue_consumer_addr(q, type); in queue_head()
118 if (!queue_empty(q, q->type) && (num_elem < queue_count(q, type))) in resize_finish()
1190 empty = queue_empty(cq->queue, QUEUE_TYPE_TO_ULP); in rxe_req_notify_cq()
1135 static int queue_empty(struct apm_user *as) in queue_empty() function1444 if ((queue_empty(as)) && (fp->f_flags & O_NONBLOCK)) in do_read()1446 wait_event_interruptible(apm_waitqueue, !queue_empty(as)); in do_read()1448 while ((i >= sizeof(event)) && !queue_empty(as)) { in do_read()1484 if (!queue_empty(as)) in do_poll()
55 unsigned int queue_empty : 1; member
82 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()
2099 ctlr->queue_empty = true; in __spi_pump_messages() 2123 ctlr->queue_empty = true; in __spi_pump_messages() 2278 ctlr->queue_empty = true; in spi_init_queue() 2501 ctlr->queue_empty = false; in spi_controller_initialize_queue() 5008 * Checking queue_empty here only guarantees async/sync message5013 if (READ_ONCE(ctlr->queue_empty) && !ctlr->must_async) {
567 * @queue_empty: signal green light for opportunistically skipping the queue827 bool queue_empty;818 bool queue_empty; global() member
1983 status.queue_empty, in apq_reset_check()