Lines Matching full:shadow
55 panic("%s failed to allocate shadow page for address 0x%lx\n", in kasan_pte_populate()
64 * The early shadow memory is mapping all KASan in kasan_pte_populate()
68 * proper KASan shadow memory. in kasan_pte_populate()
74 * Early shadow mappings are PMD_SIZE aligned, so if the in kasan_pte_populate()
96 * We attempt to allocate a shadow block for the PMDs in kasan_pmd_populate()
104 panic("%s failed to allocate shadow block for address 0x%lx\n", in kasan_pmd_populate()
129 * Allocate and populate the shadow block of p4d folded into in kasan_pgd_populate()
136 panic("%s failed to allocate shadow block for address 0x%lx\n", in kasan_pgd_populate()
176 * We walk the page table and set all of the shadow memory to point in kasan_early_init()
196 pr_info("Mapping kernel virtual memory block: %px-%px at shadow: %px-%px\n", in create_mapping()
210 * We are going to perform proper setup of shadow memory. in kasan_init()
212 * At first we should unmap early shadow (clear_pgds() call bellow). in kasan_init()
213 * However, instrumented code can't execute without shadow memory. in kasan_init()
215 * To keep the early shadow memory MMU tables around while setting up in kasan_init()
216 * the proper shadow memory, we copy swapper_pg_dir (the initial page in kasan_init()
217 * table) to tmp_pgd_table and use that to keep the early shadow memory in kasan_init()
218 * mapped until the full shadow setup is finished. Then we swap back in kasan_init()
249 /* Do not attempt to shadow highmem */ in kasan_init()
255 pr_info("Truncating shadow for memory block at %pa-%pa to lowmem region at %pa\n", in kasan_init()
274 * 2. PKMAP_BASE ~ PKMAP_BASE+PMD_SIZE's shadow and MODULES_VADDR in kasan_init()
275 * ~ MODULES_END's shadow is in the same PMD_SIZE, so we can't in kasan_init()