Searched refs:resv_regions (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/iommu/ |
| H A D | virtio-iommu.c | 80 struct list_head resv_regions; member 456 list_add(®ion->list, &vdev->resv_regions); in viommu_add_resv_mem() 825 list_for_each_entry(entry, &vdev->resv_regions, list) { in viommu_get_resv_regions() 888 INIT_LIST_HEAD(&vdev->resv_regions); in viommu_probe_device() 901 generic_iommu_put_resv_regions(dev, &vdev->resv_regions); in viommu_probe_device() 917 generic_iommu_put_resv_regions(dev, &vdev->resv_regions); in viommu_release_device()
|
| H A D | dma-iommu.c | 252 LIST_HEAD(resv_regions); in iova_reserve_iommu_regions() 261 iommu_get_resv_regions(dev, &resv_regions); in iova_reserve_iommu_regions() 262 list_for_each_entry(region, &resv_regions, list) { in iova_reserve_iommu_regions() 279 iommu_put_resv_regions(dev, &resv_regions); in iova_reserve_iommu_regions()
|
| /OK3568_Linux_fs/kernel/drivers/vfio/ |
| H A D | vfio_iommu_type1.c | 1973 struct list_head *resv_regions) in vfio_iommu_resv_conflict() argument 1978 list_for_each_entry(region, resv_regions, list) { in vfio_iommu_resv_conflict() 1994 struct list_head *resv_regions) in vfio_iommu_resv_exclude() argument 1999 list_for_each_entry(resv, resv_regions, list) { in vfio_iommu_resv_exclude() 2041 static void vfio_iommu_resv_free(struct list_head *resv_regions) in vfio_iommu_resv_free() argument 2045 list_for_each_entry_safe(n, next, resv_regions, list) { in vfio_iommu_resv_free() 2381 LIST_HEAD(resv_regions); in vfio_iommu_resv_refresh() 2390 &resv_regions); in vfio_iommu_resv_refresh() 2409 ret = vfio_iommu_resv_exclude(iova_copy, &resv_regions); in vfio_iommu_resv_refresh() 2411 vfio_iommu_resv_free(&resv_regions); in vfio_iommu_resv_refresh()
|