Lines Matching refs:nb_entries
588 u32 i, cached_cons, nb_entries; in xp_alloc_new_from_fq() local
595 nb_entries = max; in xp_alloc_new_from_fq()
608 nb_entries--; in xp_alloc_new_from_fq()
619 return nb_entries; in xp_alloc_new_from_fq()
622 static u32 xp_alloc_reused(struct xsk_buff_pool *pool, struct xdp_buff **xdp, u32 nb_entries) in xp_alloc_reused() argument
627 nb_entries = min_t(u32, nb_entries, pool->free_list_cnt); in xp_alloc_reused()
629 i = nb_entries; in xp_alloc_reused()
637 pool->free_list_cnt -= nb_entries; in xp_alloc_reused()
639 return nb_entries; in xp_alloc_reused()