Home
last modified time | relevance | path

Searched refs:mm (Results 1 – 2 of 2) sorted by relevance

/virt/kvm/
A Dasync_pf.c50 struct mm_struct *mm = vcpu->kvm->mm; in async_pf_execute() local
65 if (mmget_not_zero(mm)) { in async_pf_execute()
66 mmap_read_lock(mm); in async_pf_execute()
67 get_user_pages_remote(mm, addr, 1, FOLL_WRITE, NULL, &locked); in async_pf_execute()
69 mmap_read_unlock(mm); in async_pf_execute()
70 mmput(mm); in async_pf_execute()
A Dkvm_main.c845 struct mm_struct *mm, in kvm_mmu_notifier_clear_young() argument
1116 mmgrab(current->mm); in kvm_create_vm()
1117 kvm->mm = current->mm; in kvm_create_vm()
1239 mmdrop(current->mm); in kvm_create_vm()
1267 struct mm_struct *mm = kvm->mm; in kvm_destroy_vm() local
1322 mmdrop(mm); in kvm_destroy_vm()
4411 if (vcpu->kvm->mm != current->mm || vcpu->kvm->vm_dead) in kvm_vcpu_ioctl()
4654 if (vcpu->kvm->mm != current->mm || vcpu->kvm->vm_dead) in kvm_vcpu_compat_ioctl()
4720 if (dev->kvm->mm != current->mm || dev->kvm->vm_dead) in kvm_device_ioctl()
5142 if (kvm->mm != current->mm || kvm->vm_dead) in kvm_vm_ioctl()
[all …]

Completed in 18 milliseconds