Home
last modified time | relevance | path

Searched refs:hpa_t (Results 1 – 16 of 16) sorted by relevance

/linux/arch/x86/kvm/
H A Dkvm_onhyperv.h12 void hv_track_root_tdp(struct kvm_vcpu *vcpu, hpa_t root_tdp);
13 static inline hpa_t hv_get_partition_assist_page(struct kvm_vcpu *vcpu) in hv_get_partition_assist_page()
39 static inline void hv_track_root_tdp(struct kvm_vcpu *vcpu, hpa_t root_tdp) in hv_track_root_tdp()
H A Dkvm_onhyperv.c27 static inline int hv_remote_flush_root_tdp(hpa_t root_tdp, in hv_remote_flush_root_tdp()
44 hpa_t root; in __hv_flush_remote_tlbs_range()
112 void hv_track_root_tdp(struct kvm_vcpu *vcpu, hpa_t root_tdp) in hv_track_root_tdp()
/linux/arch/x86/kvm/mmu/
H A Dspte.h249 static inline hpa_t kvm_mmu_get_dummy_root(void) in kvm_mmu_get_dummy_root()
254 static inline bool kvm_mmu_is_dummy_root(hpa_t shadow_page) in kvm_mmu_is_dummy_root()
259 static inline struct kvm_mmu_page *to_shadow_page(hpa_t shadow_page) in to_shadow_page()
276 static inline struct kvm_mmu_page *root_to_sp(hpa_t root) in root_to_sp()
H A Dmmu.c158 hpa_t shadow_addr;
2477 struct kvm_vcpu *vcpu, hpa_t root, in shadow_walk_init_using_root()
3783 static void mmu_free_root_page(struct kvm *kvm, hpa_t *root_hpa, in mmu_free_root_page()
3877 hpa_t root_hpa; in kvm_mmu_free_guest_mode_roots()
3900 static hpa_t mmu_alloc_root(struct kvm_vcpu *vcpu, gfn_t gfn, int quadrant, in mmu_alloc_root()
3922 hpa_t root; in mmu_alloc_direct_roots()
4063 hpa_t root; in mmu_alloc_shadow_roots()
4247 static bool is_unsync_root(hpa_t root) in is_unsync_root()
4296 hpa_t root = vcpu->arch.mmu->root.hpa; in kvm_mmu_sync_roots()
4312 hpa_t root = vcpu->arch.mmu->pae_root[i]; in kvm_mmu_sync_roots()
[all …]
/linux/arch/x86/kvm/svm/
H A Dsvm_onhyperv.c21 hpa_t partition_assist_page = hv_get_partition_assist_page(vcpu); in svm_hv_enable_l2_tlb_flush()
H A Dsvm.c4033 hpa_t root_tdp = vcpu->arch.mmu->root.hpa; in svm_flush_tlb_current()
4442 static void svm_load_mmu_pgd(struct kvm_vcpu *vcpu, hpa_t root_hpa, in svm_load_mmu_pgd()
/linux/arch/x86/kvm/vmx/
H A Dx86_ops.h68 void vmx_load_mmu_pgd(struct kvm_vcpu *vcpu, hpa_t root_hpa, int root_level);
155 void tdx_load_mmu_pgd(struct kvm_vcpu *vcpu, hpa_t root_hpa, int root_level);
H A Dmain.c600 static void vt_load_mmu_pgd(struct kvm_vcpu *vcpu, hpa_t root_hpa, in vt_load_mmu_pgd()
H A Dvmx.c630 hpa_t partition_assist_page = hv_get_partition_assist_page(vcpu); in hv_enable_l2_tlb_flush()
3388 static u64 construct_eptp(hpa_t root_hpa) in construct_eptp()
3412 static void vmx_flush_tlb_ept_root(hpa_t root_hpa) in vmx_flush_tlb_ept_root()
3598 void vmx_load_mmu_pgd(struct kvm_vcpu *vcpu, hpa_t root_hpa, int root_level) in vmx_load_mmu_pgd()
H A Dtdx.c1613 void tdx_load_mmu_pgd(struct kvm_vcpu *vcpu, hpa_t root_hpa, int pgd_level) in tdx_load_mmu_pgd()
H A Dnested.c387 static bool nested_ept_root_matches(hpa_t root_hpa, u64 root_eptp, u64 eptp) in nested_ept_root_matches()
/linux/include/linux/
H A Dkvm_types.h71 typedef u64 hpa_t; typedef
H A Dkvm_host.h1914 static inline hpa_t pfn_to_hpa(kvm_pfn_t pfn) in pfn_to_hpa()
1916 return (hpa_t)pfn << PAGE_SHIFT; in pfn_to_hpa()
/linux/arch/s390/kvm/
H A Dvsie.c666 static int pin_guest_page(struct kvm *kvm, gpa_t gpa, hpa_t *hpa) in pin_guest_page()
673 *hpa = (hpa_t)page_to_phys(page) + (gpa & ~PAGE_MASK); in pin_guest_page()
678 static void unpin_guest_page(struct kvm *kvm, gpa_t gpa, hpa_t hpa) in unpin_guest_page()
689 hpa_t hpa; in unpin_blocks()
746 hpa_t hpa; in pin_blocks()
863 hpa_t hpa = virt_to_phys(vsie_page->scb_o); in unpin_scb()
879 hpa_t hpa; in pin_scb()
/linux/arch/x86/include/asm/
H A Dkvm_host.h151 #define INVALID_PAGE (~(hpa_t)0)
441 hpa_t hpa;
475 hpa_t mirror_root_hpa;
1102 hpa_t hv_root_tdp;
1595 hpa_t hv_root_tdp;
1860 void (*load_mmu_pgd)(struct kvm_vcpu *vcpu, hpa_t root_hpa,
/linux/arch/powerpc/kvm/
H A De500_mmu_host.c588 hpa_t addr; in kvmppc_load_last_inst()