Searched refs:kern_mm (Results 1 – 3 of 3) sorted by relevance
542 struct mm_struct *kern_mm = &vcpu->arch.guest_kernel_mm; in kvm_trap_emul_vcpu_init() local549 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() local1058 mm = KVM_GUEST_KERNEL_MODE(vcpu) ? kern_mm : user_mm; in kvm_trap_emul_vcpu_load()1092 struct mm_struct *kern_mm = &vcpu->arch.guest_kernel_mm; in kvm_trap_emul_check_requests() local1106 kvm_mips_flush_gva_pt(kern_mm->pgd, KMF_GPA | KMF_KERN); in kvm_trap_emul_check_requests()1109 cpu_context(i, kern_mm) = 0; in kvm_trap_emul_check_requests()1115 mm = KVM_GUEST_KERNEL_MODE(vcpu) ? kern_mm : user_mm; in kvm_trap_emul_check_requests()[all …]
57 struct mm_struct *kern_mm = &vcpu->arch.guest_kernel_mm; in kvm_mips_get_kernel_asid() local60 return cpu_asid(cpu, kern_mm); in kvm_mips_get_kernel_asid()
997 struct mm_struct *kern_mm = &vcpu->arch.guest_kernel_mm; in kvm_mips_change_entryhi() local1010 kvm_mips_flush_gva_pt(kern_mm->pgd, KMF_KERN); in kvm_mips_change_entryhi()1019 get_new_mmu_context(kern_mm, cpu); in kvm_mips_change_entryhi()1022 cpu_context(i, kern_mm) = 0; in kvm_mips_change_entryhi()1062 struct mm_struct *kern_mm = &vcpu->arch.guest_kernel_mm; in kvm_mips_invalidate_guest_tlb() local1094 cpu_context(i, kern_mm) = 0; in kvm_mips_invalidate_guest_tlb()