Home
last modified time | relevance | path

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

/linux/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.c569 LIST_HEAD(resv_regions); in iova_reserve_iommu_regions()
578 iommu_get_resv_regions(dev, &resv_regions); in iova_reserve_iommu_regions()
579 list_for_each_entry(region, &resv_regions, list) { in iova_reserve_iommu_regions()
596 iommu_put_resv_regions(dev, &resv_regions); in iova_reserve_iommu_regions()
/linux/drivers/vfio/
H A Dvfio_iommu_type1.c2011 struct list_head *resv_regions) in vfio_iommu_resv_conflict() argument
2016 list_for_each_entry(region, resv_regions, list) { in vfio_iommu_resv_conflict()
2032 struct list_head *resv_regions) in vfio_iommu_resv_exclude() argument
2037 list_for_each_entry(resv, resv_regions, list) { in vfio_iommu_resv_exclude()
2079 static void vfio_iommu_resv_free(struct list_head *resv_regions) in vfio_iommu_resv_free() argument
2083 list_for_each_entry_safe(n, next, resv_regions, list) { in vfio_iommu_resv_free()
2407 LIST_HEAD(resv_regions); in vfio_iommu_resv_refresh()
2416 &resv_regions); in vfio_iommu_resv_refresh()
2435 ret = vfio_iommu_resv_exclude(iova_copy, &resv_regions); in vfio_iommu_resv_refresh()
2437 vfio_iommu_resv_free(&resv_regions); in vfio_iommu_resv_refresh()
/linux/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()