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()2433 tcl_cache = kmem_cache_create("sppptun_map", sizeof (tuncl_t), 0, in sppptun_tcl_init()2482 if (tcl_cache != NULL) { in sppptun_tcl_fini()2483 kmem_cache_destroy(tcl_cache); in sppptun_tcl_fini()2484 tcl_cache = NULL; in sppptun_tcl_fini()2490 ASSERT(tcl_cache == NULL); in sppptun_tcl_fini()