Searched refs:apf (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/virt/kvm/
H A Dasync_pf.c74 struct kvm_async_pf *apf = async_pf_execute() local
76 struct mm_struct *mm = apf->mm; async_pf_execute()
77 struct kvm_vcpu *vcpu = apf->vcpu; async_pf_execute()
78 unsigned long addr = apf->addr; async_pf_execute()
79 gva_t gva = apf->gva; async_pf_execute()
84 kvm_async_page_present_sync(vcpu, apf); async_pf_execute()
87 list_add_tail(&apf->link, &vcpu->async_pf.done); async_pf_execute()
91 * apf may be freed by kvm_check_async_pf_completion() after async_pf_execute()
/linux-4.4.14/arch/x86/kvm/
H A Dx86.c193 vcpu->arch.apf.gfns[i] = ~0; kvm_async_pf_hash_reset()
1974 vcpu->arch.apf.msr_val = data; kvm_pv_enable_async_pf()
1982 if (kvm_gfn_to_hva_cache_init(vcpu->kvm, &vcpu->arch.apf.data, gpa, kvm_pv_enable_async_pf()
1986 vcpu->arch.apf.send_user_only = !(data & KVM_ASYNC_PF_SEND_ALWAYS); kvm_pv_enable_async_pf()
2374 msr_info->data = vcpu->arch.apf.msr_val; kvm_get_msr_common()
6412 vcpu->arch.apf.halted = true; vcpu_enter_guest()
6643 vcpu->arch.apf.halted = false; vcpu_block()
6657 !vcpu->arch.apf.halted); kvm_vcpu_running()
7314 vcpu->arch.apf.msr_val = 0; kvm_arch_vcpu_destroy()
7344 vcpu->arch.apf.msr_val = 0; kvm_vcpu_reset()
7351 vcpu->arch.apf.halted = false; kvm_vcpu_reset()
8100 while (vcpu->arch.apf.gfns[key] != ~0) kvm_add_async_pf_gfn()
8103 vcpu->arch.apf.gfns[key] = gfn; kvm_add_async_pf_gfn()
8112 (vcpu->arch.apf.gfns[key] != gfn && kvm_async_pf_gfn_slot()
8113 vcpu->arch.apf.gfns[key] != ~0); i++) kvm_async_pf_gfn_slot()
8121 return vcpu->arch.apf.gfns[kvm_async_pf_gfn_slot(vcpu, gfn)] == gfn; kvm_find_async_pf_gfn()
8130 vcpu->arch.apf.gfns[i] = ~0; kvm_del_async_pf_gfn()
8133 if (vcpu->arch.apf.gfns[j] == ~0) kvm_del_async_pf_gfn()
8135 k = kvm_async_pf_hash_fn(vcpu->arch.apf.gfns[j]); kvm_del_async_pf_gfn()
8142 vcpu->arch.apf.gfns[i] = vcpu->arch.apf.gfns[j]; kvm_del_async_pf_gfn()
8150 return kvm_write_guest_cached(vcpu->kvm, &vcpu->arch.apf.data, &val, apf_put_user()
8162 if (!(vcpu->arch.apf.msr_val & KVM_ASYNC_PF_ENABLED) || kvm_arch_async_page_not_present()
8163 (vcpu->arch.apf.send_user_only && kvm_arch_async_page_not_present()
8187 if ((vcpu->arch.apf.msr_val & KVM_ASYNC_PF_ENABLED) && kvm_arch_async_page_present()
8196 vcpu->arch.apf.halted = false; kvm_arch_async_page_present()
8202 if (!(vcpu->arch.apf.msr_val & KVM_ASYNC_PF_ENABLED)) kvm_arch_can_inject_async_page_present()
H A Dmmu.c3428 arch.token = (vcpu->arch.apf.id++ << 12) | vcpu->vcpu_id; kvm_arch_setup_async_pf()
/linux-4.4.14/arch/x86/include/asm/
H A Dkvm_host.h555 } apf; member in struct:kvm_vcpu_arch

Completed in 159 milliseconds