Home
last modified time | relevance | path

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

/arch/x86/kernel/
Dkvm.c78 static DEFINE_PER_CPU(struct kvm_vcpu_pv_apf_data, apf_reason) __aligned(64);
249 if (__this_cpu_read(apf_reason.enabled)) { in kvm_read_and_reset_pf_reason()
250 reason = __this_cpu_read(apf_reason.reason); in kvm_read_and_reset_pf_reason()
251 __this_cpu_write(apf_reason.reason, 0); in kvm_read_and_reset_pf_reason()
342 u64 pa = slow_virt_to_phys(this_cpu_ptr(&apf_reason)); in kvm_guest_cpu_init()
348 __this_cpu_write(apf_reason.enabled, 1); in kvm_guest_cpu_init()
369 if (!__this_cpu_read(apf_reason.enabled)) in kvm_pv_disable_apf()
373 __this_cpu_write(apf_reason.enabled, 0); in kvm_pv_disable_apf()
/arch/x86/kvm/
Dsvm.c158 u32 apf_reason; member
1715 switch (svm->apf_reason) { in pf_interception()
1727 svm->apf_reason = 0; in pf_interception()
1733 svm->apf_reason = 0; in pf_interception()
2212 if (!npt_enabled && svm->apf_reason == 0) in nested_svm_exit_special()
2258 svm->apf_reason != 0) in nested_svm_intercept()
4035 svm->apf_reason = kvm_read_and_reset_pf_reason(); in svm_vcpu_run()