Searched refs:resv_regions (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.10/drivers/iommu/ |
| 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()
|
| D | dma-iommu.c | 243 LIST_HEAD(resv_regions); in iova_reserve_iommu_regions() 252 iommu_get_resv_regions(dev, &resv_regions); in iova_reserve_iommu_regions() 253 list_for_each_entry(region, &resv_regions, list) { in iova_reserve_iommu_regions() 270 iommu_put_resv_regions(dev, &resv_regions); in iova_reserve_iommu_regions()
|
| /Linux-v5.10/drivers/vfio/ |
| D | vfio_iommu_type1.c | 1879 struct list_head *resv_regions) in vfio_iommu_resv_conflict() argument 1884 list_for_each_entry(region, resv_regions, list) { in vfio_iommu_resv_conflict() 1900 struct list_head *resv_regions) in vfio_iommu_resv_exclude() argument 1905 list_for_each_entry(resv, resv_regions, list) { in vfio_iommu_resv_exclude() 1947 static void vfio_iommu_resv_free(struct list_head *resv_regions) in vfio_iommu_resv_free() argument 1951 list_for_each_entry_safe(n, next, resv_regions, list) { in vfio_iommu_resv_free() 2304 LIST_HEAD(resv_regions); in vfio_iommu_resv_refresh() 2313 &resv_regions); in vfio_iommu_resv_refresh() 2332 ret = vfio_iommu_resv_exclude(iova_copy, &resv_regions); in vfio_iommu_resv_refresh() 2334 vfio_iommu_resv_free(&resv_regions); in vfio_iommu_resv_refresh()
|