Home
last modified time | relevance | path

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

/linux-6.15/drivers/iommu/
H A 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()
948 list_for_each_entry(entry, &vdev->resv_regions, list) { in viommu_get_resv_regions()
1009 INIT_LIST_HEAD(&vdev->resv_regions); in viommu_probe_device()
1022 iommu_put_resv_regions(dev, &vdev->resv_regions); in viommu_probe_device()
1033 iommu_put_resv_regions(dev, &vdev->resv_regions); in viommu_release_device()
H A Ddma-iommu.c553 LIST_HEAD(resv_regions); in iova_reserve_iommu_regions()
562 iommu_get_resv_regions(dev, &resv_regions); in iova_reserve_iommu_regions()
563 list_for_each_entry(region, &resv_regions, list) { in iova_reserve_iommu_regions()
580 iommu_put_resv_regions(dev, &resv_regions); in iova_reserve_iommu_regions()
/linux-6.15/drivers/vfio/
H A Dvfio_iommu_type1.c2042 struct list_head *resv_regions) in vfio_iommu_resv_conflict() argument
2047 list_for_each_entry(region, resv_regions, list) { in vfio_iommu_resv_conflict()
2063 struct list_head *resv_regions) in vfio_iommu_resv_exclude() argument
2068 list_for_each_entry(resv, resv_regions, list) { in vfio_iommu_resv_exclude()
2110 static void vfio_iommu_resv_free(struct list_head *resv_regions) in vfio_iommu_resv_free() argument
2114 list_for_each_entry_safe(n, next, resv_regions, list) { in vfio_iommu_resv_free()
2438 LIST_HEAD(resv_regions); in vfio_iommu_resv_refresh()
2447 &resv_regions); in vfio_iommu_resv_refresh()
2466 ret = vfio_iommu_resv_exclude(iova_copy, &resv_regions); in vfio_iommu_resv_refresh()
2468 vfio_iommu_resv_free(&resv_regions); in vfio_iommu_resv_refresh()
/linux-6.15/drivers/iommu/iommufd/
H A Dio_pagetable.c1430 LIST_HEAD(resv_regions); in iopt_table_enforce_dev_resv_regions()
1440 iommu_get_resv_regions(dev, &resv_regions); in iopt_table_enforce_dev_resv_regions()
1442 list_for_each_entry(resv, &resv_regions, list) { in iopt_table_enforce_dev_resv_regions()
1471 iommu_put_resv_regions(dev, &resv_regions); in iopt_table_enforce_dev_resv_regions()