Home
last modified time | relevance | path

Searched refs:base_pgt_cache (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/arch/s390/mm/
H A Dpgalloc.c334 static struct kmem_cache *base_pgt_cache; variable
340 table = kmem_cache_alloc(base_pgt_cache, GFP_KERNEL); in base_pgt_alloc()
348 kmem_cache_free(base_pgt_cache, (void *) table); in base_pgt_free()
555 if (base_pgt_cache) in base_pgt_cache_init()
558 if (!base_pgt_cache) in base_pgt_cache_init()
559 base_pgt_cache = kmem_cache_create("base_pgt", sz, sz, 0, NULL); in base_pgt_cache_init()
561 return base_pgt_cache ? 0 : -ENOMEM; in base_pgt_cache_init()
/kernel/linux/linux-6.6/arch/s390/mm/
H A Dpgalloc.c470 static struct kmem_cache *base_pgt_cache; variable
476 table = kmem_cache_alloc(base_pgt_cache, GFP_KERNEL); in base_pgt_alloc()
484 kmem_cache_free(base_pgt_cache, table); in base_pgt_free()
695 if (base_pgt_cache) in base_pgt_cache_init()
698 if (!base_pgt_cache) in base_pgt_cache_init()
699 base_pgt_cache = kmem_cache_create("base_pgt", sz, sz, 0, NULL); in base_pgt_cache_init()
701 return base_pgt_cache ? 0 : -ENOMEM; in base_pgt_cache_init()

Completed in 3 milliseconds