Searched refs:pgd_phys (Results 1 – 11 of 11) sorted by relevance
41 extern void cpu_v7_iciallu_switch_mm(phys_addr_t pgd_phys, struct mm_struct *mm);42 extern void cpu_v7_bpiall_switch_mm(phys_addr_t pgd_phys, struct mm_struct *mm);43 extern void cpu_v7_smc_switch_mm(phys_addr_t pgd_phys, struct mm_struct *mm);44 extern void cpu_v7_hvc_switch_mm(phys_addr_t pgd_phys, struct mm_struct *mm);
64 void (*switch_mm)(phys_addr_t pgd_phys, struct mm_struct *mm);90 extern void cpu_do_switch_mm(phys_addr_t pgd_phys, struct mm_struct *mm);
349 void cpu_do_switch_mm(phys_addr_t pgd_phys, struct mm_struct *mm) in cpu_do_switch_mm() argument353 unsigned long ttbr0 = phys_to_ttbr(pgd_phys); in cpu_do_switch_mm()
765 u64 pgd_phys; in create_idmap() local769 pgd_phys = early_pgtable_alloc(PAGE_SHIFT); in create_idmap()771 __pgd(pgd_phys | P4D_TYPE_TABLE)); in create_idmap()772 pgd = __va(pgd_phys); in create_idmap()
725 kvm->arch.pgd_phys = page_to_phys(pgd_page); in kvm_riscv_gstage_alloc_pgd()739 kvm->arch.pgd_phys = 0; in kvm_riscv_gstage_free_pgd()753 hgatp |= (k->pgd_phys >> PAGE_SHIFT) & HGATP_PPN; in kvm_riscv_gstage_update_hgatp()
55 void cpu_do_switch_mm(phys_addr_t pgd_phys, struct mm_struct *mm);
289 baddr = mmu->pgd_phys; in kvm_get_vttbr()
158 phys_addr_t pgd_phys; member
97 phys_addr_t pgd_phys; member
157 mmu->pgd_phys = __hyp_pa(host_mmu.pgt.pgd); in kvm_host_prepare_stage2()264 vm->kvm.arch.mmu.pgd_phys = __hyp_pa(vm->pgt.pgd); in kvm_guest_prepare_stage2()276 vm->kvm.arch.mmu.pgd_phys = 0ULL; in reclaim_guest_pages()
925 mmu->pgd_phys = __pa(pgt->pgd); in kvm_init_stage2_mmu()1017 mmu->pgd_phys = 0; in kvm_free_stage2_pgd()