Searched refs:resv_regions (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.4/drivers/iommu/ |
| D | virtio-iommu.c | 80 struct list_head resv_regions; member 457 list_add(&vdev->resv_regions, ®ion->list); in viommu_add_resv_mem() 815 list_for_each_entry(entry, &vdev->resv_regions, list) { in viommu_get_resv_regions() 887 INIT_LIST_HEAD(&vdev->resv_regions); in viommu_add_device() 918 viommu_put_resv_regions(dev, &vdev->resv_regions); in viommu_add_device() 936 viommu_put_resv_regions(dev, &vdev->resv_regions); in viommu_remove_device()
|
| D | dma-iommu.c | 244 LIST_HEAD(resv_regions); in iova_reserve_iommu_regions() 253 iommu_get_resv_regions(dev, &resv_regions); in iova_reserve_iommu_regions() 254 list_for_each_entry(region, &resv_regions, list) { in iova_reserve_iommu_regions() 271 iommu_put_resv_regions(dev, &resv_regions); in iova_reserve_iommu_regions()
|
| /Linux-v5.4/drivers/vfio/ |
| D | vfio_iommu_type1.c | 1535 struct list_head *resv_regions) in vfio_iommu_resv_conflict() argument 1540 list_for_each_entry(region, resv_regions, list) { in vfio_iommu_resv_conflict() 1556 struct list_head *resv_regions) in vfio_iommu_resv_exclude() argument 1561 list_for_each_entry(resv, resv_regions, list) { in vfio_iommu_resv_exclude() 1603 static void vfio_iommu_resv_free(struct list_head *resv_regions) in vfio_iommu_resv_free() argument 1607 list_for_each_entry_safe(n, next, resv_regions, list) { in vfio_iommu_resv_free() 1948 LIST_HEAD(resv_regions); in vfio_iommu_resv_refresh() 1957 &resv_regions); in vfio_iommu_resv_refresh() 1976 ret = vfio_iommu_resv_exclude(iova_copy, &resv_regions); in vfio_iommu_resv_refresh() 1978 vfio_iommu_resv_free(&resv_regions); in vfio_iommu_resv_refresh()
|