Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/pci/
Dintel-iommu.c1650 static int __domain_mapping(struct dmar_domain *domain, unsigned long iov_pfn, in __domain_mapping() argument
1659 BUG_ON(addr_width < BITS_PER_LONG && (iov_pfn + nr_pages - 1) >> addr_width); in __domain_mapping()
1678 sg->dma_address = ((dma_addr_t)iov_pfn << VTD_PAGE_SHIFT) + sg->offset; in __domain_mapping()
1683 first_pte = pte = pfn_to_dma_pte(domain, iov_pfn); in __domain_mapping()
1694 iov_pfn, tmp, (unsigned long long)pteval); in __domain_mapping()
1707 iov_pfn++; in __domain_mapping()
1716 static inline int domain_sg_mapping(struct dmar_domain *domain, unsigned long iov_pfn, in domain_sg_mapping() argument
1720 return __domain_mapping(domain, iov_pfn, sg, 0, nr_pages, prot); in domain_sg_mapping()
1723 static inline int domain_pfn_mapping(struct dmar_domain *domain, unsigned long iov_pfn, in domain_pfn_mapping() argument
1727 return __domain_mapping(domain, iov_pfn, NULL, phys_pfn, nr_pages, prot); in domain_pfn_mapping()