Home
last modified time | relevance | path

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

/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()
/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()
/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()
/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.c346 void *ptr = (void *)__get_free_page(PGALLOC_GFP); in pgd_pgtable_alloc()
/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()
/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()
/arch/x86/mm/
Dpgtable.c11 #define PGALLOC_GFP (GFP_KERNEL_ACCOUNT | __GFP_ZERO) macro
19 gfp_t __userpte_alloc_gfp = PGALLOC_GFP | PGALLOC_USER_GFP;
23 return (pte_t *)__get_free_page(PGALLOC_GFP & ~__GFP_ACCOUNT); in pte_alloc_one_kernel()
220 gfp_t gfp = PGALLOC_GFP; in preallocate_pmds()
342 return (pgd_t *)__get_free_page(PGALLOC_GFP); in _pgd_alloc()
348 return kmem_cache_alloc(pgd_cache, PGALLOC_GFP); in _pgd_alloc()
362 return (pgd_t *)__get_free_pages(PGALLOC_GFP, PGD_ALLOCATION_ORDER); in _pgd_alloc()
/arch/powerpc/include/asm/
Dpgalloc.h21 #define PGALLOC_GFP (GFP_KERNEL | __GFP_ZERO) macro
/arch/powerpc/include/asm/book3s/64/
Dpgalloc.h54 return (pgd_t *)__get_free_page(pgtable_gfp_flags(mm, PGALLOC_GFP)); in radix__pgd_alloc()
57 page = alloc_pages(pgtable_gfp_flags(mm, PGALLOC_GFP | __GFP_RETRY_MAYFAIL), in radix__pgd_alloc()
/arch/powerpc/mm/
Dpgtable_64.c360 page = alloc_page(PGALLOC_GFP | __GFP_ACCOUNT); in __alloc_for_cache()
368 page = alloc_page(PGALLOC_GFP); in __alloc_for_cache()
/arch/arm/mm/
Dmmu.c736 void *ptr = (void *)__get_free_pages(PGALLOC_GFP, get_order(sz)); in late_alloc()