Searched refs:handle_cachep (Results 1 – 1 of 1) sorted by relevance
256 struct kmem_cache *handle_cachep; member325 pool->handle_cachep = kmem_cache_create("zs_handle", ZS_HANDLE_SIZE, in create_cache()327 if (!pool->handle_cachep) in create_cache()333 kmem_cache_destroy(pool->handle_cachep); in create_cache()334 pool->handle_cachep = NULL; in create_cache()343 kmem_cache_destroy(pool->handle_cachep); in destroy_cache()349 return (unsigned long)kmem_cache_alloc(pool->handle_cachep, in cache_alloc_handle()355 kmem_cache_free(pool->handle_cachep, (void *)handle); in cache_free_handle()