Searched refs:lz4_cache (Results 1 – 1 of 1) sorted by relevance
884 static kmem_cache_t *lz4_cache; variable891 lz4_cache = kmem_cache_create("lz4_cache", in lz4_init()899 if (lz4_cache) { in lz4_fini()900 kmem_cache_destroy(lz4_cache); in lz4_fini()901 lz4_cache = NULL; in lz4_fini()908 ASSERT(lz4_cache != NULL); in lz4_alloc()909 return (kmem_cache_alloc(lz4_cache, flags)); in lz4_alloc()915 kmem_cache_free(lz4_cache, ctx); in lz4_free()