Home
last modified time | relevance | path

Searched refs:early_alloc (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/arch/x86/mm/
Dkasan_init_64.c27 static __init void *early_alloc(size_t size, int nid, bool should_panic) in early_alloc() function
50 p = early_alloc(PMD_SIZE, nid, false); in kasan_populate_pmd()
57 p = early_alloc(PAGE_SIZE, nid, true); in kasan_populate_pmd()
69 p = early_alloc(PAGE_SIZE, nid, true); in kasan_populate_pmd()
87 p = early_alloc(PUD_SIZE, nid, false); in kasan_populate_pud()
94 p = early_alloc(PAGE_SIZE, nid, true); in kasan_populate_pud()
113 void *p = early_alloc(PAGE_SIZE, nid, true); in kasan_populate_p4d()
134 p = early_alloc(PAGE_SIZE, nid, true); in kasan_populate_pgd()
/Linux-v5.4/mm/kasan/
Dinit.c84 static __init void *early_alloc(size_t size, int node) in early_alloc() function
134 p = early_alloc(PAGE_SIZE, NUMA_NO_NODE); in zero_pmd_populate()
174 early_alloc(PAGE_SIZE, NUMA_NO_NODE)); in zero_pud_populate()
215 early_alloc(PAGE_SIZE, NUMA_NO_NODE)); in zero_p4d_populate()
288 early_alloc(PAGE_SIZE, NUMA_NO_NODE)); in kasan_populate_early_shadow()
/Linux-v5.4/arch/arm/mm/
Dmmu.c719 static void __init *early_alloc(unsigned long sz) in early_alloc() function
754 return arm_pte_alloc(pmd, addr, prot, early_alloc); in early_pte_alloc()
972 __create_mapping(&init_mm, md, early_alloc, false); in create_mapping()
1345 vectors = early_alloc(PAGE_SIZE * 2); in devicemaps_init()
1659 zero_page = early_alloc(PAGE_SIZE); in paging_init()