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

/linux-4.1.27/arch/x86/kernel/
H A Dkvm.c78 static DEFINE_PER_CPU(struct kvm_vcpu_pv_apf_data, apf_reason) __aligned(64);
247 if (__this_cpu_read(apf_reason.enabled)) { kvm_read_and_reset_pf_reason()
248 reason = __this_cpu_read(apf_reason.reason); kvm_read_and_reset_pf_reason()
249 __this_cpu_write(apf_reason.reason, 0); kvm_read_and_reset_pf_reason()
340 u64 pa = slow_virt_to_phys(this_cpu_ptr(&apf_reason)); kvm_guest_cpu_init()
346 __this_cpu_write(apf_reason.enabled, 1); kvm_guest_cpu_init()
367 if (!__this_cpu_read(apf_reason.enabled)) kvm_pv_disable_apf()
371 __this_cpu_write(apf_reason.enabled, 0); kvm_pv_disable_apf()
/linux-4.1.27/arch/x86/kvm/
H A Dsvm.c158 u32 apf_reason; member in struct:vcpu_svm
1711 switch (svm->apf_reason) { pf_interception()
1723 svm->apf_reason = 0; pf_interception()
1729 svm->apf_reason = 0; pf_interception()
2203 if (!npt_enabled && svm->apf_reason == 0) nested_svm_exit_special()
2249 svm->apf_reason != 0) nested_svm_intercept()
4005 svm->apf_reason = kvm_read_and_reset_pf_reason(); svm_vcpu_run()

Completed in 133 milliseconds