Searched refs:kvm_pfn_t (Results 1 – 12 of 12) sorted by relevance
/linux/virt/kvm/ |
H A D | pfncache.c | 99 static void *gpc_map(kvm_pfn_t pfn) in gpc_map() 111 static void gpc_unmap(kvm_pfn_t pfn, void *khva) in gpc_unmap() 155 static kvm_pfn_t hva_to_pfn_retry(struct gfn_to_pfn_cache *gpc) in hva_to_pfn_retry() 159 kvm_pfn_t new_pfn = KVM_PFN_ERR_FAULT; in hva_to_pfn_retry() 261 kvm_pfn_t old_pfn; in __kvm_gpc_refresh() 450 kvm_pfn_t old_pfn; in kvm_gpc_deactivate()
|
H A D | guest_memfd.c | 23 static inline kvm_pfn_t folio_file_pfn(struct folio *folio, pgoff_t index) in folio_file_pfn() 32 kvm_pfn_t pfn = folio_file_pfn(folio, index); in __kvm_gmem_prepare_folio() 364 kvm_pfn_t pfn = page_to_pfn(page); 561 pgoff_t index, kvm_pfn_t *pfn, in __kvm_gmem_get_pfn() 597 gfn_t gfn, kvm_pfn_t *pfn, struct page **page, in kvm_gmem_get_pfn() 662 kvm_pfn_t pfn; in kvm_gmem_populate()
|
H A D | kvm_mm.h | 56 kvm_pfn_t hva_to_pfn(struct kvm_follow_pfn *kfp); in kvm_gmem_bind()
|
H A D | kvm_main.c | 2744 static kvm_pfn_t kvm_resolve_pfn(struct kvm_follow_pfn *kfp, struct page *page, in kvm_resolve_pfn() 2747 kvm_pfn_t pfn; in kvm_resolve_pfn() 2768 static bool hva_to_pfn_fast(struct kvm_follow_pfn *kfp, kvm_pfn_t *pfn) in hva_to_pfn_fast() 2800 static int hva_to_pfn_slow(struct kvm_follow_pfn *kfp, kvm_pfn_t *pfn) in hva_to_pfn_slow() 2857 struct kvm_follow_pfn *kfp, kvm_pfn_t *p_pfn) in hva_to_pfn_remapped() 2902 kvm_pfn_t hva_to_pfn(struct kvm_follow_pfn *kfp) in hva_to_pfn() 2905 kvm_pfn_t pfn; in hva_to_pfn() 2947 static kvm_pfn_t kvm_follow_pfn(struct kvm_follow_pfn *kfp) in kvm_follow_pfn() 2966 kvm_pfn_t __kvm_faultin_pfn(const struct kvm_memory_slot *slot, gfn_t gfn, in __kvm_faultin_pfn()
|
/linux/arch/x86/kvm/svm/ |
H A D | svm.h | 763 int sev_gmem_prepare(struct kvm *kvm, kvm_pfn_t pfn, gfn_t gfn, int max_order); 764 void sev_gmem_invalidate(kvm_pfn_t start, kvm_pfn_t end); 765 int sev_private_max_mapping_level(struct kvm *kvm, kvm_pfn_t pfn); 787 static inline int sev_gmem_prepare(struct kvm *kvm, kvm_pfn_t pfn, gfn_t gfn, int max_order) in sev_gmem_prepare() 791 static inline void sev_gmem_invalidate(kvm_pfn_t start, kvm_pfn_t end) {} in sev_gmem_invalidate() 792 static inline int sev_private_max_mapping_level(struct kvm *kvm, kvm_pfn_t pfn) in sev_private_max_mapping_level()
|
/linux/include/linux/ |
H A D | kvm_types.h | 50 typedef hfn_t kvm_pfn_t; typedef 70 kvm_pfn_t pfn;
|
/linux/arch/x86/kvm/mmu/ |
H A D | spte.h | 339 static inline kvm_pfn_t spte_to_pfn(u64 pte) in spte_to_pfn() 521 unsigned int pte_access, gfn_t gfn, kvm_pfn_t pfn,
|
H A D | mmu.c | 2820 kvm_pfn_t pfn, struct kvm_page_fault *fault) in mmu_set_spte() 3115 kvm_pfn_t mask; in kvm_mmu_hugepage_adjust() 4283 static u8 kvm_max_private_mapping_level(struct kvm *kvm, kvm_pfn_t pfn, in kvm_max_private_mapping_level()
|
/linux/arch/powerpc/kvm/ |
H A D | e500.h | 41 kvm_pfn_t pfn; /* valid only for TLB0, except briefly */
|
H A D | trace_pr.h | 32 TP_PROTO(int rflags, ulong hpteg, ulong va, kvm_pfn_t hpaddr,
|
/linux/arch/powerpc/include/asm/ |
H A D | kvm_ppc.h | 930 static inline void kvmppc_mmu_flush_icache(kvm_pfn_t pfn) in kvmppc_mmu_flush_icache()
|
/linux/arch/x86/kvm/ |
H A D | x86.c | 13606 int kvm_arch_gmem_prepare(struct kvm *kvm, gfn_t gfn, kvm_pfn_t pfn, int max_order) in kvm_arch_gmem_prepare() 13613 void kvm_arch_gmem_invalidate(kvm_pfn_t start, kvm_pfn_t end) in kvm_arch_gmem_invalidate()
|