Searched refs:free_entries (Results 1 – 6 of 6) sorted by relevance
279 u32 free_entries = q->nentries - (q->cached_prod - q->cached_cons); in xskq_prod_is_full() local281 if (free_entries) in xskq_prod_is_full()286 free_entries = q->nentries - (q->cached_prod - q->cached_cons); in xskq_prod_is_full()288 return !free_entries; in xskq_prod_is_full()
87 __u32 free_entries = r->cached_cons - r->cached_prod; in xsk_prod_nb_free() local89 if (free_entries >= nb) in xsk_prod_nb_free()90 return free_entries; in xsk_prod_nb_free()
94 static LIST_HEAD(free_entries);586 list_add_tail(&entry[i].list, &free_entries); in dma_debug_create_entries()598 entry = list_entry(free_entries.next, struct dma_debug_entry, list); in __dma_entry_alloc()665 list_add(&entry->list, &free_entries); in dma_entry_free()
1107 goto free_entries; in do_replace()1113 free_entries: in do_replace()2169 goto free_entries; in compat_do_replace()2226 free_entries: in compat_do_replace()2234 goto free_entries; in compat_do_replace()
1391 unsigned int i, free_entries = 0; in put_swap_page() local1407 free_entries++; in put_swap_page()1410 if (free_entries == SWAPFILE_CLUSTER) { in put_swap_page()
519 u32 free_entries = RING_SIZE - (*ring->producer - *ring->consumer);521 if (free_entries == 0)