Searched refs:iov_pfn (Results 1 – 1 of 1) sorted by relevance
/drivers/iommu/ |
D | intel-iommu.c | 1764 unsigned long iov_pfn, in hardware_largepage_caps() argument 1777 pfnmerge = iov_pfn | phy_pfn; in hardware_largepage_caps() 1790 static int __domain_mapping(struct dmar_domain *domain, unsigned long iov_pfn, in __domain_mapping() argument 1801 BUG_ON(addr_width < BITS_PER_LONG && (iov_pfn + nr_pages - 1) >> addr_width); in __domain_mapping() 1820 sg->dma_address = ((dma_addr_t)iov_pfn << VTD_PAGE_SHIFT) + sg->offset; in __domain_mapping() 1827 largepage_lvl = hardware_largepage_caps(domain, iov_pfn, phys_pfn, sg_res); in __domain_mapping() 1829 first_pte = pte = pfn_to_dma_pte(domain, iov_pfn, largepage_lvl); in __domain_mapping() 1837 dma_pte_clear_range(domain, iov_pfn, in __domain_mapping() 1838 iov_pfn + lvl_to_nr_pages(largepage_lvl) - 1); in __domain_mapping() 1839 dma_pte_free_pagetable(domain, iov_pfn, in __domain_mapping() [all …]
|