Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/iommu/
Ddma-iommu.c406 size_t iova_off = iova_offset(iovad, dma_addr); in __iommu_dma_unmap() local
408 dma_addr -= iova_off; in __iommu_dma_unmap()
409 size = iova_align(iovad, size + iova_off); in __iommu_dma_unmap()
613 size_t iova_off = 0; in __iommu_dma_map() local
617 iova_off = iova_offset(&cookie->iovad, phys); in __iommu_dma_map()
618 size = iova_align(&cookie->iovad, size + iova_off); in __iommu_dma_map()
625 if (iommu_map(domain, iova, phys - iova_off, size, prot)) { in __iommu_dma_map()
629 return iova + iova_off; in __iommu_dma_map()