Home
last modified time | relevance | path

Searched refs:apf (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/virt/kvm/
Dasync_pf.c74 struct kvm_async_pf *apf = in async_pf_execute() local
76 struct mm_struct *mm = apf->mm; in async_pf_execute()
77 struct kvm_vcpu *vcpu = apf->vcpu; in async_pf_execute()
78 unsigned long addr = apf->addr; in async_pf_execute()
79 gva_t gva = apf->gva; in async_pf_execute()
95 kvm_async_page_present_sync(vcpu, apf); in async_pf_execute()
98 list_add_tail(&apf->link, &vcpu->async_pf.done); in async_pf_execute()
99 apf->vcpu = NULL; in async_pf_execute()
/Linux-v4.19/arch/x86/kvm/
Dx86.c222 vcpu->arch.apf.gfns[i] = ~0; in kvm_async_pf_hash_reset()
494 vcpu->arch.apf.nested_apf_token = fault->address; in kvm_inject_page_fault()
2263 vcpu->arch.apf.msr_val = data; in kvm_pv_enable_async_pf()
2271 if (kvm_gfn_to_hva_cache_init(vcpu->kvm, &vcpu->arch.apf.data, gpa, in kvm_pv_enable_async_pf()
2275 vcpu->arch.apf.send_user_only = !(data & KVM_ASYNC_PF_SEND_ALWAYS); in kvm_pv_enable_async_pf()
2276 vcpu->arch.apf.delivery_as_pf_vmexit = data & KVM_ASYNC_PF_DELIVERY_AS_PF_VMEXIT; in kvm_pv_enable_async_pf()
2719 msr_info->data = vcpu->arch.apf.msr_val; in kvm_get_msr_common()
7432 vcpu->arch.apf.halted = true; in vcpu_enter_guest()
7700 vcpu->arch.apf.halted = false; in vcpu_block()
7717 !vcpu->arch.apf.halted); in kvm_vcpu_running()
[all …]
Dmmu.c3945 arch.token = (vcpu->arch.apf.id++ << 12) | vcpu->vcpu_id; in kvm_arch_setup_async_pf()
3960 if (!vcpu->arch.apf.delivery_as_pf_vmexit && is_guest_mode(vcpu)) in kvm_can_do_async_pf()
4006 switch (vcpu->arch.apf.host_apf_reason) { in kvm_handle_page_fault()
4016 vcpu->arch.apf.host_apf_reason = 0; in kvm_handle_page_fault()
4022 vcpu->arch.apf.host_apf_reason = 0; in kvm_handle_page_fault()
Dsvm.c2981 svm->vmcb->control.exit_info_2 = svm->vcpu.arch.apf.nested_apf_token; in nested_svm_check_exception()
3160 if (!npt_enabled && svm->vcpu.arch.apf.host_apf_reason == 0) in nested_svm_exit_special()
5753 svm->vcpu.arch.apf.host_apf_reason = kvm_read_and_reset_pf_reason(); in svm_vcpu_run()
Dvmx.c3278 *exit_qual = vcpu->arch.apf.nested_apf_token; in nested_vmx_check_exception()
7094 WARN_ON_ONCE(!vcpu->arch.apf.host_apf_reason && enable_ept); in handle_exception()
9654 return !vmx->vcpu.arch.apf.host_apf_reason && enable_ept; in nested_vmx_exit_reflected()
10403 vmx->vcpu.arch.apf.host_apf_reason = kvm_read_and_reset_pf_reason(); in vmx_complete_atomic_exit()
/Linux-v4.19/arch/x86/include/asm/
Dkvm_host.h692 } apf; member