Home
last modified time | relevance | path

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

/Linux-v5.4/mm/
Dzsmalloc.c256 struct kmem_cache *handle_cachep; member
329 pool->handle_cachep = kmem_cache_create("zs_handle", ZS_HANDLE_SIZE, in create_cache()
331 if (!pool->handle_cachep) in create_cache()
337 kmem_cache_destroy(pool->handle_cachep); in create_cache()
338 pool->handle_cachep = NULL; in create_cache()
347 kmem_cache_destroy(pool->handle_cachep); in destroy_cache()
353 return (unsigned long)kmem_cache_alloc(pool->handle_cachep, in cache_alloc_handle()
359 kmem_cache_free(pool->handle_cachep, (void *)handle); in cache_free_handle()