Home
last modified time | relevance | path

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

/linux-6.1.9/mm/kasan/
Dinit.c35 return pgd_page(pgd) == virt_to_page(lm_alias(kasan_early_shadow_p4d)); in kasan_p4d_table()
47 return p4d_page(p4d) == virt_to_page(lm_alias(kasan_early_shadow_pud)); in kasan_pud_table()
59 return pud_page(pud) == virt_to_page(lm_alias(kasan_early_shadow_pmd)); in kasan_pmd_table()
72 return pmd_page(pmd) == virt_to_page(lm_alias(kasan_early_shadow_pte)); in kasan_pte_table()
77 return pte_page(pte) == virt_to_page(lm_alias(kasan_early_shadow_page)); in kasan_early_shadow_page_entry()
120 lm_alias(kasan_early_shadow_pte)); in zero_pmd_populate()
154 lm_alias(kasan_early_shadow_pmd)); in zero_pud_populate()
157 lm_alias(kasan_early_shadow_pte)); in zero_pud_populate()
192 lm_alias(kasan_early_shadow_pud)); in zero_p4d_populate()
195 lm_alias(kasan_early_shadow_pmd)); in zero_p4d_populate()
[all …]
/linux-6.1.9/mm/
Dptdump.c36 if (pgd_page(val) == virt_to_page(lm_alias(kasan_early_shadow_p4d))) in ptdump_pgd_entry()
59 if (p4d_page(val) == virt_to_page(lm_alias(kasan_early_shadow_pud))) in ptdump_p4d_entry()
82 if (pud_page(val) == virt_to_page(lm_alias(kasan_early_shadow_pmd))) in ptdump_pud_entry()
104 if (pmd_page(val) == virt_to_page(lm_alias(kasan_early_shadow_pte))) in ptdump_pmd_entry()
Dusercopy.c137 textlow_linear = (unsigned long)lm_alias(textlow); in check_kernel_text_object()
143 texthigh_linear = (unsigned long)lm_alias(texthigh); in check_kernel_text_object()
/linux-6.1.9/arch/riscv/mm/
Dkasan_init.c68 if (base_pmd == lm_alias(kasan_early_shadow_pmd)) in kasan_populate_pmd()
120 if (base_pud == lm_alias(kasan_early_shadow_pud)) { in kasan_populate_pud()
178 if (base_p4d == lm_alias(kasan_early_shadow_p4d)) { in kasan_populate_p4d()
245 (unsigned long)lm_alias(kasan_early_shadow_pgd_next)) { in kasan_populate_pgd()
335 is_kasan_pte = (pmd_pgtable(*pmdp) == lm_alias(kasan_early_shadow_pte)); in kasan_shallow_populate_pmd()
355 is_kasan_pmd = (pud_pgtable(*pudp) == lm_alias(kasan_early_shadow_pmd)); in kasan_shallow_populate_pud()
384 is_kasan_pud = (p4d_pgtable(*p4dp) == lm_alias(kasan_early_shadow_pud)); in kasan_shallow_populate_p4d()
417 (unsigned long)lm_alias(kasan_early_shadow_pgd_next)); in kasan_shallow_populate_pgd()
Dinit.c718 set_kernel_memory(lm_alias(__start_rodata), lm_alias(_data), in mark_rodata_ro()
/linux-6.1.9/arch/riscv/include/asm/
Dsections.h27 uintptr_t start = (uintptr_t)lm_alias(_start); in is_va_kernel_lm_alias_text()
28 uintptr_t end = (uintptr_t)lm_alias(__init_data_begin); in is_va_kernel_lm_alias_text()
/linux-6.1.9/arch/powerpc/mm/kasan/
Dinit_book3e_64.c19 return p4d_page(p4d) == virt_to_page(lm_alias(kasan_early_shadow_pud)); in kasan_pud_table()
24 return pud_page(pud) == virt_to_page(lm_alias(kasan_early_shadow_pmd)); in kasan_pmd_table()
29 return pmd_page(pmd) == virt_to_page(lm_alias(kasan_early_shadow_pte)); in kasan_pte_table()
Dinit_32.c91 if (pte_page(*ptep) != virt_to_page(lm_alias(kasan_early_shadow_page))) in kasan_update_early_region()
/linux-6.1.9/arch/arm64/kvm/
Dva_layout.c44 kern_va = (u64)lm_alias(__hyp_text_start); in init_hyp_physvirt_offset()
102 ptr = (uintptr_t *)lm_alias((char *)rel + *rel); in kvm_apply_hyp_relocations()
108 *ptr = __early_kern_hyp_va((uintptr_t)lm_alias(kimg_va)); in kvm_apply_hyp_relocations()
/linux-6.1.9/arch/arm64/include/asm/
Dmmu_context.h114 cpu_switch_mm(lm_alias(idmap), &init_mm); in __cpu_install_idmap()
159 if (system_supports_cnp() && !WARN_ON(pgdp != lm_alias(swapper_pg_dir))) { in cpu_replace_ttbr1()
Dkvm_asm.h200 val = lm_alias((ptr)); \
/linux-6.1.9/arch/arm64/mm/
Dkasan_init.c239 cpu_replace_ttbr1(lm_alias(tmp_pg_dir), idmap_pg_dir); in kasan_init_shadow()
244 early_pfn_to_nid(virt_to_pfn(lm_alias(KERNEL_START)))); in kasan_init_shadow()
283 cpu_replace_ttbr1(lm_alias(swapper_pg_dir), idmap_pg_dir); in kasan_init_shadow()
Dinit.c486 free_reserved_area(lm_alias(__init_begin), in free_initmem()
487 lm_alias(__init_end), in free_initmem()
Dmmu.c504 update_mapping_prot(__pa_symbol(_stext), (unsigned long)lm_alias(_stext), in mark_linear_text_alias_ro()
755 pud_populate(&init_mm, bm_pudp, lm_alias(bm_pmd)); in map_kernel()
806 cpu_replace_ttbr1(lm_alias(swapper_pg_dir), init_idmap_pg_dir); in paging_init()
/linux-6.1.9/arch/arm64/kernel/
Dsuspend.c57 cpu_replace_ttbr1(lm_alias(swapper_pg_dir), idmap_pg_dir); in __cpu_suspend_exit()
Dalternative.c166 updptr = is_module ? origptr : lm_alias(origptr); in __apply_alternatives()
Dcpufeature.c2078 mte_clear_page_tags(lm_alias(empty_zero_page)); in cpu_enable_mte()
3361 cpu_replace_ttbr1(lm_alias(swapper_pg_dir), idmap_pg_dir); in cpu_enable_cnp()
/linux-6.1.9/arch/riscv/kernel/
Dsetup.c326 set_kernel_memory(lm_alias(__init_begin), lm_alias(__init_end), set_memory_rw_nx); in free_initmem()
/linux-6.1.9/include/linux/
Dmm.h117 #ifndef lm_alias
118 #define lm_alias(x) __va(__pa_symbol(x)) macro