Searched refs:resv_regions (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/iommu/ |
| H A D | virtio-iommu.c | 79 struct list_head resv_regions; member 411 list_for_each_entry(resv, &vdev->resv_regions, list) { in viommu_domain_map_identity() 523 list_for_each_entry(next, &vdev->resv_regions, list) { in viommu_add_resv_mem() 976 list_for_each_entry(entry, &vdev->resv_regions, list) { in viommu_get_resv_regions() 1037 INIT_LIST_HEAD(&vdev->resv_regions); in viommu_probe_device() 1050 iommu_put_resv_regions(dev, &vdev->resv_regions); in viommu_probe_device() 1061 iommu_put_resv_regions(dev, &vdev->resv_regions); in viommu_release_device()
|
| H A D | dma-iommu.c | 558 LIST_HEAD(resv_regions); in iova_reserve_iommu_regions() 567 iommu_get_resv_regions(dev, &resv_regions); in iova_reserve_iommu_regions() 568 list_for_each_entry(region, &resv_regions, list) { in iova_reserve_iommu_regions() 585 iommu_put_resv_regions(dev, &resv_regions); in iova_reserve_iommu_regions()
|
| /linux/drivers/vfio/ |
| H A D | vfio_iommu_type1.c | 2111 struct list_head *resv_regions) in vfio_iommu_resv_conflict() argument 2116 list_for_each_entry(region, resv_regions, list) { in vfio_iommu_resv_conflict() 2132 struct list_head *resv_regions) in vfio_iommu_resv_exclude() argument 2137 list_for_each_entry(resv, resv_regions, list) { in vfio_iommu_resv_exclude() 2179 static void vfio_iommu_resv_free(struct list_head *resv_regions) in vfio_iommu_resv_free() argument 2183 list_for_each_entry_safe(n, next, resv_regions, list) { in vfio_iommu_resv_free() 2505 LIST_HEAD(resv_regions); in vfio_iommu_resv_refresh() 2514 &resv_regions); in vfio_iommu_resv_refresh() 2533 ret = vfio_iommu_resv_exclude(iova_copy, &resv_regions); in vfio_iommu_resv_refresh() 2535 vfio_iommu_resv_free(&resv_regions); in vfio_iommu_resv_refresh()
|
| /linux/drivers/iommu/iommufd/ |
| H A D | io_pagetable.c | 1497 LIST_HEAD(resv_regions); in iopt_table_enforce_dev_resv_regions() 1507 iommu_get_resv_regions(dev, &resv_regions); in iopt_table_enforce_dev_resv_regions() 1509 list_for_each_entry(resv, &resv_regions, list) { in iopt_table_enforce_dev_resv_regions() 1538 iommu_put_resv_regions(dev, &resv_regions); in iopt_table_enforce_dev_resv_regions()
|