Searched refs:kern_mm (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/arch/mips/kvm/ |
D | trap_emul.c | 542 struct mm_struct *kern_mm = &vcpu->arch.guest_kernel_mm; in kvm_trap_emul_vcpu_init() local 549 kern_mm->pgd = pgd_alloc(kern_mm); in kvm_trap_emul_vcpu_init() 550 if (!kern_mm->pgd) in kvm_trap_emul_vcpu_init() 555 pgd_free(kern_mm, kern_mm->pgd); in kvm_trap_emul_vcpu_init() 1049 struct mm_struct *kern_mm = &vcpu->arch.guest_kernel_mm; in kvm_trap_emul_vcpu_load() local 1058 mm = KVM_GUEST_KERNEL_MODE(vcpu) ? kern_mm : user_mm; in kvm_trap_emul_vcpu_load() 1084 struct mm_struct *kern_mm = &vcpu->arch.guest_kernel_mm; in kvm_trap_emul_check_requests() local 1098 kvm_mips_flush_gva_pt(kern_mm->pgd, KMF_GPA | KMF_KERN); in kvm_trap_emul_check_requests() 1101 set_cpu_context(i, kern_mm, 0); in kvm_trap_emul_check_requests() 1107 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()
|