Searched refs:tfrc_rx_hist_slab (Results 1 – 1 of 1) sorted by relevance
79 static struct kmem_cache *tfrc_rx_hist_slab; variable83 tfrc_rx_hist_slab = kmem_cache_create("tfrc_rxh_cache", in tfrc_rx_packet_history_init()86 return tfrc_rx_hist_slab == NULL ? -ENOBUFS : 0; in tfrc_rx_packet_history_init()91 if (tfrc_rx_hist_slab != NULL) { in tfrc_rx_packet_history_exit()92 kmem_cache_destroy(tfrc_rx_hist_slab); in tfrc_rx_packet_history_exit()93 tfrc_rx_hist_slab = NULL; in tfrc_rx_packet_history_exit()339 h->ring[i] = kmem_cache_alloc(tfrc_rx_hist_slab, GFP_ATOMIC); in tfrc_rx_hist_alloc()349 kmem_cache_free(tfrc_rx_hist_slab, h->ring[i]); in tfrc_rx_hist_alloc()361 kmem_cache_free(tfrc_rx_hist_slab, h->ring[i]); in tfrc_rx_hist_purge()