Searched refs:tcl_cache (Results 1 – 1 of 1) sorted by relevance
140 static struct kmem_cache *tcl_cache = NULL; /* tunnel cache */ variable335 tcl = kmem_cache_alloc(tcl_cache, KM_NOSLEEP); in tuncl_alloc()377 kmem_cache_free(tcl_cache, tcl); in tuncl_free()2428 tcl_cache = kmem_cache_create("sppptun_map", sizeof (tuncl_t), 0, in sppptun_tcl_init()2477 if (tcl_cache != NULL) { in sppptun_tcl_fini()2478 kmem_cache_destroy(tcl_cache); in sppptun_tcl_fini()2479 tcl_cache = NULL; in sppptun_tcl_fini()2485 ASSERT(tcl_cache == NULL); in sppptun_tcl_fini()