/kernel/linux/linux-6.6/drivers/iommu/ |
H A D | virtio-iommu.c | 80 struct list_head resv_regions; member 394 list_for_each_entry(resv, &vdev->resv_regions, list) { in viommu_domain_map_identity() 506 list_for_each_entry(next, &vdev->resv_regions, list) { in viommu_add_resv_mem() 921 list_for_each_entry(entry, &vdev->resv_regions, list) { in viommu_get_resv_regions() 985 INIT_LIST_HEAD(&vdev->resv_regions); in viommu_probe_device() 998 iommu_put_resv_regions(dev, &vdev->resv_regions); in viommu_probe_device() 1018 iommu_put_resv_regions(dev, &vdev->resv_regions); in viommu_release_device()
|
H A D | dma-iommu.c | 487 LIST_HEAD(resv_regions); in iova_reserve_iommu_regions() 496 iommu_get_resv_regions(dev, &resv_regions); in iova_reserve_iommu_regions() 497 list_for_each_entry(region, &resv_regions, list) { in iova_reserve_iommu_regions() 514 iommu_put_resv_regions(dev, &resv_regions); in iova_reserve_iommu_regions()
|
/kernel/linux/linux-5.10/drivers/iommu/ |
H A D | virtio-iommu.c | 80 struct list_head resv_regions; member 456 list_add(®ion->list, &vdev->resv_regions); in viommu_add_resv_mem() 825 list_for_each_entry(entry, &vdev->resv_regions, list) { in viommu_get_resv_regions() 888 INIT_LIST_HEAD(&vdev->resv_regions); in viommu_probe_device() 901 generic_iommu_put_resv_regions(dev, &vdev->resv_regions); in viommu_probe_device() 917 generic_iommu_put_resv_regions(dev, &vdev->resv_regions); in viommu_release_device()
|
H A D | dma-iommu.c | 245 LIST_HEAD(resv_regions); in iova_reserve_iommu_regions() 254 iommu_get_resv_regions(dev, &resv_regions); in iova_reserve_iommu_regions() 255 list_for_each_entry(region, &resv_regions, list) { in iova_reserve_iommu_regions() 272 iommu_put_resv_regions(dev, &resv_regions); in iova_reserve_iommu_regions()
|
/kernel/linux/linux-5.10/drivers/vfio/ |
H A D | vfio_iommu_type1.c | 1961 struct list_head *resv_regions) in vfio_iommu_resv_conflict() 1966 list_for_each_entry(region, resv_regions, list) { in vfio_iommu_resv_conflict() 1982 struct list_head *resv_regions) in vfio_iommu_resv_exclude() 1987 list_for_each_entry(resv, resv_regions, list) { in vfio_iommu_resv_exclude() 2029 static void vfio_iommu_resv_free(struct list_head *resv_regions) in vfio_iommu_resv_free() argument 2033 list_for_each_entry_safe(n, next, resv_regions, list) { in vfio_iommu_resv_free() 2369 LIST_HEAD(resv_regions); in vfio_iommu_resv_refresh() 2378 &resv_regions); in vfio_iommu_resv_refresh() 2397 ret = vfio_iommu_resv_exclude(iova_copy, &resv_regions); in vfio_iommu_resv_refresh() 2399 vfio_iommu_resv_free(&resv_regions); in vfio_iommu_resv_refresh() 1960 vfio_iommu_resv_conflict(struct vfio_iommu *iommu, struct list_head *resv_regions) vfio_iommu_resv_conflict() argument 1981 vfio_iommu_resv_exclude(struct list_head *iova, struct list_head *resv_regions) vfio_iommu_resv_exclude() argument [all...] |
/kernel/linux/linux-6.6/drivers/vfio/ |
H A D | vfio_iommu_type1.c | 2026 struct list_head *resv_regions) in vfio_iommu_resv_conflict() 2031 list_for_each_entry(region, resv_regions, list) { in vfio_iommu_resv_conflict() 2047 struct list_head *resv_regions) in vfio_iommu_resv_exclude() 2052 list_for_each_entry(resv, resv_regions, list) { in vfio_iommu_resv_exclude() 2094 static void vfio_iommu_resv_free(struct list_head *resv_regions) in vfio_iommu_resv_free() argument 2098 list_for_each_entry_safe(n, next, resv_regions, list) { in vfio_iommu_resv_free() 2427 LIST_HEAD(resv_regions); in vfio_iommu_resv_refresh() 2436 &resv_regions); in vfio_iommu_resv_refresh() 2455 ret = vfio_iommu_resv_exclude(iova_copy, &resv_regions); in vfio_iommu_resv_refresh() 2457 vfio_iommu_resv_free(&resv_regions); in vfio_iommu_resv_refresh() 2025 vfio_iommu_resv_conflict(struct vfio_iommu *iommu, struct list_head *resv_regions) vfio_iommu_resv_conflict() argument 2046 vfio_iommu_resv_exclude(struct list_head *iova, struct list_head *resv_regions) vfio_iommu_resv_exclude() argument [all...] |
/kernel/linux/linux-6.6/drivers/iommu/iommufd/ |
H A D | io_pagetable.c | 1203 LIST_HEAD(resv_regions); in iopt_table_enforce_dev_resv_regions() 1213 iommu_get_resv_regions(dev, &resv_regions); in iopt_table_enforce_dev_resv_regions() 1215 list_for_each_entry(resv, &resv_regions, list) { in iopt_table_enforce_dev_resv_regions() 1244 iommu_put_resv_regions(dev, &resv_regions); in iopt_table_enforce_dev_resv_regions()
|