Searched refs:tfrc_rx_hist_slab (Results 1 – 1 of 1) sorted by relevance
92 static struct kmem_cache *tfrc_rx_hist_slab; variable96 tfrc_rx_hist_slab = kmem_cache_create("tfrc_rxh_cache", in tfrc_rx_packet_history_init()99 return tfrc_rx_hist_slab == NULL ? -ENOBUFS : 0; in tfrc_rx_packet_history_init()104 if (tfrc_rx_hist_slab != NULL) { in tfrc_rx_packet_history_exit()105 kmem_cache_destroy(tfrc_rx_hist_slab); in tfrc_rx_packet_history_exit()106 tfrc_rx_hist_slab = NULL; in tfrc_rx_packet_history_exit()354 h->ring[i] = kmem_cache_alloc(tfrc_rx_hist_slab, GFP_ATOMIC); in tfrc_rx_hist_alloc()364 kmem_cache_free(tfrc_rx_hist_slab, h->ring[i]); in tfrc_rx_hist_alloc()376 kmem_cache_free(tfrc_rx_hist_slab, h->ring[i]); in tfrc_rx_hist_purge()