Searched refs:producer (Results 1 – 3 of 3) sorted by relevance
17 u32 producer ____cacheline_aligned_in_smp;102 q->prod_tail = READ_ONCE(q->ring->producer); in xskq_nb_avail()109 static inline u32 xskq_nb_free(struct xsk_queue *q, u32 producer, u32 dcnt) in xskq_nb_free() argument111 u32 free_entries = q->nentries - (producer - q->cons_tail); in xskq_nb_free()118 return q->nentries - (producer - q->cons_tail); in xskq_nb_free()129 q->prod_tail = READ_ONCE(q->ring->producer); in xskq_has_addrs()234 WRITE_ONCE(q->ring->producer, q->prod_tail); in xskq_produce_addr()257 WRITE_ONCE(q->ring->producer, q->prod_tail); in xskq_produce_flush_addr_n()361 WRITE_ONCE(q->ring->producer, q->prod_tail); in xskq_produce_flush_desc()367 return READ_ONCE(q->ring->producer) - READ_ONCE(q->ring->consumer) == in xskq_full_desc()[all …]
8 __u64 producer; member
840 ring->producer = offsetof(struct xdp_rxtx_ring, ptrs.producer); in xsk_enter_rxtx_offsets()847 ring->producer = offsetof(struct xdp_umem_ring, ptrs.producer); in xsk_enter_umem_offsets()