Home
last modified time | relevance | path

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

/linux-6.12.1/virt/kvm/
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()
89 apf = NULL; in async_pf_execute()
/linux-6.12.1/arch/x86/kvm/
Dx86.c558 vcpu->arch.apf.gfns[i] = ~0; in kvm_async_pf_hash_reset()
3554 return (vcpu->arch.apf.msr_en_val & mask) == mask; in kvm_pv_async_pf_enabled()
3576 vcpu->arch.apf.msr_en_val = data; in kvm_pv_enable_async_pf()
3584 if (kvm_gfn_to_hva_cache_init(vcpu->kvm, &vcpu->arch.apf.data, gpa, in kvm_pv_enable_async_pf()
3588 vcpu->arch.apf.send_user_only = !(data & KVM_ASYNC_PF_SEND_ALWAYS); in kvm_pv_enable_async_pf()
3589 vcpu->arch.apf.delivery_as_pf_vmexit = data & KVM_ASYNC_PF_DELIVERY_AS_PF_VMEXIT; in kvm_pv_enable_async_pf()
3605 vcpu->arch.apf.msr_int_val = data; in kvm_pv_enable_async_pf_int()
3607 vcpu->arch.apf.vec = data & KVM_ASYNC_PF_VEC_MASK; in kvm_pv_enable_async_pf_int()
4016 vcpu->arch.apf.pageready_pending = false; in kvm_set_msr_common()
4375 msr_info->data = vcpu->arch.apf.msr_en_val; in kvm_get_msr_common()
[all …]
/linux-6.12.1/arch/x86/kvm/mmu/
Dmmu.c4289 u32 id = vcpu->arch.apf.id; in alloc_apf_token()
4292 vcpu->arch.apf.id = 1; in alloc_apf_token()
4294 return (vcpu->arch.apf.id++ << 12) | vcpu->vcpu_id; in alloc_apf_token()
4634 u32 flags = vcpu->arch.apf.host_apf_flags; in kvm_handle_page_fault()
4662 vcpu->arch.apf.host_apf_flags = 0; in kvm_handle_page_fault()
/linux-6.12.1/arch/x86/include/asm/
Dkvm_host.h981 } apf; member
/linux-6.12.1/arch/x86/kvm/svm/
Dnested.c1517 svm->vcpu.arch.apf.host_apf_flags) in nested_svm_exit_special()
Dsvm.c4308 vcpu->arch.apf.host_apf_flags = in svm_vcpu_run()
/linux-6.12.1/arch/x86/kvm/vmx/
Dvmx.c5290 if (enable_ept && !vcpu->arch.apf.host_apf_flags) { in handle_exception_nmi()
6998 vcpu->arch.apf.host_apf_flags = kvm_read_and_reset_apf_flags(); in handle_exception_irqoff()
Dnested.c6341 return vcpu->arch.apf.host_apf_flags || in nested_vmx_l0_wants_exit()