Home
last modified time | relevance | path

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

/f-stack/freebsd/sys/
H A Dbuf_ring.h65 uint32_t prod_head, prod_next, cons_tail; in buf_ring_enqueue() local
83 prod_next = (prod_head + 1) & br->br_prod_mask; in buf_ring_enqueue()
86 if (prod_next == cons_tail) { in buf_ring_enqueue()
96 } while (!atomic_cmpset_acq_int(&br->br_prod_head, prod_head, prod_next)); in buf_ring_enqueue()
110 atomic_store_rel_int(&br->br_prod_tail, prod_next); in buf_ring_enqueue()
/f-stack/dpdk/lib/librte_ring/
H A Drte_ring_elem.h416 uint32_t prod_head, prod_next; in __rte_ring_do_enqueue_elem() local
420 &prod_head, &prod_next, &free_entries); in __rte_ring_do_enqueue_elem()
426 update_tail(&r->prod, prod_head, prod_next, is_sp, 1); in __rte_ring_do_enqueue_elem()
/f-stack/dpdk/doc/guides/prog_guide/
H A Dring_lib.rst113 The prod_next local variable points to the next element of the table, or several elements after in …
128 …d step is to modify *ring->prod_head* in ring structure to point to the same location as prod_next.
219 The prod_next local variable points to the next element of the table,
235 …step is to modify ring->prod_head in the ring structure to point to the same location as prod_next.
241 * Otherwise, ring->prod_head is set to local prod_next,