Searched refs:iovas (Results 1 – 6 of 6) sorted by relevance
| /linux/tools/testing/selftests/iommu/ |
| A D | iommufd.c | 711 __u64 iovas[10]; in TEST_F() local 716 test_ioctl_ioas_map(buffer, PAGE_SIZE, &iovas[i]); in TEST_F() 718 test_ioctl_ioas_unmap(iovas[i], PAGE_SIZE); in TEST_F() 725 test_ioctl_ioas_map(buffer, length, &iovas[i]); in TEST_F() 728 &iovas[i]); in TEST_F() 742 test_ioctl_ioas_map(buffer, length, &iovas[i]); in TEST_F() 745 iovas[i] > test_cmd.add_reserved.start && in TEST_F() 746 iovas[i] < in TEST_F() 771 test_ioctl_ioas_map(buffer, length, &iovas[i]); in TEST_F() 773 EXPECT_EQ(true, iovas[i] >= ranges[0].start); in TEST_F() [all …]
|
| /linux/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 | 1279 int iopt_cut_iova(struct io_pagetable *iopt, unsigned long *iovas, in iopt_cut_iova() argument 1289 area = iopt_area_iter_first(iopt, iovas[i], iovas[i]); in iopt_cut_iova() 1292 rc = iopt_area_split(area, iovas[i]); in iopt_cut_iova()
|
| A D | iommufd_private.h | 100 int iopt_cut_iova(struct io_pagetable *iopt, unsigned long *iovas,
|
| /linux/drivers/vfio/ |
| A D | vfio_iommu_type1.c | 2686 int iovas = 0, i = 0, ret; in vfio_iommu_iova_build_caps() local 2689 iovas++; in vfio_iommu_iova_build_caps() 2691 if (!iovas) { in vfio_iommu_iova_build_caps() 2699 size = struct_size(cap_iovas, iova_ranges, iovas); in vfio_iommu_iova_build_caps() 2705 cap_iovas->nr_iovas = iovas; in vfio_iommu_iova_build_caps()
|
| /linux/Documentation/driver-api/ |
| A D | vfio.rst | 461 - The dma_unmap callback is issued when a range of iovas are unmapped
|
Completed in 28 milliseconds