Searched refs:lz4_cache (Results 1 – 1 of 1) sorted by relevance
1032 static kmem_cache_t *lz4_cache; variable1037 lz4_cache = kmem_cache_create("lz4_cache", in lz4_init()1044 if (lz4_cache) { in lz4_fini()1045 kmem_cache_destroy(lz4_cache); in lz4_fini()1046 lz4_cache = NULL; in lz4_fini()1053 ASSERT(lz4_cache != NULL); in lz4_alloc()1054 return (kmem_cache_alloc(lz4_cache, flags)); in lz4_alloc()1060 kmem_cache_free(lz4_cache, ctx); in lz4_free()