Home
last modified time | relevance | path

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

/linux/drivers/iommu/
H A Ddma-iommu.c831 size_t iova_off = iova_offset(iovad, dma_addr); in __iommu_dma_unmap() local
835 dma_addr -= iova_off; in __iommu_dma_unmap()
836 size = iova_align(iovad, size + iova_off); in __iommu_dma_unmap()
854 size_t iova_off = iova_offset(iovad, phys); in __iommu_dma_map() local
866 size = iova_align(iovad, size + iova_off); in __iommu_dma_map()
872 if (iommu_map(domain, iova, phys - iova_off, size, prot, GFP_ATOMIC)) { in __iommu_dma_map()
876 return iova + iova_off; in __iommu_dma_map()