Searched refs:cached_prod (Results 1 – 3 of 3) sorted by relevance
41 u32 cached_prod; member116 if (q->cached_cons != q->cached_prod) { in xskq_cons_read_addr_unchecked()188 while (q->cached_cons != q->cached_prod) { in xskq_cons_read_desc()213 q->cached_prod = READ_ONCE(q->ring->producer); in __xskq_cons_peek()225 u32 entries = q->cached_prod - q->cached_cons; in xskq_cons_has_entries()231 entries = q->cached_prod - q->cached_cons; in xskq_cons_has_entries()238 if (q->cached_prod == q->cached_cons) in xskq_cons_peek_addr_unchecked()247 if (q->cached_prod == q->cached_cons) in xskq_cons_peek_desc()279 u32 free_entries = q->nentries - (q->cached_prod - q->cached_cons); in xskq_prod_is_full()286 free_entries = q->nentries - (q->cached_prod - q->cached_cons); in xskq_prod_is_full()[all …]
28 __u32 cached_prod; \87 __u32 free_entries = r->cached_cons - r->cached_prod; in xsk_prod_nb_free()101 return r->cached_cons - r->cached_prod; in xsk_prod_nb_free()106 __u32 entries = r->cached_prod - r->cached_cons; in xsk_cons_nb_avail()109 r->cached_prod = *r->producer; in xsk_cons_nb_avail()110 entries = r->cached_prod - r->cached_cons; in xsk_cons_nb_avail()122 *idx = prod->cached_prod; in xsk_ring_prod__reserve()123 prod->cached_prod += nb; in xsk_ring_prod__reserve()
807 rx->cached_prod = *rx->producer; in xsk_socket__create_shared()828 tx->cached_prod = *tx->producer; in xsk_socket__create_shared()