Home
last modified time | relevance | path

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

/linux-6.1.9/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.h505 u64 consumer_head; /* Offset in peer queue. */ member
856 return vmci_q_read_pointer(&qh->consumer_head); in vmci_q_header_consumer_head()
880 vmci_qp_add_pointer(&q_header->consumer_head, add, queue_size); in vmci_q_header_add_consumer_head()
891 u64 *consumer_head) in vmci_q_header_get_pointers() argument
896 if (consumer_head) in vmci_q_header_get_pointers()
897 *consumer_head = vmci_q_header_consumer_head(consume_q_header); in vmci_q_header_get_pointers()
905 q_header->consumer_head = 0; in vmci_q_header_init()
Dvmw_vmci_api.h56 u64 *consumer_head);
/linux-6.1.9/drivers/misc/vmw_vmci/
Dvmci_queue_pair.c2824 u64 *consumer_head) in vmci_qpair_get_produce_indexes() argument
2838 producer_tail, consumer_head); in vmci_qpair_get_produce_indexes()
2843 (consumer_head && *consumer_head >= qpair->produce_q_size))) in vmci_qpair_get_produce_indexes()