Home
last modified time | relevance | path

Searched refs:khva (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/virt/kvm/
Dpfncache.c111 static void gpc_unmap(kvm_pfn_t pfn, void *khva) in gpc_unmap() argument
114 if (is_error_noslot_pfn(pfn) || !khva) in gpc_unmap()
123 memunmap(khva); in gpc_unmap()
158 void *old_khva = (void *)PAGE_ALIGN_DOWN((uintptr_t)gpc->khva); in hva_to_pfn_retry()
231 gpc->khva = new_khva + offset_in_page(gpc->uhva); in hva_to_pfn_retry()
272 old_khva = (void *)PAGE_ALIGN_DOWN((uintptr_t)gpc->khva); in __kvm_gpc_refresh()
329 gpc->khva = old_khva + page_offset; in __kvm_gpc_refresh()
343 gpc->khva = NULL; in __kvm_gpc_refresh()
463 old_khva = gpc->khva - offset_in_page(gpc->khva); in kvm_gpc_deactivate()
464 gpc->khva = NULL; in kvm_gpc_deactivate()
/linux-6.12.1/arch/x86/kvm/
Dxen.c76 struct shared_info *shinfo = gpc->khva; in kvm_xen_shared_info_init()
83 struct compat_shared_info *shinfo = gpc->khva; in kvm_xen_shared_info_init()
407 rs_state = gpc1->khva; in kvm_xen_update_runstate_guest()
408 rs_times = gpc1->khva + times_ofs; in kvm_xen_update_runstate_guest()
475 update_bit = gpc1->khva + times_ofs + in kvm_xen_update_runstate_guest()
478 update_bit = gpc2->khva + times_ofs + in kvm_xen_update_runstate_guest()
518 memcpy(gpc1->khva, rs_state, user_len1); in kvm_xen_update_runstate_guest()
519 memcpy(gpc2->khva, ((void *)rs_state) + user_len1, user_len2); in kvm_xen_update_runstate_guest()
617 struct vcpu_info *vi = gpc->khva; in kvm_xen_inject_pending_events()
629 struct compat_vcpu_info *vi = gpc->khva; in kvm_xen_inject_pending_events()
[all …]
Dx86.c3179 guest_hv_clock = (void *)(gpc->khva + offset); in kvm_setup_guest_pvclock()
/linux-6.12.1/include/linux/
Dkvm_types.h69 void *khva; member