Lines Matching full:shadow

61 				panic("%s failed to allocate shadow page for address 0x%lx\n",  in kasan_pte_populate()
70 * The early shadow memory is mapping all KASan in kasan_pte_populate()
74 * proper KASan shadow memory. in kasan_pte_populate()
80 * Early shadow mappings are PMD_SIZE aligned, so if the in kasan_pte_populate()
102 * We attempt to allocate a shadow block for the PMDs in kasan_pmd_populate()
110 panic("%s failed to allocate shadow block for address 0x%lx\n", in kasan_pmd_populate()
135 * Allocate and populate the shadow block of p4d folded into in kasan_pgd_populate()
142 panic("%s failed to allocate shadow block for address 0x%lx\n", in kasan_pgd_populate()
182 * We walk the page table and set all of the shadow memory to point in kasan_early_init()
202 pr_info("Mapping kernel virtual memory block: %px-%px at shadow: %px-%px\n", in create_mapping()
216 * We are going to perform proper setup of shadow memory. in kasan_init()
218 * At first we should unmap early shadow (clear_pgds() call bellow). in kasan_init()
219 * However, instrumented code can't execute without shadow memory. in kasan_init()
221 * To keep the early shadow memory MMU tables around while setting up in kasan_init()
222 * the proper shadow memory, we copy swapper_pg_dir (the initial page in kasan_init()
223 * table) to tmp_pgd_table and use that to keep the early shadow memory in kasan_init()
224 * mapped until the full shadow setup is finished. Then we swap back in kasan_init()
255 /* Do not attempt to shadow highmem */ in kasan_init()
261 pr_info("Truncating shadow for memory block at %pa-%pa to lowmem region at %pa\n", in kasan_init()
280 * 2. PKMAP_BASE ~ PKMAP_BASE+PMD_SIZE's shadow and MODULES_VADDR in kasan_init()
281 * ~ MODULES_END's shadow is in the same PMD_SIZE, so we can't in kasan_init()