Home
last modified time | relevance | path

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

/linux-6.12.1/virt/kvm/
Dpfncache.c159 kvm_pfn_t new_pfn = KVM_PFN_ERR_FAULT; in hva_to_pfn_retry() local
187 if (new_pfn != KVM_PFN_ERR_FAULT) { in hva_to_pfn_retry()
193 gpc_unmap(new_pfn, new_khva); in hva_to_pfn_retry()
195 kvm_release_pfn_clean(new_pfn); in hva_to_pfn_retry()
201 new_pfn = hva_to_pfn(gpc->uhva, false, false, NULL, true, NULL); in hva_to_pfn_retry()
202 if (is_error_noslot_pfn(new_pfn)) in hva_to_pfn_retry()
210 if (new_pfn == gpc->pfn) in hva_to_pfn_retry()
213 new_khva = gpc_map(new_pfn); in hva_to_pfn_retry()
216 kvm_release_pfn_clean(new_pfn); in hva_to_pfn_retry()
230 gpc->pfn = new_pfn; in hva_to_pfn_retry()
[all …]
/linux-6.12.1/drivers/iommu/
Diova.c170 unsigned long new_pfn, retry_pfn; in __alloc_and_insert_iova_range() local
190 new_pfn = (high_pfn - size) & align_mask; in __alloc_and_insert_iova_range()
194 } while (curr && new_pfn <= curr_iova->pfn_hi && new_pfn >= low_pfn); in __alloc_and_insert_iova_range()
196 if (high_pfn < size || new_pfn < low_pfn) { in __alloc_and_insert_iova_range()
209 new->pfn_lo = new_pfn; in __alloc_and_insert_iova_range()