Lines Matching refs:user_mm
543 struct mm_struct *user_mm = &vcpu->arch.guest_user_mm; in kvm_trap_emul_vcpu_init() local
553 user_mm->pgd = pgd_alloc(user_mm); in kvm_trap_emul_vcpu_init()
554 if (!user_mm->pgd) { in kvm_trap_emul_vcpu_init()
1050 struct mm_struct *user_mm = &vcpu->arch.guest_user_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()
1085 struct mm_struct *user_mm = &vcpu->arch.guest_user_mm; in kvm_trap_emul_check_requests() local
1099 kvm_mips_flush_gva_pt(user_mm->pgd, KMF_GPA | KMF_USER); in kvm_trap_emul_check_requests()
1102 set_cpu_context(i, user_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()
1186 struct mm_struct *user_mm = &vcpu->arch.guest_user_mm; in kvm_trap_emul_vcpu_reenter() local
1202 mm = user_mm; in kvm_trap_emul_vcpu_reenter()
1212 kvm_mips_flush_gva_pt(user_mm->pgd, KMF_USER); in kvm_trap_emul_vcpu_reenter()
1214 set_cpu_context(i, user_mm, 0); in kvm_trap_emul_vcpu_reenter()