Searched refs:n_pool (Results 1 – 1 of 1) sorted by relevance
48 uint32_t n_pool; member113 s->pool[s->n_pool++] = *addr; in af_xdp_complete_tx()161 if (!s->n_pool || !xsk_ring_prod__reserve(&s->tx, 1, &idx)) { in af_xdp_receive()171 desc->addr = s->pool[--s->n_pool]; in af_xdp_receive()203 if (s->n_pool < n + 1) { in af_xdp_fq_refill()204 n = s->n_pool; in af_xdp_fq_refill()212 *xsk_ring_prod__fill_addr(&s->fq, idx++) = s->pool[--s->n_pool]; in af_xdp_fq_refill()241 s->pool[s->n_pool++] = desc->addr; in af_xdp_send()337 s->n_pool = n_descs; in af_xdp_umem_create()