Searched refs:iovas (Results 1 - 5 of 5) sorted by relevance
/linux-master/tools/testing/selftests/iommu/ |
H A D | iommufd.c | 689 __u64 iovas[10]; local 694 test_ioctl_ioas_map(buffer, PAGE_SIZE, &iovas[i]); 696 test_ioctl_ioas_unmap(iovas[i], PAGE_SIZE); 703 test_ioctl_ioas_map(buffer, length, &iovas[i]); 706 &iovas[i]); 708 EXPECT_EQ(0, iovas[i] % (1UL << (ffs(length) - 1))); 711 test_ioctl_ioas_unmap(iovas[i], PAGE_SIZE * (i + 1)); 720 test_ioctl_ioas_map(buffer, length, &iovas[i]); 721 EXPECT_EQ(0, iovas[i] % (1UL << (ffs(length) - 1))); 723 iovas[ [all...] |
/linux-master/drivers/iommu/iommufd/ |
H A D | vfio_compat.c | 236 unsigned long iovas[] = { unmap.iova + unmap.size - 1, local 239 rc = iopt_cut_iova(&ioas->iopt, iovas,
|
H A D | iommufd_private.h | 98 int iopt_cut_iova(struct io_pagetable *iopt, unsigned long *iovas,
|
H A D | io_pagetable.c | 1271 int iopt_cut_iova(struct io_pagetable *iopt, unsigned long *iovas, argument 1281 area = iopt_area_iter_first(iopt, iovas[i], iovas[i]); 1284 rc = iopt_area_split(area, iovas[i]);
|
/linux-master/drivers/vfio/ |
H A D | vfio_iommu_type1.c | 1240 * and unmap iovas within the range we're about to unmap. Drivers MUST unpin 2689 int iovas = 0, i = 0, ret; local 2692 iovas++; 2694 if (!iovas) { 2702 size = struct_size(cap_iovas, iova_ranges, iovas); 2708 cap_iovas->nr_iovas = iovas;
|
Completed in 108 milliseconds