Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/iommu/
Ddma-iommu.c352 unsigned long shift, iova_len, iova = 0; in iommu_dma_alloc_iova() local
360 iova_len = size >> shift; in iommu_dma_alloc_iova()
367 if (iova_len < (1 << (IOVA_RANGE_CACHE_MAX_SIZE - 1))) in iommu_dma_alloc_iova()
368 iova_len = roundup_pow_of_two(iova_len); in iommu_dma_alloc_iova()
378 iova = alloc_iova_fast(iovad, iova_len, in iommu_dma_alloc_iova()
382 iova = alloc_iova_fast(iovad, iova_len, dma_limit >> shift, in iommu_dma_alloc_iova()
734 size_t iova_len = 0; in iommu_dma_map_sg() local
747 size_t pad_len = (mask - iova_len + 1) & mask; in iommu_dma_map_sg()
770 iova_len += pad_len; in iommu_dma_map_sg()
773 iova_len += s_length; in iommu_dma_map_sg()
[all …]