Home
last modified time | relevance | path

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

/linux-6.1.9/arch/sparc/include/asm/
Dpgalloc_64.h17 extern struct kmem_cache *pgtable_cache;
28 return kmem_cache_alloc(pgtable_cache, GFP_KERNEL); in pgd_alloc()
33 kmem_cache_free(pgtable_cache, pgd); in pgd_free()
45 return kmem_cache_alloc(pgtable_cache, GFP_KERNEL); in pud_alloc_one()
50 kmem_cache_free(pgtable_cache, pud); in pud_free()
55 return kmem_cache_alloc(pgtable_cache, GFP_KERNEL); in pmd_alloc_one()
60 kmem_cache_free(pgtable_cache, pmd); in pmd_free()
/linux-6.1.9/arch/powerpc/mm/
Dinit-common.c104 struct kmem_cache *pgtable_cache[MAX_PGTABLE_INDEX_SIZE + 1]; variable
105 EXPORT_SYMBOL_GPL(pgtable_cache); /* used by kvm_hv module */
147 pgtable_cache[shift] = new; in pgtable_cache_add()
/linux-6.1.9/arch/powerpc/include/asm/
Dpgalloc.h64 extern struct kmem_cache *pgtable_cache[];
65 #define PGT_CACHE(shift) pgtable_cache[shift]
/linux-6.1.9/arch/sparc/mm/
Dtsb.c326 struct kmem_cache *pgtable_cache __read_mostly;
345 pgtable_cache = kmem_cache_create("pgtable_cache", in pgtable_cache_init()
349 if (!pgtable_cache) { in pgtable_cache_init()
Dinit_64.c2930 kmem_cache_free(pgtable_cache, table); in pgtable_free()