Home
last modified time | relevance | path

Searched refs:resv_regions (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.15/drivers/iommu/
Dvirtio-iommu.c80 struct list_head resv_regions; member
456 list_add(&region->list, &vdev->resv_regions); in viommu_add_resv_mem()
817 list_for_each_entry(entry, &vdev->resv_regions, list) { in viommu_get_resv_regions()
880 INIT_LIST_HEAD(&vdev->resv_regions); in viommu_probe_device()
893 generic_iommu_put_resv_regions(dev, &vdev->resv_regions); in viommu_probe_device()
918 generic_iommu_put_resv_regions(dev, &vdev->resv_regions); in viommu_release_device()
Ddma-iommu.c272 LIST_HEAD(resv_regions); in iova_reserve_iommu_regions()
281 iommu_get_resv_regions(dev, &resv_regions); in iova_reserve_iommu_regions()
282 list_for_each_entry(region, &resv_regions, list) { in iova_reserve_iommu_regions()
299 iommu_put_resv_regions(dev, &resv_regions); in iova_reserve_iommu_regions()
/Linux-v5.15/drivers/vfio/
Dvfio_iommu_type1.c2125 struct list_head *resv_regions) in vfio_iommu_resv_conflict() argument
2130 list_for_each_entry(region, resv_regions, list) { in vfio_iommu_resv_conflict()
2146 struct list_head *resv_regions) in vfio_iommu_resv_exclude() argument
2151 list_for_each_entry(resv, resv_regions, list) { in vfio_iommu_resv_exclude()
2193 static void vfio_iommu_resv_free(struct list_head *resv_regions) in vfio_iommu_resv_free() argument
2197 list_for_each_entry_safe(n, next, resv_regions, list) { in vfio_iommu_resv_free()
2526 LIST_HEAD(resv_regions); in vfio_iommu_resv_refresh()
2535 &resv_regions); in vfio_iommu_resv_refresh()
2554 ret = vfio_iommu_resv_exclude(iova_copy, &resv_regions); in vfio_iommu_resv_refresh()
2556 vfio_iommu_resv_free(&resv_regions); in vfio_iommu_resv_refresh()