Home
last modified time | relevance | path

Searched refs:consumer_head (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dptr_ring.h33 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() local
265 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 …]
Dvmw_vmci_defs.h443 u64 consumer_head; /* Offset in peer queue. */ member
794 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() argument
834 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()
Dvmw_vmci_api.h56 u64 *consumer_head);
/kernel/linux/linux-5.10/drivers/misc/vmw_vmci/
Dvmci_queue_pair.c2808 u64 *consumer_head) in vmci_qpair_get_produce_indexes() argument
2822 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()