Home
last modified time | relevance | path

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

/Linux-v6.6/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()
921 list_for_each_entry(entry, &vdev->resv_regions, list) { in viommu_get_resv_regions()
985 INIT_LIST_HEAD(&vdev->resv_regions); in viommu_probe_device()
998 iommu_put_resv_regions(dev, &vdev->resv_regions); in viommu_probe_device()
1018 iommu_put_resv_regions(dev, &vdev->resv_regions); in viommu_release_device()
Ddma-iommu.c486 LIST_HEAD(resv_regions); in iova_reserve_iommu_regions()
495 iommu_get_resv_regions(dev, &resv_regions); in iova_reserve_iommu_regions()
496 list_for_each_entry(region, &resv_regions, list) { in iova_reserve_iommu_regions()
513 iommu_put_resv_regions(dev, &resv_regions); in iova_reserve_iommu_regions()
/Linux-v6.6/drivers/vfio/
Dvfio_iommu_type1.c2026 struct list_head *resv_regions) in vfio_iommu_resv_conflict() argument
2031 list_for_each_entry(region, resv_regions, list) { in vfio_iommu_resv_conflict()
2047 struct list_head *resv_regions) in vfio_iommu_resv_exclude() argument
2052 list_for_each_entry(resv, resv_regions, list) { in vfio_iommu_resv_exclude()
2094 static void vfio_iommu_resv_free(struct list_head *resv_regions) in vfio_iommu_resv_free() argument
2098 list_for_each_entry_safe(n, next, resv_regions, list) { in vfio_iommu_resv_free()
2427 LIST_HEAD(resv_regions); in vfio_iommu_resv_refresh()
2436 &resv_regions); in vfio_iommu_resv_refresh()
2455 ret = vfio_iommu_resv_exclude(iova_copy, &resv_regions); in vfio_iommu_resv_refresh()
2457 vfio_iommu_resv_free(&resv_regions); in vfio_iommu_resv_refresh()
/Linux-v6.6/drivers/iommu/iommufd/
Dio_pagetable.c1178 LIST_HEAD(resv_regions); in iopt_table_enforce_dev_resv_regions()
1188 iommu_get_resv_regions(dev, &resv_regions); in iopt_table_enforce_dev_resv_regions()
1190 list_for_each_entry(resv, &resv_regions, list) { in iopt_table_enforce_dev_resv_regions()
1219 iommu_put_resv_regions(dev, &resv_regions); in iopt_table_enforce_dev_resv_regions()