Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/include/asm/nohash/64/
Dpgalloc.h22 return kmem_cache_alloc(PGT_CACHE(PUD_INDEX_SIZE), in pud_alloc_one()
28 kmem_cache_free(PGT_CACHE(PUD_INDEX_SIZE), pud); in pud_free()
50 return kmem_cache_alloc(PGT_CACHE(PMD_CACHE_INDEX), in pmd_alloc_one()
56 kmem_cache_free(PGT_CACHE(PMD_CACHE_INDEX), pmd); in pmd_free()
/Linux-v5.4/arch/powerpc/include/asm/nohash/
Dpgalloc.h22 return kmem_cache_alloc(PGT_CACHE(PGD_INDEX_SIZE), in pgd_alloc()
28 kmem_cache_free(PGT_CACHE(PGD_INDEX_SIZE), pgd); in pgd_free()
43 kmem_cache_free(PGT_CACHE(shift), table); in pgtable_free()
/Linux-v5.4/arch/powerpc/include/asm/book3s/32/
Dpgalloc.h10 return kmem_cache_alloc(PGT_CACHE(PGD_INDEX_SIZE), in pgd_alloc()
16 kmem_cache_free(PGT_CACHE(PGD_INDEX_SIZE), pgd); in pgd_free()
46 kmem_cache_free(PGT_CACHE(index_size), table); in pgtable_free()
/Linux-v5.4/arch/powerpc/include/asm/book3s/64/
Dpgalloc.h57 pgd = kmem_cache_alloc(PGT_CACHE(PGD_INDEX_SIZE), in pgd_alloc()
87 kmem_cache_free(PGT_CACHE(PGD_INDEX_SIZE), pgd); in pgd_free()
99 pud = kmem_cache_alloc(PGT_CACHE(PUD_CACHE_INDEX), in pud_alloc_one()
114 kmem_cache_free(PGT_CACHE(PUD_CACHE_INDEX), pud); in pud_free()
/Linux-v5.4/arch/powerpc/mm/
Dhugetlbpage.c54 cachep = PGT_CACHE(PTE_T_ORDER); in __hugepte_alloc()
57 cachep = PGT_CACHE(PTE_INDEX_SIZE); in __hugepte_alloc()
60 cachep = PGT_CACHE(pdshift - pshift); in __hugepte_alloc()
261 kmem_cache_free(PGT_CACHE(PTE_T_ORDER), batch->ptes[i]); in hugepd_free_rcu_callback()
274 kmem_cache_free(PGT_CACHE(PTE_T_ORDER), hugepte); in hugepd_free()
Dinit-common.c115 if (PGT_CACHE(shift)) in pgtable_cache_add()
/Linux-v5.4/arch/powerpc/mm/book3s64/
Dpgtable.c361 kmem_cache_free(PGT_CACHE(PUD_CACHE_INDEX), table); in pgtable_free()
367 kmem_cache_free(PGT_CACHE(H_16M_CACHE_INDEX), table); in pgtable_free()
372 kmem_cache_free(PGT_CACHE(H_16G_CACHE_INDEX), table); in pgtable_free()
/Linux-v5.4/arch/powerpc/include/asm/
Dpgalloc.h65 #define PGT_CACHE(shift) pgtable_cache[shift] macro