Home
last modified time | relevance | path

Searched refs:kvm_pfn_t (Results 1 – 25 of 25) sorted by relevance

/Linux-v6.6/virt/kvm/
Dpfncache.c99 static void gpc_unmap_khva(kvm_pfn_t pfn, void *khva) in gpc_unmap_khva()
140 static kvm_pfn_t hva_to_pfn_retry(struct gfn_to_pfn_cache *gpc) in hva_to_pfn_retry()
144 kvm_pfn_t new_pfn = KVM_PFN_ERR_FAULT; in hva_to_pfn_retry()
246 kvm_pfn_t old_pfn; in __kvm_gpc_refresh()
385 kvm_pfn_t old_pfn; in kvm_gpc_deactivate()
Dkvm_mm.h23 kvm_pfn_t hva_to_pfn(unsigned long addr, bool atomic, bool interruptible,
Dkvm_main.c181 struct page *kvm_pfn_to_refcounted_page(kvm_pfn_t pfn) in kvm_pfn_to_refcounted_page()
2516 bool *writable, kvm_pfn_t *pfn) in hva_to_pfn_fast()
2544 bool interruptible, bool *writable, kvm_pfn_t *pfn) in hva_to_pfn_slow()
2602 static int kvm_try_get_pfn(kvm_pfn_t pfn) in kvm_try_get_pfn()
2614 bool *writable, kvm_pfn_t *p_pfn) in hva_to_pfn_remapped()
2616 kvm_pfn_t pfn; in hva_to_pfn_remapped()
2695 kvm_pfn_t hva_to_pfn(unsigned long addr, bool atomic, bool interruptible, in hva_to_pfn()
2699 kvm_pfn_t pfn; in hva_to_pfn()
2746 kvm_pfn_t __gfn_to_pfn_memslot(const struct kvm_memory_slot *slot, gfn_t gfn, in __gfn_to_pfn_memslot()
2778 kvm_pfn_t gfn_to_pfn_prot(struct kvm *kvm, gfn_t gfn, bool write_fault, in gfn_to_pfn_prot()
[all …]
/Linux-v6.6/include/linux/
Dkvm_host.h105 static inline bool is_error_pfn(kvm_pfn_t pfn) in is_error_pfn()
114 static inline bool is_sigpending_pfn(kvm_pfn_t pfn) in is_sigpending_pfn()
124 static inline bool is_error_noslot_pfn(kvm_pfn_t pfn) in is_error_noslot_pfn()
130 static inline bool is_noslot_pfn(kvm_pfn_t pfn) in is_noslot_pfn()
294 kvm_pfn_t pfn;
295 kvm_pfn_t gfn;
1180 kvm_pfn_t gfn_to_pfn(struct kvm *kvm, gfn_t gfn);
1181 kvm_pfn_t gfn_to_pfn_prot(struct kvm *kvm, gfn_t gfn, bool write_fault,
1183 kvm_pfn_t gfn_to_pfn_memslot(const struct kvm_memory_slot *slot, gfn_t gfn);
1184 kvm_pfn_t gfn_to_pfn_memslot_atomic(const struct kvm_memory_slot *slot, gfn_t gfn);
[all …]
Dkvm_types.h49 typedef hfn_t kvm_pfn_t; typedef
76 kvm_pfn_t pfn;
/Linux-v6.6/arch/x86/kvm/mmu/
Dspte.h328 static inline kvm_pfn_t spte_to_pfn(u64 pte) in spte_to_pfn()
476 unsigned int pte_access, gfn_t gfn, kvm_pfn_t pfn,
499 u64 kvm_mmu_changed_pte_notifier_make_spte(u64 old_spte, kvm_pfn_t new_pfn);
Dspte.c88 static bool kvm_is_mmio_pfn(kvm_pfn_t pfn) in kvm_is_mmio_pfn()
139 unsigned int pte_access, gfn_t gfn, kvm_pfn_t pfn, in make_spte()
325 u64 kvm_mmu_changed_pte_notifier_make_spte(u64 old_spte, kvm_pfn_t new_pfn) in kvm_mmu_changed_pte_notifier_make_spte()
Dmmu_internal.h238 kvm_pfn_t pfn;
Dpaging_tmpl.h539 kvm_pfn_t pfn; in FNAME()
Dmmu.c567 kvm_pfn_t pfn; in mmu_spte_clear_track_bits()
1459 kvm_pfn_t new_pfn; in kvm_set_pte_rmap()
2902 kvm_pfn_t pfn, struct kvm_page_fault *fault) in mmu_set_spte()
3164 kvm_pfn_t mask; in kvm_mmu_hugepage_adjust()
/Linux-v6.6/arch/powerpc/kvm/
De500_mmu_host.c164 kvm_pfn_t pfn; in kvmppc_map_magic()
166 pfn = (kvm_pfn_t)virt_to_phys((void *)shared_page) >> PAGE_SHIFT; in kvmppc_map_magic()
247 kvm_pfn_t pfn, unsigned int wimg) in kvmppc_e500_ref_setup()
310 kvm_pfn_t pfn = ref->pfn; in kvmppc_e500_setup_stlbe()
De500.h41 kvm_pfn_t pfn; /* valid only for TLB0, except briefly */
Dbook3s.c428 kvm_pfn_t kvmppc_gpa_to_pfn(struct kvm_vcpu *vcpu, gpa_t gpa, bool writing, in kvmppc_gpa_to_pfn()
441 kvm_pfn_t pfn; in kvmppc_gpa_to_pfn()
443 pfn = (kvm_pfn_t)virt_to_phys((void*)shared_page) >> PAGE_SHIFT; in kvmppc_gpa_to_pfn()
Dtrace_pr.h32 TP_PROTO(int rflags, ulong hpteg, ulong va, kvm_pfn_t hpaddr,
Dbook3s_32_mmu_host.c133 kvm_pfn_t hpaddr; in kvmppc_mmu_map_page()
Dbook3s_64_mmu_host.c75 kvm_pfn_t hpaddr; in kvmppc_mmu_map_page()
/Linux-v6.6/arch/arm64/kvm/
Dmmu.c1282 unsigned long hva, kvm_pfn_t *pfnp, in transparent_hugepage_adjust()
1285 kvm_pfn_t pfn = *pfnp; in transparent_hugepage_adjust()
1372 static void sanitise_mte_tags(struct kvm *kvm, kvm_pfn_t pfn, in sanitise_mte_tags()
1408 kvm_pfn_t pfn; in user_mem_abort()
1785 kvm_pfn_t pfn = pte_pfn(range->arg.pte); in kvm_set_spte_gfn()
Dguest.c1045 kvm_pfn_t pfn = gfn_to_pfn_prot(kvm, gfn, write, NULL); in kvm_vm_ioctl_mte_copy_tags()
/Linux-v6.6/arch/mips/kvm/
Dmmu.c517 kvm_pfn_t pfn = 0; /* silence bogus GCC warning */ in _kvm_mips_map_page_fast()
594 kvm_pfn_t pfn; in kvm_mips_map_page()
/Linux-v6.6/arch/riscv/kvm/
Dmmu.c556 kvm_pfn_t pfn = pte_pfn(range->arg.pte); in kvm_set_spte_gfn()
614 kvm_pfn_t hfn; in kvm_riscv_gstage_map()
/Linux-v6.6/arch/arm64/include/asm/
Dkvm_pgtable.h74 static inline kvm_pfn_t kvm_pte_to_pfn(kvm_pte_t pte) in kvm_pte_to_pfn()
/Linux-v6.6/arch/powerpc/include/asm/
Dkvm_book3s.h236 extern kvm_pfn_t kvmppc_gpa_to_pfn(struct kvm_vcpu *vcpu, gpa_t gpa,
Dkvm_ppc.h895 static inline void kvmppc_mmu_flush_icache(kvm_pfn_t pfn) in kvmppc_mmu_flush_icache()
/Linux-v6.6/arch/x86/kvm/vmx/
Dvmx.c6747 kvm_pfn_t pfn; in vmx_set_apic_access_page_addr()
/Linux-v6.6/arch/x86/kvm/
Dx86.c8569 kvm_pfn_t pfn; in reexecute_instruction()