Searched refs:free_entries (Results 1 – 7 of 7) sorted by relevance
311 u32 free_entries = q->nentries - (q->cached_prod - q->cached_cons); in xskq_prod_nb_free() local313 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()
159 __u32 free_entries = r->cached_cons - r->cached_prod; in xsk_prod_nb_free() local161 if (free_entries >= nb) in xsk_prod_nb_free()162 return free_entries; in xsk_prod_nb_free()
167 goto free_entries; in rvu_switch_enable()173 goto free_entries; in rvu_switch_enable()189 free_entries: in rvu_switch_enable()
94 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()
1148 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()
1342 unsigned int i, free_entries = 0; in put_swap_folio() local1358 free_entries++; in put_swap_folio()1361 if (free_entries == SWAPFILE_CLUSTER) { in put_swap_folio()
519 u32 free_entries = RING_SIZE - (*ring->producer - *ring->consumer);521 if (free_entries == 0)