Searched refs:kasan_early_shadow_page (Results 1 – 12 of 12) sorted by relevance
/linux/arch/powerpc/mm/kasan/ |
H A 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()
|
H A 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()
|
/linux/arch/xtensa/mm/ |
H A D | kasan_init.c | 26 mk_pte(virt_to_page(kasan_early_shadow_page), in kasan_early_init() 93 mk_pte(virt_to_page(kasan_early_shadow_page), in kasan_init() 97 memset(kasan_early_shadow_page, 0, PAGE_SIZE); in kasan_init()
|
/linux/arch/loongarch/mm/ |
H A D | kasan_init.c | 41 ((pte_val(pte) & _PFN_MASK) == (unsigned long)__pa(kasan_early_shadow_page))) 48 return (void *)(kasan_early_shadow_page); in kasan_mem_to_shadow() 55 return (void *)(kasan_early_shadow_page); in kasan_mem_to_shadow() 178 __pa_symbol(kasan_early_shadow_page) in kasan_pte_populate() 324 pfn_pte(__phys_to_pfn(__pa_symbol(kasan_early_shadow_page)), PAGE_KERNEL_RO)); in kasan_init() 326 memset(kasan_early_shadow_page, 0, PAGE_SIZE); in kasan_init()
|
/linux/arch/arm/mm/ |
H A D | kasan_init.c | 76 entry = pfn_pte(virt_to_pfn(kasan_early_shadow_page), in kasan_pte_populate() 295 pfn_pte(virt_to_pfn(kasan_early_shadow_page), in kasan_init() 302 memset(kasan_early_shadow_page, 0, PAGE_SIZE); in kasan_init()
|
/linux/arch/arm64/mm/ |
H A D | kasan_init.c | 123 __pa_symbol(kasan_early_shadow_page) in kasan_pte_populate() 370 pfn_pte(sym_to_pfn(kasan_early_shadow_page), in kasan_init_shadow() 373 memset(kasan_early_shadow_page, KASAN_SHADOW_INIT, PAGE_SIZE); in kasan_init_shadow()
|
/linux/arch/x86/mm/ |
H A D | kasan_init_64.c | 291 pteval_t pte_val = __pa_nodebug(kasan_early_shadow_page) | in kasan_early_init() 440 memset(kasan_early_shadow_page, 0, PAGE_SIZE); in kasan_init() 448 pte = __pte(__pa(kasan_early_shadow_page) | pgprot_val(prot)); in kasan_init()
|
/linux/mm/kasan/ |
H A 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() 226 * kasan_early_shadow_page in zero_p4d_populate()
|
/linux/arch/loongarch/include/asm/ |
H A D | kasan.h | 70 extern unsigned char kasan_early_shadow_page[PAGE_SIZE];
|
/linux/arch/riscv/mm/ |
H A D | kasan_init.c | 331 pfn_pte(virt_to_pfn(kasan_early_shadow_page), PAGE_KERNEL)); in kasan_early_init() 527 mk_pte(virt_to_page(kasan_early_shadow_page), in kasan_init() 531 memset(kasan_early_shadow_page, KASAN_SHADOW_INIT, PAGE_SIZE); in kasan_init()
|
/linux/arch/s390/kernel/ |
H A D | vmlinux.lds.S | 228 QUAD(kasan_early_shadow_page)
|
/linux/arch/s390/boot/ |
H A D | vmem.c | 44 #define kasan_early_shadow_page vmlinux.kasan_early_shadow_page_off macro 70 pte_z = __pte(__pa(kasan_early_shadow_page) | pgprot_val(PAGE_KERNEL_RO)); in kasan_populate_shadow()
|