Searched refs:kern_mm (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/arch/mips/kvm/ |
D | trap_emul.c | 532 struct mm_struct *kern_mm = &vcpu->arch.guest_kernel_mm; in kvm_trap_emul_vcpu_init() local 539 kern_mm->pgd = pgd_alloc(kern_mm); in kvm_trap_emul_vcpu_init() 540 if (!kern_mm->pgd) in kvm_trap_emul_vcpu_init() 545 pgd_free(kern_mm, kern_mm->pgd); in kvm_trap_emul_vcpu_init() 1041 struct mm_struct *kern_mm = &vcpu->arch.guest_kernel_mm; in kvm_trap_emul_vcpu_load() local 1050 mm = KVM_GUEST_KERNEL_MODE(vcpu) ? kern_mm : user_mm; in kvm_trap_emul_vcpu_load() 1076 struct mm_struct *kern_mm = &vcpu->arch.guest_kernel_mm; in kvm_trap_emul_check_requests() local 1090 kvm_mips_flush_gva_pt(kern_mm->pgd, KMF_GPA | KMF_KERN); in kvm_trap_emul_check_requests() 1093 set_cpu_context(i, kern_mm, 0); in kvm_trap_emul_check_requests() 1099 mm = KVM_GUEST_KERNEL_MODE(vcpu) ? kern_mm : user_mm; in kvm_trap_emul_check_requests() [all …]
|
D | tlb.c | 57 struct mm_struct *kern_mm = &vcpu->arch.guest_kernel_mm; in kvm_mips_get_kernel_asid() local 60 return cpu_asid(cpu, kern_mm); in kvm_mips_get_kernel_asid()
|
D | emulate.c | 998 struct mm_struct *kern_mm = &vcpu->arch.guest_kernel_mm; in kvm_mips_change_entryhi() local 1011 kvm_mips_flush_gva_pt(kern_mm->pgd, KMF_KERN); in kvm_mips_change_entryhi() 1020 get_new_mmu_context(kern_mm); in kvm_mips_change_entryhi() 1023 set_cpu_context(i, kern_mm, 0); in kvm_mips_change_entryhi() 1063 struct mm_struct *kern_mm = &vcpu->arch.guest_kernel_mm; in kvm_mips_invalidate_guest_tlb() local 1095 set_cpu_context(i, kern_mm, 0); in kvm_mips_invalidate_guest_tlb()
|