Lines Matching refs:cached_prod
41 u32 cached_prod; member
116 if (q->cached_cons != q->cached_prod) { in xskq_cons_read_addr_unchecked()
186 while (q->cached_cons != q->cached_prod) { in xskq_cons_read_desc()
211 q->cached_prod = READ_ONCE(q->ring->producer); in __xskq_cons_peek()
223 u32 entries = q->cached_prod - q->cached_cons; in xskq_cons_has_entries()
229 entries = q->cached_prod - q->cached_cons; in xskq_cons_has_entries()
236 if (q->cached_prod == q->cached_cons) in xskq_cons_peek_addr_unchecked()
245 if (q->cached_prod == q->cached_cons) in xskq_cons_peek_desc()
277 u32 free_entries = q->nentries - (q->cached_prod - q->cached_cons); in xskq_prod_is_full()
284 free_entries = q->nentries - (q->cached_prod - q->cached_cons); in xskq_prod_is_full()
295 q->cached_prod++; in xskq_prod_reserve()
307 ring->desc[q->cached_prod++ & q->ring_mask] = addr; in xskq_prod_reserve_addr()
321 idx = q->cached_prod++ & q->ring_mask; in xskq_prod_reserve_desc()
337 __xskq_prod_submit(q, q->cached_prod); in xskq_prod_submit()