Searched refs:cons_tail (Results 1 – 4 of 4) sorted by relevance
| /f-stack/dpdk/lib/librte_ring/ |
| H A D | rte_ring_c11_mem.h | 60 uint32_t cons_tail; in __rte_ring_move_prod_head() local 75 cons_tail = __atomic_load_n(&r->cons.tail, in __rte_ring_move_prod_head() 83 *free_entries = (capacity + cons_tail - *old_head); in __rte_ring_move_prod_head()
|
| H A D | rte_ring.h | 492 uint32_t cons_tail = r->cons.tail; in rte_ring_count() local 493 uint32_t count = (prod_tail - cons_tail) & r->mask; in rte_ring_count() 539 uint32_t cons_tail = r->cons.tail; in rte_ring_empty() local 540 return cons_tail == prod_tail; in rte_ring_empty()
|
| /f-stack/freebsd/sys/ |
| H A D | buf_ring.h | 65 uint32_t prod_head, prod_next, cons_tail; in buf_ring_enqueue() local 84 cons_tail = br->br_cons_tail; in buf_ring_enqueue() 86 if (prod_next == cons_tail) { in buf_ring_enqueue() 89 cons_tail == br->br_cons_tail) { in buf_ring_enqueue()
|
| /f-stack/dpdk/doc/guides/prog_guide/ |
| H A D | ring_lib.rst | 94 …e figures of the following sections refer to them as prod_head, prod_tail, cons_head and cons_tail. 112 First, *ring->prod_head* and ring->cons_tail are copied in local variables. 115 If there is not enough room in the ring (this is detected by checking cons_tail), it returns an err… 158 In this example, only the consumer head and tail (cons_head and cons_tail) are modified and there i… 160 The initial state is to have a cons_head and cons_tail pointing at the same location. 196 Finally, ring->cons_tail in the ring structure is modified to point to the same location as ring->c… 218 On both cores, *ring->prod_head* and ring->cons_tail are copied in local variables. 222 If there is not enough room in the ring (this is detected by checking cons_tail), it returns an err… 301 In the preceding figures, the prod_head, prod_tail, cons_head and cons_tail indexes are represented… 350 uint32_t free_entries = (mask + cons_tail -prod_head);
|