Home
last modified time | relevance | path

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

/drivers/iommu/
Ddma-iommu.c737 size_t iova_off = iova_offset(iovad, dma_addr); in __iommu_dma_unmap() local
741 dma_addr -= iova_off; in __iommu_dma_unmap()
742 size = iova_align(iovad, size + iova_off); in __iommu_dma_unmap()
760 size_t iova_off = iova_offset(iovad, phys); in __iommu_dma_map() local
767 size = iova_align(iovad, size + iova_off); in __iommu_dma_map()
773 if (iommu_map(domain, iova, phys - iova_off, size, prot, GFP_ATOMIC)) { in __iommu_dma_map()
777 return iova + iova_off; in __iommu_dma_map()