Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/mm/kasan/
Dkasan_init_32.c45 if ((void *)pmd_page_vaddr(*pmd) != kasan_early_shadow_pte) in kasan_init_shadow_page_tables()
61 if (likely((void *)pmd_page_vaddr(*pmd) == kasan_early_shadow_pte)) { in kasan_init_shadow_page_tables()
118 kasan_populate_pte(kasan_early_shadow_pte, prot); in kasan_remap_early_shadow_ro()
212 kasan_populate_pte(kasan_early_shadow_pte, PAGE_KERNEL); in kasan_early_init()
216 pmd_populate_kernel(&init_mm, pmd, kasan_early_shadow_pte); in kasan_early_init()
/Linux-v5.4/arch/xtensa/mm/
Dkasan_init.c27 set_pte(kasan_early_shadow_pte + i, in kasan_early_init()
33 set_pmd(pmd, __pmd((unsigned long)kasan_early_shadow_pte)); in kasan_early_init()
94 set_pte(kasan_early_shadow_pte + i, in kasan_init()
/Linux-v5.4/mm/kasan/
Dinit.c72 pte_t kasan_early_shadow_pte[PTRS_PER_PTE] __page_aligned_bss; variable
76 return pmd_page(pmd) == virt_to_page(lm_alias(kasan_early_shadow_pte)); in kasan_pte_table()
124 lm_alias(kasan_early_shadow_pte)); in zero_pmd_populate()
161 lm_alias(kasan_early_shadow_pte)); in zero_pud_populate()
202 lm_alias(kasan_early_shadow_pte)); in zero_p4d_populate()
275 lm_alias(kasan_early_shadow_pte)); in kasan_populate_early_shadow()
/Linux-v5.4/arch/x86/mm/
Dkasan_init_64.c270 pmdval_t pmd_val = __pa_nodebug(kasan_early_shadow_pte) | _KERNPG_TABLE; in kasan_early_init()
281 kasan_early_shadow_pte[i] = __pte(pte_val); in kasan_early_init()
389 set_pte(&kasan_early_shadow_pte[i], pte); in kasan_init()
Ddump_pagetables.c389 pgprotval_t prot = pte_flags(kasan_early_shadow_pte[0]); in kasan_page_table()
/Linux-v5.4/arch/s390/mm/
Dkasan_init.c153 kasan_early_shadow_pte); in kasan_early_vmemmap_populate()
249 pmd_t pmd_z = __pmd(__pa(kasan_early_shadow_pte) | _SEGMENT_ENTRY); in kasan_early_init()
293 memset64((u64 *)kasan_early_shadow_pte, pte_val(pte_z), PTRS_PER_PTE); in kasan_early_init()
Ddump_pagetables.c119 prot = pte_val(*kasan_early_shadow_pte) & in note_kasan_early_shadow_page()
/Linux-v5.4/arch/arm64/mm/
Dkasan_init.c65 __pa_symbol(kasan_early_shadow_pte) in kasan_pte_offset()
255 set_pte(&kasan_early_shadow_pte[i], in kasan_init()
/Linux-v5.4/include/linux/
Dkasan.h18 extern pte_t kasan_early_shadow_pte[PTRS_PER_PTE];