Home
last modified time | relevance | path

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

/linux-6.1.9/net/xdp/
Dxsk_queue.h311 u32 free_entries = q->nentries - (q->cached_prod - q->cached_cons); in xskq_prod_nb_free() local
313 if (free_entries >= max) in xskq_prod_nb_free()
318 free_entries = q->nentries - (q->cached_prod - q->cached_cons); in xskq_prod_nb_free()
320 return free_entries >= max ? max : free_entries; in xskq_prod_nb_free()
/linux-6.1.9/tools/testing/selftests/bpf/
Dxsk.h159 __u32 free_entries = r->cached_cons - r->cached_prod; in xsk_prod_nb_free() local
161 if (free_entries >= nb) in xsk_prod_nb_free()
162 return free_entries; in xsk_prod_nb_free()
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_switch.c167 goto free_entries; in rvu_switch_enable()
173 goto free_entries; in rvu_switch_enable()
189 free_entries: in rvu_switch_enable()
/linux-6.1.9/kernel/dma/
Ddebug.c94 static LIST_HEAD(free_entries);
583 list_add_tail(&entry[i].list, &free_entries); in dma_debug_create_entries()
595 entry = list_entry(free_entries.next, struct dma_debug_entry, list); in __dma_entry_alloc()
662 list_add(&entry->list, &free_entries); in dma_entry_free()
/linux-6.1.9/net/bridge/netfilter/
Debtables.c1148 goto free_entries; in do_replace()
1154 free_entries: in do_replace()
2283 goto free_entries; in compat_do_replace()
2340 free_entries: in compat_do_replace()
2348 goto free_entries; in compat_do_replace()
/linux-6.1.9/mm/
Dswapfile.c1342 unsigned int i, free_entries = 0; in put_swap_folio() local
1358 free_entries++; in put_swap_folio()
1361 if (free_entries == SWAPFILE_CLUSTER) { in put_swap_folio()
/linux-6.1.9/Documentation/networking/
Daf_xdp.rst519 u32 free_entries = RING_SIZE - (*ring->producer - *ring->consumer);
521 if (free_entries == 0)