Searched refs:consumer_head (Results 1 – 4 of 4) sorted by relevance
33 int consumer_head ____cacheline_aligned_in_smp; /* next valid entry */172 return READ_ONCE(r->queue[r->consumer_head]); in __ptr_ring_peek()197 return !r->queue[READ_ONCE(r->consumer_head)]; in __ptr_ring_empty()264 int consumer_head = r->consumer_head; in __ptr_ring_discard_one() local265 int head = consumer_head++; in __ptr_ring_discard_one()272 if (unlikely(consumer_head - r->consumer_tail >= r->batch || in __ptr_ring_discard_one()273 consumer_head >= r->size)) { in __ptr_ring_discard_one()281 r->consumer_tail = consumer_head; in __ptr_ring_discard_one()283 if (unlikely(consumer_head >= r->size)) { in __ptr_ring_discard_one()284 consumer_head = 0; in __ptr_ring_discard_one()[all …]
443 u64 consumer_head; /* Offset in peer queue. */ member794 return vmci_q_read_pointer(&qh->consumer_head); in vmci_q_header_consumer_head()818 vmci_qp_add_pointer(&q_header->consumer_head, add, queue_size); in vmci_q_header_add_consumer_head()829 u64 *consumer_head) in vmci_q_header_get_pointers() argument834 if (consumer_head) in vmci_q_header_get_pointers()835 *consumer_head = vmci_q_header_consumer_head(consume_q_header); in vmci_q_header_get_pointers()843 q_header->consumer_head = 0; in vmci_q_header_init()
56 u64 *consumer_head);
2808 u64 *consumer_head) in vmci_qpair_get_produce_indexes() argument2822 producer_tail, consumer_head); in vmci_qpair_get_produce_indexes()2827 (consumer_head && *consumer_head >= qpair->produce_q_size))) in vmci_qpair_get_produce_indexes()