Searched refs:iov_pfn (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/drivers/iommu/intel/ |
D | iommu.c | 2295 unsigned long iov_pfn, in hardware_largepage_caps() argument 2308 pfnmerge = iov_pfn | phy_pfn; in hardware_largepage_caps() 2321 static int __domain_mapping(struct dmar_domain *domain, unsigned long iov_pfn, in __domain_mapping() argument 2332 BUG_ON(!domain_pfn_supported(domain, iov_pfn + nr_pages - 1)); in __domain_mapping() 2353 sg->dma_address = ((dma_addr_t)iov_pfn << VTD_PAGE_SHIFT) + pgoff; in __domain_mapping() 2360 largepage_lvl = hardware_largepage_caps(domain, iov_pfn, phys_pfn, sg_res); in __domain_mapping() 2362 first_pte = pte = pfn_to_dma_pte(domain, iov_pfn, &largepage_lvl); in __domain_mapping() 2373 end_pfn = iov_pfn + nr_superpages * lvl_pages - 1; in __domain_mapping() 2381 dma_pte_free_pagetable(domain, iov_pfn, end_pfn, in __domain_mapping() 2395 iov_pfn, tmp, (unsigned long long)pteval); in __domain_mapping() [all …]
|
/Linux-v5.10/drivers/gpu/drm/i915/gvt/ |
D | kvmgt.c | 753 unsigned long iov_pfn, end_iov_pfn; in intel_vgpu_iommu_notifier() local 755 iov_pfn = unmap->iova >> PAGE_SHIFT; in intel_vgpu_iommu_notifier() 756 end_iov_pfn = iov_pfn + unmap->size / PAGE_SIZE; in intel_vgpu_iommu_notifier() 759 for (; iov_pfn < end_iov_pfn; iov_pfn++) { in intel_vgpu_iommu_notifier() 760 entry = __gvt_cache_find_gfn(vgpu, iov_pfn); in intel_vgpu_iommu_notifier()
|