Home
last modified time | relevance | path

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

/Linux-v5.15/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-v5.15/mm/
Dptdump.c36 if (pgd_page(val) == virt_to_page(lm_alias(kasan_early_shadow_p4d))) in ptdump_pgd_entry()
57 if (p4d_page(val) == virt_to_page(lm_alias(kasan_early_shadow_pud))) in ptdump_p4d_entry()
78 if (pud_page(val) == virt_to_page(lm_alias(kasan_early_shadow_pmd))) in ptdump_pud_entry()
98 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()
/Linux-v5.15/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-v5.15/arch/riscv/mm/
Dkasan_init.c83 if (base_pmd == lm_alias(kasan_early_shadow_pmd)) in kasan_populate_pmd()
125 if (pgd_page_vaddr(*pgdp) == (unsigned long)lm_alias(kasan_early_shadow_pmd) && in kasan_populate_pgd()
157 if (pgd_page_vaddr(*pgd_k) == (unsigned long)lm_alias(kasan_early_shadow_pmd)) { in kasan_shallow_populate_pgd()
Dinit.c488 set_kernel_memory(lm_alias(__start_rodata), lm_alias(_data), in mark_rodata_ro()
/Linux-v5.15/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-v5.15/arch/arm64/include/asm/
Dmmu_context.h115 cpu_switch_mm(lm_alias(idmap_pg_dir), &init_mm); in cpu_install_idmap()
131 if (system_supports_cnp() && !WARN_ON(pgdp != lm_alias(swapper_pg_dir))) { in cpu_replace_ttbr1()
Dkvm_asm.h174 val = lm_alias((ptr)); \
/Linux-v5.15/arch/arm64/mm/
Dkasan_init.c238 cpu_replace_ttbr1(lm_alias(tmp_pg_dir)); in kasan_init_shadow()
243 early_pfn_to_nid(virt_to_pfn(lm_alias(KERNEL_START)))); in kasan_init_shadow()
282 cpu_replace_ttbr1(lm_alias(swapper_pg_dir)); in kasan_init_shadow()
Dinit.c451 free_reserved_area(lm_alias(__init_begin), in free_initmem()
452 lm_alias(__init_end), in free_initmem()
Dmmu.c481 update_mapping_prot(__pa_symbol(_stext), (unsigned long)lm_alias(_stext), in mark_linear_text_alias_ro()
720 pud_populate(&init_mm, bm_pudp, lm_alias(bm_pmd)); in map_kernel()
738 cpu_replace_ttbr1(lm_alias(swapper_pg_dir)); in paging_init()
/Linux-v5.15/arch/arm64/kernel/
Dsuspend.c55 cpu_replace_ttbr1(lm_alias(swapper_pg_dir)); in __cpu_suspend_exit()
Dalternative.c162 updptr = is_module ? origptr : lm_alias(origptr); in __apply_alternatives()
Dcpufeature.c1882 mte_clear_page_tags(lm_alias(empty_zero_page)); in cpu_enable_mte()
2986 cpu_replace_ttbr1(lm_alias(swapper_pg_dir)); in cpu_enable_cnp()
/Linux-v5.15/arch/riscv/kernel/
Dsetup.c324 set_kernel_memory(lm_alias(__init_begin), lm_alias(__init_end), in free_initmem()
/Linux-v5.15/include/linux/
Dmm.h123 #ifndef lm_alias
124 #define lm_alias(x) __va(__pa_symbol(x)) macro