Home
last modified time | relevance | path

Searched refs:consumer_tail (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/include/linux/
H A Dptr_ring.h34 int consumer_tail; /* next entry to invalidate */ member
272 if (unlikely(consumer_head - r->consumer_tail >= r->batch || in __ptr_ring_discard_one()
279 while (likely(head >= r->consumer_tail)) in __ptr_ring_discard_one()
281 r->consumer_tail = consumer_head; in __ptr_ring_discard_one()
285 r->consumer_tail = 0; in __ptr_ring_discard_one()
494 r->producer = r->consumer_head = r->consumer_tail = 0; in ptr_ring_init()
528 while (likely(head >= r->consumer_tail)) in ptr_ring_unconsume()
530 r->consumer_tail = r->consumer_head; in ptr_ring_unconsume()
545 r->consumer_tail = head; in ptr_ring_unconsume()
577 r->consumer_tail = 0; in __ptr_ring_swap_queue()
H A Dvmw_vmci_api.h58 u64 *consumer_tail,
/openbmc/linux/drivers/misc/vmw_vmci/
H A Dvmci_queue_pair.c2860 u64 *consumer_tail, in vmci_qpair_get_consume_indexes() argument
2875 consumer_tail, producer_head); in vmci_qpair_get_consume_indexes()
2879 ((consumer_tail && *consumer_tail >= qpair->consume_q_size) || in vmci_qpair_get_consume_indexes()