Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iommu/
H A Ddma-iommu.c728 size_t iova_off = iova_offset(iovad, dma_addr); in __iommu_dma_unmap() local
732 dma_addr -= iova_off; in __iommu_dma_unmap()
733 size = iova_align(iovad, size + iova_off); in __iommu_dma_unmap()
751 size_t iova_off = iova_offset(iovad, phys); in __iommu_dma_map() local
758 size = iova_align(iovad, size + iova_off); in __iommu_dma_map()
764 if (iommu_map(domain, iova, phys - iova_off, size, prot, GFP_ATOMIC)) { in __iommu_dma_map()
768 return iova + iova_off; in __iommu_dma_map()