Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/iommu/
Dvirtio-iommu.c80 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()
898 list_for_each_entry(entry, &vdev->resv_regions, list) { in viommu_get_resv_regions()
962 INIT_LIST_HEAD(&vdev->resv_regions); in viommu_probe_device()
975 iommu_put_resv_regions(dev, &vdev->resv_regions); in viommu_probe_device()
994 iommu_put_resv_regions(dev, &vdev->resv_regions); in viommu_release_device()
Ddma-iommu.c483 LIST_HEAD(resv_regions); in iova_reserve_iommu_regions()
492 iommu_get_resv_regions(dev, &resv_regions); in iova_reserve_iommu_regions()
493 list_for_each_entry(region, &resv_regions, list) { in iova_reserve_iommu_regions()
510 iommu_put_resv_regions(dev, &resv_regions); in iova_reserve_iommu_regions()
/Linux-v6.1/drivers/vfio/
Dvfio_iommu_type1.c2045 struct list_head *resv_regions) in vfio_iommu_resv_conflict() argument
2050 list_for_each_entry(region, resv_regions, list) { in vfio_iommu_resv_conflict()
2066 struct list_head *resv_regions) in vfio_iommu_resv_exclude() argument
2071 list_for_each_entry(resv, resv_regions, list) { in vfio_iommu_resv_exclude()
2113 static void vfio_iommu_resv_free(struct list_head *resv_regions) in vfio_iommu_resv_free() argument
2117 list_for_each_entry_safe(n, next, resv_regions, list) { in vfio_iommu_resv_free()
2450 LIST_HEAD(resv_regions); in vfio_iommu_resv_refresh()
2459 &resv_regions); in vfio_iommu_resv_refresh()
2478 ret = vfio_iommu_resv_exclude(iova_copy, &resv_regions); in vfio_iommu_resv_refresh()
2480 vfio_iommu_resv_free(&resv_regions); in vfio_iommu_resv_refresh()