Home
last modified time | relevance | path

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

/linux/include/linux/
A Dptr_ring.h264 int consumer_head = r->consumer_head; in __ptr_ring_discard_one() local
265 int head = consumer_head++; 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()
284 consumer_head = 0; in __ptr_ring_discard_one()
288 WRITE_ONCE(r->consumer_head, consumer_head); in __ptr_ring_discard_one()
527 head = r->consumer_head - 1; in ptr_ring_unconsume()
530 r->consumer_tail = r->consumer_head; in ptr_ring_unconsume()
537 head = r->consumer_head - 1; in ptr_ring_unconsume()
547 WRITE_ONCE(r->consumer_head, head); in ptr_ring_unconsume()
[all …]
A 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()
A Dvmw_vmci_api.h56 u64 *consumer_head);
/linux/drivers/misc/vmw_vmci/
A Dvmci_queue_pair.c2810 u64 *consumer_head) in vmci_qpair_get_produce_indexes() argument
2824 producer_tail, consumer_head); in vmci_qpair_get_produce_indexes()
2829 (consumer_head && *consumer_head >= qpair->produce_q_size))) in vmci_qpair_get_produce_indexes()

Completed in 17 milliseconds