Searched refs:handle_cachep (Results 1 – 1 of 1) sorted by relevance
253 struct kmem_cache *handle_cachep; member285 pool->handle_cachep = kmem_cache_create("zs_handle", ZS_HANDLE_SIZE, in create_handle_cache()287 return pool->handle_cachep ? 0 : 1; in create_handle_cache()292 if (pool->handle_cachep) in destroy_handle_cache()293 kmem_cache_destroy(pool->handle_cachep); in destroy_handle_cache()298 return (unsigned long)kmem_cache_alloc(pool->handle_cachep, in alloc_handle()304 kmem_cache_free(pool->handle_cachep, (void *)handle); in free_handle()