Home
last modified time | relevance | path

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

/Linux-v6.6/net/xdp/
Dxsk_queue.h351 u32 free_entries = q->nentries - (q->cached_prod - q->cached_cons); in xskq_prod_nb_free() local
353 if (free_entries >= max) in xskq_prod_nb_free()
358 free_entries = q->nentries - (q->cached_prod - q->cached_cons); in xskq_prod_nb_free()
360 return free_entries >= max ? max : free_entries; in xskq_prod_nb_free()
/Linux-v6.6/tools/testing/selftests/bpf/
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-v6.6/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_switch.c181 goto free_entries; in rvu_switch_enable()
187 goto free_entries; in rvu_switch_enable()
203 free_entries: in rvu_switch_enable()
/Linux-v6.6/kernel/dma/
Ddebug.c95 static LIST_HEAD(free_entries);
617 list_add_tail(&entry[i].list, &free_entries); in dma_debug_create_entries()
629 entry = list_entry(free_entries.next, struct dma_debug_entry, list); in __dma_entry_alloc()
706 list_add(&entry->list, &free_entries); in dma_entry_free()
/Linux-v6.6/net/bridge/netfilter/
Debtables.c1148 goto free_entries; in do_replace()
1154 free_entries: in do_replace()
2282 goto free_entries; in compat_do_replace()
2339 free_entries: in compat_do_replace()
2347 goto free_entries; in compat_do_replace()
/Linux-v6.6/mm/
Dswapfile.c1347 unsigned int i, free_entries = 0; in put_swap_folio() local
1363 free_entries++; in put_swap_folio()
1366 if (free_entries == SWAPFILE_CLUSTER) { in put_swap_folio()
/Linux-v6.6/Documentation/networking/
Daf_xdp.rst612 u32 free_entries = RING_SIZE - (*ring->producer - *ring->consumer);
614 if (free_entries == 0)