Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/iommu/iommufd/
Dio_pagetable.c74 unsigned long iova_alignment, in __alloc_iova_check_hole() argument
80 span->start_hole = ALIGN(span->start_hole, iova_alignment) | in __alloc_iova_check_hole()
90 unsigned long iova_alignment, in __alloc_iova_check_used() argument
96 span->start_used = ALIGN(span->start_used, iova_alignment) | in __alloc_iova_check_used()
114 unsigned long iova_alignment; in iopt_alloc_iova() local
127 iova_alignment = roundup_pow_of_two(length); in iopt_alloc_iova()
129 iova_alignment = min_t(unsigned long, in iopt_alloc_iova()
133 if (iova_alignment < iopt->iova_alignment) in iopt_alloc_iova()
145 iova_alignment, page_offset)) in iopt_alloc_iova()
152 iova_alignment, in iopt_alloc_iova()
[all …]
Diommufd_private.h51 unsigned long iova_alignment; member
309 unsigned long iova_alignment; member
Ddevice.c792 access->iova_alignment = PAGE_SIZE; in iommufd_access_create()
794 access->iova_alignment = 1; in iommufd_access_create()
995 WARN_ON(access->iova_alignment != PAGE_SIZE || !access->ops->unmap)) in iommufd_access_pin_pages()
Dioas.c82 cmd->out_iova_alignment = ioas->iopt.iova_alignment; in iommufd_ioas_iova_ranges()
Dvfio_compat.c372 pgsize_bitmap = max(pgsize_bitmap, ioas->iopt.iova_alignment); in iommufd_get_pagesizes()