Searched refs:PGALLOC_GFP (Results 1 – 12 of 12) sorted by relevance
/arch/arm64/include/asm/ |
D | pgalloc.h | 29 #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/ |
D | pgtable.c | 5 #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/ |
D | pgalloc.h | 60 #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/ |
D | pgd.c | 34 return (pgd_t *)__get_free_page(PGALLOC_GFP); in pgd_alloc() 36 return kmem_cache_alloc(pgd_cache, PGALLOC_GFP); in pgd_alloc()
|
D | mmu.c | 346 void *ptr = (void *)__get_free_page(PGALLOC_GFP); in pgd_pgtable_alloc()
|
/arch/unicore32/include/asm/ |
D | pgalloc.h | 31 #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/ |
D | espfix_64.c | 60 #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/ |
D | pgtable.c | 11 #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/ |
D | pgalloc.h | 21 #define PGALLOC_GFP (GFP_KERNEL | __GFP_ZERO) macro
|
/arch/powerpc/include/asm/book3s/64/ |
D | pgalloc.h | 54 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/ |
D | pgtable_64.c | 360 page = alloc_page(PGALLOC_GFP | __GFP_ACCOUNT); in __alloc_for_cache() 368 page = alloc_page(PGALLOC_GFP); in __alloc_for_cache()
|
/arch/arm/mm/ |
D | mmu.c | 736 void *ptr = (void *)__get_free_pages(PGALLOC_GFP, get_order(sz)); in late_alloc()
|