Searched refs:iovas (Results 1 – 6 of 6) sorted by relevance
/linux-6.3-rc2/tools/testing/selftests/iommu/ |
A D | iommufd.c | 372 __u64 iovas[10]; in TEST_F() local 377 test_ioctl_ioas_map(buffer, PAGE_SIZE, &iovas[i]); in TEST_F() 379 test_ioctl_ioas_unmap(iovas[i], PAGE_SIZE); in TEST_F() 386 test_ioctl_ioas_map(buffer, length, &iovas[i]); in TEST_F() 389 &iovas[i]); in TEST_F() 403 test_ioctl_ioas_map(buffer, length, &iovas[i]); in TEST_F() 406 iovas[i] > test_cmd.add_reserved.start && in TEST_F() 407 iovas[i] < in TEST_F() 432 test_ioctl_ioas_map(buffer, length, &iovas[i]); in TEST_F() 434 EXPECT_EQ(true, iovas[i] >= ranges[0].start); in TEST_F() [all …]
|
/linux-6.3-rc2/drivers/iommu/iommufd/ |
A D | vfio_compat.c | 236 unsigned long iovas[] = { unmap.iova + unmap.size - 1, in iommufd_vfio_unmap_dma() local 239 rc = iopt_cut_iova(&ioas->iopt, iovas, in iommufd_vfio_unmap_dma()
|
A D | io_pagetable.c | 1069 int iopt_cut_iova(struct io_pagetable *iopt, unsigned long *iovas, in iopt_cut_iova() argument 1079 area = iopt_area_iter_first(iopt, iovas[i], iovas[i]); in iopt_cut_iova() 1082 rc = iopt_area_split(area, iovas[i]); in iopt_cut_iova()
|
A D | iommufd_private.h | 86 int iopt_cut_iova(struct io_pagetable *iopt, unsigned long *iovas,
|
/linux-6.3-rc2/drivers/vfio/ |
A D | vfio_iommu_type1.c | 2691 int iovas = 0, i = 0, ret; in vfio_iommu_iova_build_caps() local 2694 iovas++; in vfio_iommu_iova_build_caps() 2696 if (!iovas) { in vfio_iommu_iova_build_caps() 2704 size = struct_size(cap_iovas, iova_ranges, iovas); in vfio_iommu_iova_build_caps() 2710 cap_iovas->nr_iovas = iovas; in vfio_iommu_iova_build_caps()
|
/linux-6.3-rc2/Documentation/driver-api/ |
A D | vfio.rst | 328 - The dma_unmap callback is issued when a range of iovas are unmapped
|
Completed in 20 milliseconds