Home
last modified time | relevance | path

Searched refs:kasan_early_shadow_pte (Results 1 – 13 of 13) sorted by relevance

/linux/arch/powerpc/mm/kasan/
H A Dinit_book3e_64.c29 return pmd_page(pmd) == virt_to_page(lm_alias(kasan_early_shadow_pte)); in kasan_pte_table()
56 memcpy(ptep, kasan_early_shadow_pte, PTE_TABLE_SIZE); in kasan_map_kernel_page()
94 &kasan_early_shadow_pte[i], zero_pte, 0); in kasan_early_init()
98 kasan_early_shadow_pte); in kasan_early_init()
122 &kasan_early_shadow_pte[i], zero_pte, 0); in kasan_init()
H A Dinit_book3s_64.c69 &kasan_early_shadow_pte[i], zero_pte, 0); in kasan_init()
73 kasan_early_shadow_pte); in kasan_init()
86 &kasan_early_shadow_pte[i], zero_pte, 0); in kasan_init()
H A D8xx.c22 if ((void *)pmd_page_vaddr(*pmd) != kasan_early_shadow_pte) in kasan_init_shadow_8M()
/linux/arch/xtensa/mm/
H A Dkasan_init.c25 set_pte(kasan_early_shadow_pte + i, in kasan_early_init()
31 set_pmd(pmd, __pmd((unsigned long)kasan_early_shadow_pte)); in kasan_early_init()
92 set_pte(kasan_early_shadow_pte + i, in kasan_init()
/linux/mm/kasan/
H A Dinit.c67 pte_t kasan_early_shadow_pte[MAX_PTRS_PER_PTE + PTE_HWTABLE_PTRS] variable
72 return pmd_page(pmd) == virt_to_page(lm_alias(kasan_early_shadow_pte)); in kasan_pte_table()
120 lm_alias(kasan_early_shadow_pte)); in zero_pmd_populate()
159 lm_alias(kasan_early_shadow_pte)); in zero_pud_populate()
201 lm_alias(kasan_early_shadow_pte)); in zero_p4d_populate()
264 lm_alias(kasan_early_shadow_pte)); in kasan_populate_early_shadow()
/linux/arch/loongarch/mm/
H A Dkasan_init.c38 (__pa(pmd_val(pmd)) == (unsigned long)__pa(kasan_early_shadow_pte)))
122 __pa_symbol(kasan_early_shadow_pte) : kasan_alloc_zeroed_page(node); in kasan_pte_offset()
124 memcpy(__va(pte_phys), kasan_early_shadow_pte, sizeof(kasan_early_shadow_pte)); in kasan_pte_offset()
323 set_pte(&kasan_early_shadow_pte[i], in kasan_init()
/linux/arch/s390/boot/
H A Dvmem.c45 #define kasan_early_shadow_pte ((pte_t *)vmlinux.kasan_early_shadow_pte_off) macro
62 pmd_t pmd_z = __pmd(__pa(kasan_early_shadow_pte) | _SEGMENT_ENTRY); in kasan_populate_shadow()
76 memset64((u64 *)kasan_early_shadow_pte, pte_val(pte_z), PTRS_PER_PTE); in kasan_populate_shadow()
80 __arch_set_page_dat(kasan_early_shadow_pte, 1); in kasan_populate_shadow()
147 pmd_populate(&init_mm, pmd, kasan_early_shadow_pte); in kasan_pmd_populate_zero_shadow()
/linux/mm/
H A Dptdump.c21 st->note_page(st, addr, 4, pte_val(kasan_early_shadow_pte[0])); in note_kasan_page_table()
105 if (pmd_page(val) == virt_to_page(lm_alias(kasan_early_shadow_pte))) in ptdump_pmd_entry()
/linux/arch/arm/mm/
H A Dkasan_init.c106 void *p = early ? kasan_early_shadow_pte : in kasan_pmd_populate()
294 &kasan_early_shadow_pte[i], in kasan_init()
/linux/arch/x86/mm/
H A Dkasan_init_64.c293 pmdval_t pmd_val = __pa_nodebug(kasan_early_shadow_pte) | _KERNPG_TABLE; in kasan_early_init()
304 kasan_early_shadow_pte[i] = __pte(pte_val); in kasan_early_init()
449 set_pte(&kasan_early_shadow_pte[i], pte); in kasan_init()
/linux/arch/riscv/mm/
H A Dkasan_init.c330 set_pte(kasan_early_shadow_pte + i, in kasan_early_init()
336 (__pa((uintptr_t)kasan_early_shadow_pte)), in kasan_early_init()
526 set_pte(&kasan_early_shadow_pte[i], in kasan_init()
/linux/arch/arm64/mm/
H A Dkasan_init.c67 __pa_symbol(kasan_early_shadow_pte) in kasan_pte_offset()
369 __set_pte(&kasan_early_shadow_pte[i], in kasan_init_shadow()
/linux/arch/s390/kernel/
H A Dvmlinux.lds.S229 QUAD(kasan_early_shadow_pte)