Searched refs:iovas (Results 1 – 6 of 6) sorted by relevance
| /linux-6.15/tools/testing/selftests/iommu/ |
| H A D | iommufd.c | 883 __u64 iovas[10]; in TEST_F() local 888 test_ioctl_ioas_map(buffer, PAGE_SIZE, &iovas[i]); in TEST_F() 890 test_ioctl_ioas_unmap(iovas[i], PAGE_SIZE); in TEST_F() 897 test_ioctl_ioas_map(buffer, length, &iovas[i]); in TEST_F() 900 &iovas[i]); in TEST_F() 914 test_ioctl_ioas_map(buffer, length, &iovas[i]); in TEST_F() 917 iovas[i] > test_cmd.add_reserved.start && in TEST_F() 918 iovas[i] < in TEST_F() 943 test_ioctl_ioas_map(buffer, length, &iovas[i]); in TEST_F() 945 EXPECT_EQ(true, iovas[i] >= ranges[0].start); in TEST_F() [all …]
|
| /linux-6.15/drivers/iommu/iommufd/ |
| H 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()
|
| H A D | io_pagetable.c | 1326 int iopt_cut_iova(struct io_pagetable *iopt, unsigned long *iovas, in iopt_cut_iova() argument 1336 area = iopt_area_iter_first(iopt, iovas[i], iovas[i]); in iopt_cut_iova() 1339 rc = iopt_area_split(area, iovas[i]); in iopt_cut_iova()
|
| H A D | iommufd_private.h | 128 int iopt_cut_iova(struct io_pagetable *iopt, unsigned long *iovas,
|
| /linux-6.15/drivers/vfio/ |
| H A D | vfio_iommu_type1.c | 2707 int iovas = 0, i = 0, ret; in vfio_iommu_iova_build_caps() local 2710 iovas++; in vfio_iommu_iova_build_caps() 2712 if (!iovas) { in vfio_iommu_iova_build_caps() 2720 size = struct_size(cap_iovas, iova_ranges, iovas); in vfio_iommu_iova_build_caps() 2726 cap_iovas->nr_iovas = iovas; in vfio_iommu_iova_build_caps()
|
| /linux-6.15/Documentation/driver-api/ |
| H A D | vfio.rst | 461 - The dma_unmap callback is issued when a range of iovas are unmapped
|