Searched refs:lz4_cache (Results 1 – 1 of 1) sorted by relevance
881 static kmem_cache_t *lz4_cache; variable888 lz4_cache = kmem_cache_create("lz4_cache", in lz4_init()895 if (lz4_cache) { in lz4_fini()896 kmem_cache_destroy(lz4_cache); in lz4_fini()897 lz4_cache = NULL; in lz4_fini()904 ASSERT(lz4_cache != NULL); in lz4_alloc()905 return (kmem_cache_alloc(lz4_cache, flags)); in lz4_alloc()911 kmem_cache_free(lz4_cache, ctx); in lz4_free()