Home
last modified time | relevance | path

Searched refs:free_entries (Results 1 – 5 of 5) sorted by relevance

/linux/net/xdp/
H A Dxsk_queue.h413 u32 free_entries = q->nentries - (q->cached_prod - q->cached_cons); in xskq_prod_nb_free() local
415 if (free_entries >= max) in xskq_prod_nb_free()
420 free_entries = q->nentries - (q->cached_prod - q->cached_cons); in xskq_prod_nb_free()
422 return free_entries >= max ? max : free_entries; in xskq_prod_nb_free()
/linux/tools/testing/selftests/bpf/
H A Dxsk.h88 __u32 free_entries = r->cached_cons - r->cached_prod; in xsk_prod_nb_free() local
90 if (free_entries >= nb) in xsk_prod_nb_free()
91 return free_entries; in xsk_prod_nb_free()
96 * executed code that computes free_entries in the beginning of in xsk_prod_nb_free()
98 * free_entries = r->cached_prod - r->cached_cons + r->size. in xsk_prod_nb_free()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_switch.c183 goto free_entries; in rvu_switch_enable()
189 goto free_entries; in rvu_switch_enable()
210 free_entries: in rvu_switch_enable()
/linux/net/bridge/netfilter/
H A Debtables.c1154 goto free_entries; in do_replace()
1160 free_entries: in do_replace()
2326 goto free_entries; in compat_do_replace()
2383 free_entries: in compat_do_replace()
2391 goto free_entries; in compat_do_replace()
/linux/Documentation/networking/
H A Daf_xdp.rst623 u32 free_entries = RING_SIZE - (*ring->producer - *ring->consumer);
625 if (free_entries == 0)