Searched refs:lm_alias (Results 1 – 17 of 17) sorted by relevance
/Linux-v5.15/mm/kasan/ |
D | init.c | 35 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/ |
D | ptdump.c | 36 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()
|
D | usercopy.c | 135 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/ |
D | sections.h | 27 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/ |
D | kasan_init.c | 83 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()
|
D | init.c | 488 set_kernel_memory(lm_alias(__start_rodata), lm_alias(_data), in mark_rodata_ro()
|
/Linux-v5.15/arch/arm64/kvm/ |
D | va_layout.c | 44 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/ |
D | mmu_context.h | 115 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()
|
D | kvm_asm.h | 174 val = lm_alias((ptr)); \
|
/Linux-v5.15/arch/arm64/mm/ |
D | kasan_init.c | 238 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()
|
D | init.c | 451 free_reserved_area(lm_alias(__init_begin), in free_initmem() 452 lm_alias(__init_end), in free_initmem()
|
D | mmu.c | 481 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/ |
D | suspend.c | 55 cpu_replace_ttbr1(lm_alias(swapper_pg_dir)); in __cpu_suspend_exit()
|
D | alternative.c | 162 updptr = is_module ? origptr : lm_alias(origptr); in __apply_alternatives()
|
D | cpufeature.c | 1882 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/ |
D | setup.c | 324 set_kernel_memory(lm_alias(__init_begin), lm_alias(__init_end), in free_initmem()
|
/Linux-v5.15/include/linux/ |
D | mm.h | 123 #ifndef lm_alias 124 #define lm_alias(x) __va(__pa_symbol(x)) macro
|