Home
last modified time | relevance | path

Searched refs:handle_cachep (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/mm/
H A Dzsmalloc.c224 struct kmem_cache *handle_cachep; member
300 pool->handle_cachep = kmem_cache_create("zs_handle", ZS_HANDLE_SIZE, in create_cache()
302 if (!pool->handle_cachep) in create_cache()
308 kmem_cache_destroy(pool->handle_cachep); in create_cache()
309 pool->handle_cachep = NULL; in create_cache()
318 kmem_cache_destroy(pool->handle_cachep); in destroy_cache()
324 return (unsigned long)kmem_cache_alloc(pool->handle_cachep, in cache_alloc_handle()
330 kmem_cache_free(pool->handle_cachep, (void *)handle); in cache_free_handle()