Home
last modified time | relevance | path

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

/Linux-v4.19/arch/arm64/include/asm/
Dpgalloc.h29 #define PGALLOC_GFP (GFP_KERNEL | __GFP_ZERO) macro
36 return (pmd_t *)__get_free_page(PGALLOC_GFP); in pmd_alloc_one()
65 return (pud_t *)__get_free_page(PGALLOC_GFP); in pud_alloc_one()
96 return (pte_t *)__get_free_page(PGALLOC_GFP); in pte_alloc_one_kernel()
104 pte = alloc_pages(PGALLOC_GFP, 0); in pte_alloc_one()
/Linux-v4.19/arch/sh/mm/
Dpgtable.c5 #define PGALLOC_GFP GFP_KERNEL | __GFP_ZERO macro
35 return kmem_cache_alloc(pgd_cachep, PGALLOC_GFP); in pgd_alloc()
51 return kmem_cache_alloc(pmd_cachep, PGALLOC_GFP); in pmd_alloc_one()
/Linux-v4.19/arch/arm/include/asm/
Dpgalloc.h60 #define PGALLOC_GFP (GFP_KERNEL | __GFP_ZERO) macro
88 pte = (pte_t *)__get_free_page(PGALLOC_GFP); in pte_alloc_one_kernel()
101 pte = alloc_pages(PGALLOC_GFP | __GFP_HIGHMEM, 0); in pte_alloc_one()
103 pte = alloc_pages(PGALLOC_GFP, 0); in pte_alloc_one()
/Linux-v4.19/arch/unicore32/include/asm/
Dpgalloc.h31 #define PGALLOC_GFP (GFP_KERNEL | __GFP_ZERO) macro
41 pte = (pte_t *)__get_free_page(PGALLOC_GFP); in pte_alloc_one_kernel()
53 pte = alloc_pages(PGALLOC_GFP, 0); in pte_alloc_one()
/Linux-v4.19/arch/arm64/mm/
Dpgd.c34 return (pgd_t *)__get_free_page(PGALLOC_GFP); in pgd_alloc()
36 return kmem_cache_alloc(pgd_cache, PGALLOC_GFP); in pgd_alloc()
Dmmu.c355 void *ptr = (void *)__get_free_page(PGALLOC_GFP); in pgd_pgtable_alloc()
/Linux-v4.19/arch/x86/kernel/
Despfix_64.c60 #define PGALLOC_GFP (GFP_KERNEL | __GFP_ZERO) macro
175 struct page *page = alloc_pages_node(node, PGALLOC_GFP, 0); in init_espfix_ap()
187 struct page *page = alloc_pages_node(node, PGALLOC_GFP, 0); in init_espfix_ap()
/Linux-v4.19/arch/x86/mm/
Dpgtable.c16 #define PGALLOC_GFP (GFP_KERNEL_ACCOUNT | __GFP_ZERO) macro
24 gfp_t __userpte_alloc_gfp = PGALLOC_GFP | PGALLOC_USER_GFP;
28 return (pte_t *)__get_free_page(PGALLOC_GFP & ~__GFP_ACCOUNT); in pte_alloc_one_kernel()
238 gfp_t gfp = PGALLOC_GFP; in preallocate_pmds()
404 return (pgd_t *)__get_free_pages(PGALLOC_GFP, in _pgd_alloc()
411 return kmem_cache_alloc(pgd_cache, PGALLOC_GFP); in _pgd_alloc()
425 return (pgd_t *)__get_free_pages(PGALLOC_GFP, PGD_ALLOCATION_ORDER); in _pgd_alloc()
/Linux-v4.19/arch/powerpc/include/asm/
Dpgalloc.h21 #define PGALLOC_GFP (GFP_KERNEL | __GFP_ZERO) macro
/Linux-v4.19/arch/powerpc/include/asm/book3s/64/
Dpgalloc.h57 return (pgd_t *)__get_free_page(pgtable_gfp_flags(mm, PGALLOC_GFP)); in radix__pgd_alloc()
60 page = alloc_pages(pgtable_gfp_flags(mm, PGALLOC_GFP | __GFP_RETRY_MAYFAIL), in radix__pgd_alloc()
/Linux-v4.19/arch/powerpc/mm/
Dpgtable-book3s64.c345 page = alloc_page(PGALLOC_GFP | __GFP_ACCOUNT); in __alloc_for_ptecache()
353 page = alloc_page(PGALLOC_GFP); in __alloc_for_ptecache()
/Linux-v4.19/arch/arm/mm/
Dmmu.c736 void *ptr = (void *)__get_free_pages(PGALLOC_GFP, get_order(sz)); in late_alloc()
/Linux-v4.19/virt/kvm/arm/
Dmmu.c128 page = (void *)__get_free_page(PGALLOC_GFP); in mmu_topup_memory_cache()