Home
last modified time | relevance | path

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

/linux/net/xdp/
H A Dxsk_queue.h384 u32 free_entries = q->nentries - (q->cached_prod - q->cached_cons); in xskq_prod_nb_free() local
386 if (free_entries >= max) in xskq_prod_nb_free()
391 free_entries = q->nentries - (q->cached_prod - q->cached_cons); in xskq_prod_nb_free()
393 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()
/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/kernel/dma/
H A Ddebug.c98 static LIST_HEAD(free_entries);
636 list_add_tail(&entry[i].list, &free_entries); in dma_debug_create_entries()
648 entry = list_entry(free_entries.next, struct dma_debug_entry, list); in __dma_entry_alloc()
725 list_add(&entry->list, &free_entries); in dma_entry_free()
/linux/net/bridge/netfilter/
H A Debtables.c1150 goto free_entries; in do_replace()
1156 free_entries: in do_replace()
2286 goto free_entries; in compat_do_replace()
2343 free_entries: in compat_do_replace()
2351 goto free_entries; in compat_do_replace()
/linux/Documentation/networking/
H A Daf_xdp.rst617 u32 free_entries = RING_SIZE - (*ring->producer - *ring->consumer);
619 if (free_entries == 0)