Searched refs:last_iova (Results 1 – 4 of 4) sorted by relevance
/drivers/iommu/iommufd/ |
D | io_pagetable.h | 149 unsigned long last_iova; member 155 unsigned long last_iova); 160 return iter->area && iter->last_iova <= iopt_area_last_iova(iter->area); in iopt_area_contig_done() 168 #define iopt_for_each_contig_area(iter, area, iopt, iova, last_iova) \ argument 169 for (area = iopt_area_contig_init(iter, iopt, iova, last_iova); area; \
|
D | device.c | 914 unsigned long last_iova; in iommufd_access_unpin_pages() local 918 WARN_ON(check_add_overflow(iova, length - 1, &last_iova))) in iommufd_access_unpin_pages() 933 iopt_for_each_contig_area(&iter, area, iopt, iova, last_iova) in iommufd_access_unpin_pages() 938 min(last_iova, iopt_area_last_iova(area)))); in iommufd_access_unpin_pages() 989 unsigned long last_iova; in iommufd_access_pin_pages() local 1000 if (check_add_overflow(iova, length - 1, &last_iova)) in iommufd_access_pin_pages() 1011 iopt_for_each_contig_area(&iter, area, iopt, iova, last_iova) { in iommufd_access_pin_pages() 1012 unsigned long last = min(last_iova, iopt_area_last_iova(area)); in iommufd_access_pin_pages() 1045 last_iova = iter.cur_iova - 1; in iommufd_access_pin_pages() 1046 iopt_for_each_contig_area(&iter, area, iopt, iova, last_iova) in iommufd_access_pin_pages() [all …]
|
D | io_pagetable.c | 33 unsigned long last_iova) in iopt_area_contig_init() argument 38 iter->last_iova = last_iova; in iopt_area_contig_init() 51 unsigned long last_iova; in iopt_area_contig_next() local 55 last_iova = iopt_area_last_iova(iter->area); in iopt_area_contig_next() 56 if (iter->last_iova <= last_iova) in iopt_area_contig_next() 59 iter->cur_iova = last_iova + 1; in iopt_area_contig_next() 61 iter->last_iova); in iopt_area_contig_next() 431 unsigned long last_iova; in iopt_get_pages() local 437 if (check_add_overflow(iova, length - 1, &last_iova)) in iopt_get_pages() 441 iopt_for_each_contig_area(&iter, area, iopt, iova, last_iova) { in iopt_get_pages() [all …]
|
D | pages.c | 479 unsigned long last_iova = iopt_area_last_iova(area); in batch_to_domain() local 493 next_iova = min(last_iova + 1, in batch_to_domain()
|