Searched refs:group_resv_regions (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/vfio/ |
| H A D | vfio_iommu_type1.c | 1746 static bool vfio_iommu_has_sw_msi(struct list_head *group_resv_regions, in vfio_iommu_has_sw_msi() argument 1752 list_for_each_entry(region, group_resv_regions, list) { in vfio_iommu_has_sw_msi() 2103 LIST_HEAD(group_resv_regions); in vfio_iommu_type1_attach_group() 2192 ret = iommu_get_group_resv_regions(iommu_group, &group_resv_regions); in vfio_iommu_type1_attach_group() 2196 if (vfio_iommu_resv_conflict(iommu, &group_resv_regions)) { in vfio_iommu_type1_attach_group() 2215 ret = vfio_iommu_resv_exclude(&iova_copy, &group_resv_regions); in vfio_iommu_type1_attach_group() 2219 resv_msi = vfio_iommu_has_sw_msi(&group_resv_regions, &resv_msi_base); in vfio_iommu_type1_attach_group() 2287 vfio_iommu_resv_free(&group_resv_regions); in vfio_iommu_type1_attach_group() 2296 vfio_iommu_resv_free(&group_resv_regions); in vfio_iommu_type1_attach_group()
|
| /OK3568_Linux_fs/kernel/drivers/iommu/ |
| H A D | iommu.c | 451 struct list_head *group_resv_regions) in iommu_insert_device_resv_regions() argument 457 ret = iommu_insert_resv_region(entry, group_resv_regions); in iommu_insert_device_resv_regions() 490 struct list_head group_resv_regions; in iommu_group_show_resv_regions() local 493 INIT_LIST_HEAD(&group_resv_regions); in iommu_group_show_resv_regions() 494 iommu_get_group_resv_regions(group, &group_resv_regions); in iommu_group_show_resv_regions() 496 list_for_each_entry_safe(region, next, &group_resv_regions, list) { in iommu_group_show_resv_regions()
|