Searched refs:kasan_early_shadow_page (Results 1 – 11 of 11) sorted by relevance
/linux-6.1.9/arch/powerpc/mm/kasan/ |
D | init_book3s_64.c | 57 pte_t zero_pte = pfn_pte(virt_to_pfn(kasan_early_shadow_page), PAGE_KERNEL); in kasan_init() 68 __set_pte_at(&init_mm, (unsigned long)kasan_early_shadow_page, in kasan_init() 83 zero_pte = pfn_pte(virt_to_pfn(kasan_early_shadow_page), PAGE_KERNEL_RO); in kasan_init() 85 __set_pte_at(&init_mm, (unsigned long)kasan_early_shadow_page, in kasan_init() 93 memset(kasan_early_shadow_page, 0, PAGE_SIZE); in kasan_init()
|
D | init_book3e_64.c | 87 pte_t zero_pte = pfn_pte(virt_to_pfn(kasan_early_shadow_page), PAGE_KERNEL); in kasan_early_init() 93 __set_pte_at(&init_mm, (unsigned long)kasan_early_shadow_page, in kasan_early_init() 112 pte_t zero_pte = pfn_pte(virt_to_pfn(kasan_early_shadow_page), PAGE_KERNEL_RO); in kasan_init() 121 __set_pte_at(&init_mm, (unsigned long)kasan_early_shadow_page, in kasan_init() 126 memset(kasan_early_shadow_page, 0, PAGE_SIZE); in kasan_init()
|
D | init_32.c | 23 unsigned long va = (unsigned long)kasan_early_shadow_page; in kasan_populate_pte() 24 phys_addr_t pa = __pa(kasan_early_shadow_page); in kasan_populate_pte() 91 if (pte_page(*ptep) != virt_to_page(lm_alias(kasan_early_shadow_page))) in kasan_update_early_region() 103 phys_addr_t pa = __pa(kasan_early_shadow_page); in kasan_remap_early_shadow_ro() 163 clear_page(kasan_early_shadow_page); in kasan_init()
|
/linux-6.1.9/arch/xtensa/mm/ |
D | kasan_init.c | 27 mk_pte(virt_to_page(kasan_early_shadow_page), in kasan_early_init() 95 mk_pte(virt_to_page(kasan_early_shadow_page), in kasan_init() 99 memset(kasan_early_shadow_page, 0, PAGE_SIZE); in kasan_init()
|
/linux-6.1.9/arch/arm/mm/ |
D | kasan_init.c | 71 entry = pfn_pte(virt_to_pfn(kasan_early_shadow_page), in kasan_pte_populate() 290 pfn_pte(virt_to_pfn(kasan_early_shadow_page), in kasan_init() 297 memset(kasan_early_shadow_page, 0, PAGE_SIZE); in kasan_init()
|
/linux-6.1.9/arch/arm64/mm/ |
D | kasan_init.c | 110 __pa_symbol(kasan_early_shadow_page) in kasan_pte_populate() 279 pfn_pte(sym_to_pfn(kasan_early_shadow_page), in kasan_init_shadow() 282 memset(kasan_early_shadow_page, KASAN_SHADOW_INIT, PAGE_SIZE); in kasan_init_shadow()
|
/linux-6.1.9/arch/x86/mm/ |
D | kasan_init_64.c | 291 pteval_t pte_val = __pa_nodebug(kasan_early_shadow_page) | in kasan_early_init() 417 memset(kasan_early_shadow_page, 0, PAGE_SIZE); in kasan_init() 425 pte = __pte(__pa(kasan_early_shadow_page) | pgprot_val(prot)); in kasan_init()
|
/linux-6.1.9/mm/kasan/ |
D | init.c | 29 unsigned char kasan_early_shadow_page[PAGE_SIZE] __page_aligned_bss; variable 77 return pte_page(pte) == virt_to_page(lm_alias(kasan_early_shadow_page)); in kasan_early_shadow_page_entry() 98 zero_pte = pfn_pte(PFN_DOWN(__pa_symbol(kasan_early_shadow_page)), in zero_pte_populate()
|
/linux-6.1.9/arch/riscv/mm/ |
D | kasan_init.c | 274 pfn_pte(virt_to_pfn(kasan_early_shadow_page), PAGE_KERNEL)); in kasan_early_init() 468 mk_pte(virt_to_page(kasan_early_shadow_page), in kasan_init() 472 memset(kasan_early_shadow_page, KASAN_SHADOW_INIT, PAGE_SIZE); in kasan_init()
|
/linux-6.1.9/arch/s390/mm/ |
D | kasan_init.c | 205 page = kasan_early_shadow_page; in kasan_early_pgtable_populate() 266 pte_z = __pte(__pa(kasan_early_shadow_page) | pgt_prot); in kasan_early_init()
|
/linux-6.1.9/include/linux/ |
D | kasan.h | 48 extern unsigned char kasan_early_shadow_page[PAGE_SIZE];
|