Lines Matching defs:consumer_head
348 * pointer into itself (the producer_tail) and into its peer (consumer_head).
352 * (consumer_head).
358 * to know how full its produce_q is, it needs to use the consumer_head that
359 * points into the produce_q but -that- consumer_head is in the Queue header
367 * consumer_head: the point in the queue from which the next element is
372 * consumer_head points to a valid byte of data (unless producer_tail ==
373 * consumer_head in which case consumerHead does not point to a valid byte of
379 * If produce_q_header->producer_tail == consume_q_header->consumer_head then
386 volatile uint64_t consumer_head; /* Offset in peer queue. */
502 return (qp_atomic_read_offset(&qh->consumer_head));
552 qp_add_pointer(&q_header->consumer_head, add, queue_size);
575 uint64_t *consumer_head)
582 if (consumer_head)
583 *consumer_head =
609 qp_atomic_write_offset(&q_header->consumer_head, CONST64U(0));