Home
last modified time | relevance | path

Searched refs:new_pfn (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/virt/kvm/
Dpfncache.c144 kvm_pfn_t new_pfn = KVM_PFN_ERR_FAULT; in hva_to_pfn_retry() local
172 if (new_pfn != KVM_PFN_ERR_FAULT) { in hva_to_pfn_retry()
178 gpc_unmap_khva(new_pfn, new_khva); in hva_to_pfn_retry()
180 kvm_release_pfn_clean(new_pfn); in hva_to_pfn_retry()
186 new_pfn = hva_to_pfn(gpc->uhva, false, false, NULL, true, NULL); in hva_to_pfn_retry()
187 if (is_error_noslot_pfn(new_pfn)) in hva_to_pfn_retry()
196 if (new_pfn == gpc->pfn) { in hva_to_pfn_retry()
198 } else if (pfn_valid(new_pfn)) { in hva_to_pfn_retry()
199 new_khva = kmap(pfn_to_page(new_pfn)); in hva_to_pfn_retry()
202 new_khva = memremap(pfn_to_hpa(new_pfn), PAGE_SIZE, MEMREMAP_WB); in hva_to_pfn_retry()
[all …]
/linux-6.6.21/drivers/iommu/
Diova.c185 unsigned long new_pfn, retry_pfn; in __alloc_and_insert_iova_range() local
205 new_pfn = (high_pfn - size) & align_mask; in __alloc_and_insert_iova_range()
209 } while (curr && new_pfn <= curr_iova->pfn_hi && new_pfn >= low_pfn); in __alloc_and_insert_iova_range()
211 if (high_pfn < size || new_pfn < low_pfn) { in __alloc_and_insert_iova_range()
224 new->pfn_lo = new_pfn; in __alloc_and_insert_iova_range()
/linux-6.6.21/arch/x86/kvm/mmu/
Dspte.c325 u64 kvm_mmu_changed_pte_notifier_make_spte(u64 old_spte, kvm_pfn_t new_pfn) in kvm_mmu_changed_pte_notifier_make_spte() argument
330 new_spte |= (u64)new_pfn << PAGE_SHIFT; in kvm_mmu_changed_pte_notifier_make_spte()
Dspte.h499 u64 kvm_mmu_changed_pte_notifier_make_spte(u64 old_spte, kvm_pfn_t new_pfn);
Dmmu.c1459 kvm_pfn_t new_pfn; in kvm_set_pte_rmap() local
1462 new_pfn = pte_pfn(pte); in kvm_set_pte_rmap()
1473 *sptep, new_pfn); in kvm_set_pte_rmap()