Home
last modified time | relevance | path

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

/openbmc/linux/mm/kasan/
H A 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()
158 lm_alias(kasan_early_shadow_pmd)); in zero_pud_populate()
161 lm_alias(kasan_early_shadow_pte)); in zero_pud_populate()
201 lm_alias(kasan_early_shadow_pud)); in zero_p4d_populate()
204 lm_alias(kasan_early_shadow_pmd)); in zero_p4d_populate()
[all …]
/openbmc/linux/mm/
H A 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()
H A Dusercopy.c138 textlow_linear = (unsigned long)lm_alias(textlow); in check_kernel_text_object()
144 texthigh_linear = (unsigned long)lm_alias(texthigh); in check_kernel_text_object()
/openbmc/linux/arch/riscv/include/asm/
H A Dsections.h28 uintptr_t start = (uintptr_t)lm_alias(_start); in is_va_kernel_lm_alias_text()
29 uintptr_t end = (uintptr_t)lm_alias(__init_data_begin); in is_va_kernel_lm_alias_text()
/openbmc/linux/arch/powerpc/mm/kasan/
H A 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()
H A Dinit_32.c92 if (pte_page(*ptep) != virt_to_page(lm_alias(kasan_early_shadow_page))) in kasan_update_early_region()
/openbmc/linux/arch/arm64/kvm/
H A 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()
/openbmc/linux/arch/arm64/include/asm/
H A Dmmu_context.h119 cpu_switch_mm(lm_alias(idmap), &init_mm); in __cpu_install_idmap()
165 if (system_supports_cnp() && !WARN_ON(pgdp != lm_alias(swapper_pg_dir))) { in cpu_replace_ttbr1()
H A Dkvm_asm.h205 val = lm_alias((ptr)); \
/openbmc/linux/arch/arm64/mm/
H A Dkasan_init.c238 cpu_replace_ttbr1(lm_alias(tmp_pg_dir), idmap_pg_dir); in kasan_init_shadow()
243 early_pfn_to_nid(virt_to_pfn(lm_alias(KERNEL_START)))); in kasan_init_shadow()
274 cpu_replace_ttbr1(lm_alias(swapper_pg_dir), idmap_pg_dir); in kasan_init_shadow()
H A Dinit.c531 free_reserved_area(lm_alias(__init_begin), in free_initmem()
532 lm_alias(__init_end), in free_initmem()
H A Dfixmap.c198 pud_populate(&init_mm, bm_pudp, lm_alias(bm_pmd)); in fixmap_copy()
H A Dmmu.c507 update_mapping_prot(__pa_symbol(_stext), (unsigned long)lm_alias(_stext), in mark_linear_text_alias_ro()
802 cpu_replace_ttbr1(lm_alias(swapper_pg_dir), init_idmap_pg_dir); in paging_init()
/openbmc/linux/arch/arm64/kernel/
H A Dsuspend.c59 cpu_replace_ttbr1(lm_alias(swapper_pg_dir), idmap_pg_dir); in __cpu_suspend_exit()
H A Dalternative.c166 updptr = is_module ? origptr : lm_alias(origptr); in __apply_alternatives()
H A Dcpufeature.c2185 mte_clear_page_tags(lm_alias(empty_zero_page)); in cpu_enable_mte()
3437 cpu_replace_ttbr1(lm_alias(swapper_pg_dir), idmap_pg_dir); in cpu_enable_cnp()
/openbmc/linux/arch/riscv/kernel/
H A Dsetup.c337 set_kernel_memory(lm_alias(__init_begin), lm_alias(__init_end), set_memory_rw_nx); in free_initmem()
/openbmc/linux/arch/riscv/mm/
H A Dpageattr.c309 lm_start = (unsigned long)lm_alias(start); in __set_memory()
310 lm_end = (unsigned long)lm_alias(end); in __set_memory()
H A Dinit.c735 set_kernel_memory(lm_alias(__start_rodata), lm_alias(_data), in mark_rodata_ro()
/openbmc/linux/include/linux/
H A Dmm.h113 #ifndef lm_alias
114 #define lm_alias(x) __va(__pa_symbol(x)) macro