Searched refs:cached_cons (Results 1 – 4 of 4) sorted by relevance
44 u32 cached_cons; member118 u32 idx = cached_cons & q->ring_mask; in __xskq_cons_read_addr_unchecked()203 q->cached_cons++; in xskq_cons_read_desc()211 q->cached_cons += cnt; in xskq_cons_release_n()217 u32 cached_cons = q->cached_cons, nb_entries = 0; in xskq_cons_read_desc_batch() local227 cached_cons++; in xskq_cons_read_desc_batch()232 cached_cons++; in xskq_cons_read_desc_batch()236 xskq_cons_release_n(q, cached_cons - q->cached_cons); in xskq_cons_read_desc_batch()279 if (q->cached_prod == q->cached_cons) in xskq_cons_peek_addr_unchecked()288 if (q->cached_prod == q->cached_cons) in xskq_cons_peek_desc()[all …]
545 u32 i, cached_cons, nb_entries; in xp_alloc_new_from_fq() local551 cached_cons = pool->fq->cached_cons; in xp_alloc_new_from_fq()559 __xskq_cons_read_addr_unchecked(pool->fq, cached_cons++, &addr); in xp_alloc_new_from_fq()
30 __u32 cached_cons; \88 __u32 free_entries = r->cached_cons - r->cached_prod; in xsk_prod_nb_free()100 r->cached_cons = __atomic_load_n(r->consumer, __ATOMIC_ACQUIRE); in xsk_prod_nb_free()101 r->cached_cons += r->size; in xsk_prod_nb_free()103 return r->cached_cons - r->cached_prod; in xsk_prod_nb_free()108 __u32 entries = r->cached_prod - r->cached_cons; in xsk_cons_nb_avail()112 entries = r->cached_prod - r->cached_cons; in xsk_cons_nb_avail()142 *idx = cons->cached_cons; in xsk_ring_cons__peek()143 cons->cached_cons += entries; in xsk_ring_cons__peek()151 cons->cached_cons -= nb; in xsk_ring_cons__cancel()
189 fill->cached_cons = umem->config.fill_size; in xsk_create_umem_rings()505 rx->cached_cons = *rx->consumer; in xsk_socket__create_shared()529 tx->cached_cons = *tx->consumer + xsk->config.tx_size; in xsk_socket__create_shared()
Completed in 19 milliseconds