Home
last modified time | relevance | path

Searched refs:lm_alias (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/mm/kasan/
Dinit.c40 return pgd_page(pgd) == virt_to_page(lm_alias(kasan_early_shadow_p4d)); in kasan_p4d_table()
52 return p4d_page(p4d) == virt_to_page(lm_alias(kasan_early_shadow_pud)); in kasan_pud_table()
64 return pud_page(pud) == virt_to_page(lm_alias(kasan_early_shadow_pmd)); in kasan_pmd_table()
76 return pmd_page(pmd) == virt_to_page(lm_alias(kasan_early_shadow_pte)); in kasan_pte_table()
81 return pte_page(pte) == virt_to_page(lm_alias(kasan_early_shadow_page)); in kasan_early_shadow_page_entry()
124 lm_alias(kasan_early_shadow_pte)); in zero_pmd_populate()
158 lm_alias(kasan_early_shadow_pmd)); in zero_pud_populate()
161 lm_alias(kasan_early_shadow_pte)); in zero_pud_populate()
196 lm_alias(kasan_early_shadow_pud)); in zero_p4d_populate()
199 lm_alias(kasan_early_shadow_pmd)); in zero_p4d_populate()
[all …]
/kernel/linux/linux-5.10/mm/
Dptdump.c35 if (pgd_page(val) == virt_to_page(lm_alias(kasan_early_shadow_p4d))) in ptdump_pgd_entry()
55 if (p4d_page(val) == virt_to_page(lm_alias(kasan_early_shadow_pud))) in ptdump_p4d_entry()
75 if (pud_page(val) == virt_to_page(lm_alias(kasan_early_shadow_pmd))) in ptdump_pud_entry()
95 if (pmd_page(val) == virt_to_page(lm_alias(kasan_early_shadow_pte))) in ptdump_pmd_entry()
Dusercopy.c135 textlow_linear = (unsigned long)lm_alias(textlow); in check_kernel_text_object()
141 texthigh_linear = (unsigned long)lm_alias(texthigh); in check_kernel_text_object()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dmmu_context.h130 cpu_switch_mm(lm_alias(idmap_pg_dir), &init_mm); in cpu_install_idmap()
146 if (system_supports_cnp() && !WARN_ON(pgdp != lm_alias(swapper_pg_dir))) { in cpu_replace_ttbr1()
Dkvm_asm.h161 val = lm_alias((ptr)); \
/kernel/linux/linux-5.10/arch/arm64/mm/
Dkasan_init.c233 cpu_replace_ttbr1(lm_alias(tmp_pg_dir)); in kasan_init()
238 early_pfn_to_nid(virt_to_pfn(lm_alias(_text)))); in kasan_init()
271 cpu_replace_ttbr1(lm_alias(swapper_pg_dir)); in kasan_init()
Dinit.c595 free_reserved_area(lm_alias(__init_begin), in free_initmem()
596 lm_alias(__init_end), in free_initmem()
Dmmu.c476 update_mapping_prot(__pa_symbol(_text), (unsigned long)lm_alias(_text), in mark_linear_text_alias_ro()
741 pud_populate(&init_mm, bm_pudp, lm_alias(bm_pmd)); in map_kernel()
759 cpu_replace_ttbr1(lm_alias(swapper_pg_dir)); in paging_init()
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dsuspend.c54 cpu_replace_ttbr1(lm_alias(swapper_pg_dir)); in __cpu_suspend_exit()
Dalternative.c162 updptr = is_module ? origptr : lm_alias(origptr); in __apply_alternatives()
Dproton-pack.c230 void *dst = lm_alias(__bp_harden_hyp_vecs + slot * SZ_2K); in __copy_hyp_vect_bpi()
Dcpufeature.c1730 mte_clear_page_tags(lm_alias(empty_zero_page)); in cpu_enable_mte()
2778 cpu_replace_ttbr1(lm_alias(swapper_pg_dir)); in cpu_enable_cnp()
/kernel/linux/linux-5.10/arch/riscv/mm/
Dinit.c604 unsigned long text_start = (unsigned long)lm_alias(_start); in protect_kernel_linear_mapping_text_rodata()
605 unsigned long init_text_start = (unsigned long)lm_alias(__init_text_begin); in protect_kernel_linear_mapping_text_rodata()
606 unsigned long rodata_start = (unsigned long)lm_alias(__start_rodata); in protect_kernel_linear_mapping_text_rodata()
607 unsigned long data_start = (unsigned long)lm_alias(_data); in protect_kernel_linear_mapping_text_rodata()
/kernel/linux/linux-5.10/arch/powerpc/mm/kasan/
Dkasan_init_32.c91 if (pte_page(*ptep) != virt_to_page(lm_alias(kasan_early_shadow_page))) in kasan_update_early_region()
/kernel/linux/linux-5.10/include/linux/
Dmm.h122 #ifndef lm_alias
123 #define lm_alias(x) __va(__pa_symbol(x)) macro