Home
last modified time | relevance | path

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

/openbmc/linux/arch/sparc/include/asm/
H A 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()
/openbmc/linux/arch/powerpc/mm/
H A 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 */
148 pgtable_cache[shift] = new; in pgtable_cache_add()
/openbmc/linux/arch/powerpc/include/asm/
H A Dpgalloc.h68 extern struct kmem_cache *pgtable_cache[];
69 #define PGT_CACHE(shift) pgtable_cache[shift]
/openbmc/linux/arch/sparc/mm/
H A 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()
H A Dinit_64.c2944 kmem_cache_free(pgtable_cache, table); in pgtable_free()