Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iommu/iommufd/
Dpages.c201 WARN_ON(index < iopt_area_index(area) || in iopt_area_index_to_iova()
203 index -= iopt_area_index(area); in iopt_area_index_to_iova()
213 WARN_ON(index < iopt_area_index(area) || in iopt_area_index_to_iova_last()
218 (index - iopt_area_index(area) + 1) * PAGE_SIZE - 1; in iopt_area_index_to_iova_last()
385 if (start_index == iopt_area_index(area)) in batch_from_domain()
413 if (start_index == iopt_area_index(area)) in raw_pages_from_domain()
488 if (start_index == iopt_area_index(area)) in batch_to_domain()
1264 unsigned long start_index = iopt_area_index(area); in __iopt_area_unfill_domain()
1315 if (end_index != iopt_area_index(area)) in iopt_area_unfill_partial_domain()
1366 rc = pfn_reader_first(&pfns, area->pages, iopt_area_index(area), in iopt_area_fill_domain()
[all …]
Dio_pagetable.h71 static inline unsigned long iopt_area_index(struct iopt_area *area) in iopt_area_index() function
108 iopt_area_index(area) * PAGE_SIZE; in iopt_area_start_byte()