Home
last modified time | relevance | path

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

/linux/virt/kvm/
H A Dasync_pf.c47 struct kvm_async_pf *apf = in async_pf_execute() local
49 struct kvm_vcpu *vcpu = apf->vcpu; in async_pf_execute()
51 unsigned long addr = apf->addr; in async_pf_execute()
52 gpa_t cr2_or_gpa = apf->cr2_or_gpa; in async_pf_execute()
78 kvm_arch_async_page_present(vcpu, apf); in async_pf_execute()
82 list_add_tail(&apf->link, &vcpu->async_pf.done); in async_pf_execute()
86 * The apf struct may be freed by kvm_check_async_pf_completion() as in async_pf_execute()
89 apf = NULL; in async_pf_execute()
/linux/arch/x86/kvm/
H A Dx86.c8141 vcpu->arch.apf.halted = true; in vcpu_enter_guest()
8511 !vcpu->arch.apf.halted); in kvm_vcpu_running()
8623 vcpu->arch.apf.halted = false; in vcpu_block()
9580 vcpu->arch.apf.msr_en_val = 0; in kvm_vcpu_reset()
9581 vcpu->arch.apf.msr_int_val = 0; in kvm_vcpu_reset()
9588 vcpu->arch.apf.halted = false; in kvm_vcpu_reset()
10407 while (vcpu->arch.apf.gfns[key] != ~0) in kvm_add_async_pf_gfn()
10410 vcpu->arch.apf.gfns[key] = gfn; in kvm_add_async_pf_gfn()
10419 (vcpu->arch.apf.gfns[key] != gfn && in kvm_async_pf_gfn_slot()
10420 vcpu->arch.apf.gfns[key] != ~0); i++) in kvm_async_pf_gfn_slot()
[all …]
H A Dx86.h809 return __kvm_pv_async_pf_enabled(vcpu->arch.apf.msr_en_val); in kvm_pv_async_pf_enabled()
816 vcpu->arch.apf.gfns[i] = ~0; in kvm_async_pf_hash_reset()
/linux/arch/x86/kvm/mmu/
H A Dmmu.c4597 u32 id = vcpu->arch.apf.id; in alloc_apf_token()
4600 vcpu->arch.apf.id = 1; in alloc_apf_token()
4602 return (vcpu->arch.apf.id++ << 12) | vcpu->vcpu_id; in alloc_apf_token()
4904 u32 flags = vcpu->arch.apf.host_apf_flags; in kvm_handle_page_fault()
4932 vcpu->arch.apf.host_apf_flags = 0; in kvm_handle_page_fault()
/linux/arch/x86/include/asm/
H A Dkvm_host.h947 } apf; member
/linux/arch/x86/kvm/svm/
H A Dnested.c1813 svm->vcpu.arch.apf.host_apf_flags) in nested_svm_exit_special()
H A Dsvm.c4638 vcpu->arch.apf.host_apf_flags = in svm_vcpu_run()
/linux/arch/x86/kvm/vmx/
H A Dvmx.c5394 if (vcpu->arch.apf.host_apf_flags) in vmx_handle_page_fault()
7171 vcpu->arch.apf.host_apf_flags = kvm_read_and_reset_apf_flags(); in handle_exception_irqoff()
H A Dnested.c6494 return vcpu->arch.apf.host_apf_flags || in nested_vmx_l0_wants_exit()