Searched refs:iommu_type (Results 1 – 3 of 3) sorted by relevance
42 switch (container->iommu_type) { in vfio_ram_block_discard_disable()153 container->iommu_type == VFIO_TYPE1v2_IOMMU) { in vfio_dma_unmap()364 int iommu_type, ret; in vfio_init_container() local366 iommu_type = vfio_get_iommu_type(container, errp); in vfio_init_container()367 if (iommu_type < 0) { in vfio_init_container()368 return iommu_type; in vfio_init_container()378 if (iommu_type == VFIO_SPAPR_TCE_v2_IOMMU) { in vfio_init_container()385 iommu_type = VFIO_SPAPR_TCE_IOMMU; in vfio_init_container()392 container->iommu_type = iommu_type; in vfio_init_container()567 switch (container->iommu_type) { in vfio_connect_container()[all …]
329 if (container->iommu_type == VFIO_SPAPR_TCE_IOMMU) { in vfio_container_add_section_window()344 if (container->iommu_type != VFIO_SPAPR_TCE_v2_IOMMU) { in vfio_container_add_section_window()407 if (container->iommu_type != VFIO_SPAPR_TCE_v2_IOMMU) { in vfio_container_del_section_window()425 bool v2 = container->iommu_type == VFIO_SPAPR_TCE_v2_IOMMU; in vfio_spapr_container_init()499 if (container->iommu_type == VFIO_SPAPR_TCE_v2_IOMMU) { in vfio_spapr_container_deinit()
88 unsigned iommu_type; member