/linux-master/drivers/vfio/ |
H A D | group.c | 123 if (!group->iommu_group) { 361 if (!group->iommu_group) { 376 else if (!iommu_group_dma_owner_claimed(group->iommu_group)) 509 vfio_group_find_from_iommu(struct iommu_group *iommu_group) argument 516 * group->iommu_group from the vfio.group_list cannot be NULL 520 if (group->iommu_group == iommu_group) 532 WARN_ON(group->iommu_group); 538 static struct vfio_group *vfio_group_alloc(struct iommu_group *iommu_grou argument 575 vfio_create_group(struct iommu_group *iommu_group, enum vfio_group_type type) argument 614 struct iommu_group *iommu_group; local 663 struct iommu_group *iommu_group; local 723 struct iommu_group *iommu_group; local 836 struct iommu_group *iommu_group = NULL; local [all...] |
H A D | container.c | 56 struct iommu_group *iommu_group, enum vfio_group_type type) 62 struct iommu_group *iommu_group) 243 ret = driver->ops->attach_group(data, group->iommu_group, 254 driver->ops->detach_group(data, group->iommu_group); 437 ret = iommu_group_claim_dma_owner(group->iommu_group, group); 445 group->iommu_group, 450 group->iommu_group); 481 group->iommu_group); 55 vfio_noiommu_attach_group(void *iommu_data, struct iommu_group *iommu_group, enum vfio_group_type type) argument 61 vfio_noiommu_detach_group(void *iommu_data, struct iommu_group *iommu_group) argument 536 struct iommu_group *iommu_group = device->group->iommu_group; local [all...] |
H A D | vfio.h | 16 struct iommu_group; 53 * iommu_group as the iommu_group sysfs interface is part of the 61 * iommu_group as the iommu_group sysfs interface is part of the 75 * that provided the iommu_group and thus the iommu_group is a valid 77 * reaches 0 then the iommu_group is invalid. 81 struct iommu_group *iommu_group; member in struct:vfio_group [all...] |
H A D | vfio_iommu_type1.c | 113 struct iommu_group *iommu_group; member in struct:vfio_iommu_group 158 struct iommu_group *iommu_group); 785 struct iommu_group *iommu_group, 881 group = vfio_iommu_find_iommu_group(iommu, iommu_group); 1854 struct iommu_group *iommu_group) 1859 if (g->iommu_group 784 vfio_iommu_type1_pin_pages(void *iommu_data, struct iommu_group *iommu_group, dma_addr_t user_iova, int npage, int prot, struct page **pages) argument 1853 find_iommu_group(struct vfio_domain *domain, struct iommu_group *iommu_group) argument 1867 vfio_iommu_find_iommu_group(struct vfio_iommu *iommu, struct iommu_group *iommu_group) argument 2142 vfio_iommu_type1_attach_group(void *iommu_data, struct iommu_group *iommu_group, enum vfio_group_type type) argument 2451 vfio_iommu_type1_detach_group(void *iommu_data, struct iommu_group *iommu_group) argument 3136 vfio_iommu_type1_group_iommu_domain(void *iommu_data, struct iommu_group *iommu_group) argument [all...] |
H A D | vfio_iommu_spapr_tce.c | 35 struct iommu_group *iommu_group); 46 struct iommu_group *grp; 777 static long vfio_spapr_ioctl_eeh_pe_op(struct iommu_group *group, 1232 struct iommu_group *iommu_group, enum vfio_group_type type) 1245 iommu_group_id(iommu_group), iommu_group); */ 1246 table_group = iommu_group_get_iommudata(iommu_group); 1271 if (tcegrp->grp == iommu_group) { 1231 tce_iommu_attach_group(void *iommu_data, struct iommu_group *iommu_group, enum vfio_group_type type) argument 1312 tce_iommu_detach_group(void *iommu_data, struct iommu_group *iommu_group) argument [all...] |
H A D | iommufd.c | 87 struct iommu_group *group;
|
/linux-master/drivers/iommu/ |
H A D | iommu-priv.h | 20 int iommu_group_replace_domain(struct iommu_group *group,
|
H A D | iommu.c | 47 struct iommu_group { struct 71 /* Iterate over each struct group_device in a struct iommu_group */ 77 ssize_t (*show)(struct iommu_group *group, char *buf); 78 ssize_t (*store)(struct iommu_group *group, 97 __iommu_group_domain_alloc(struct iommu_group *group, unsigned int type); 101 struct iommu_group *group); 107 static int __iommu_device_set_domain(struct iommu_group *group, 111 static int __iommu_group_set_domain_internal(struct iommu_group *group, 114 static int __iommu_group_set_domain(struct iommu_group *group, 119 static void __iommu_group_set_domain_nofail(struct iommu_group *grou [all...] |
H A D | fsl_pamu_domain.c | 383 static struct iommu_group *fsl_pamu_device_group(struct device *dev) 385 struct iommu_group *group;
|
H A D | apple-dart.c | 221 struct iommu_group *sid2group[DART_MAX_STREAMS]; 867 static struct iommu_group *apple_dart_device_group(struct device *dev) 873 struct iommu_group *group = NULL; 874 struct iommu_group *res = ERR_PTR(-EINVAL); 880 struct iommu_group *stream_group =
|
/linux-master/include/linux/ |
H A D | iommu.h | 35 struct iommu_group; 565 struct iommu_group *(*device_group)(struct device *dev); 675 struct iommu_group *singleton_group; 718 * struct iommu_group *iommu_group; 778 extern bool iommu_group_has_isolated_msi(struct iommu_group *group); 811 extern int iommu_get_group_resv_regions(struct iommu_group *group, 815 struct iommu_group *group); 817 struct iommu_group *group); 818 extern struct iommu_group *iommu_group_allo 1063 struct iommu_group {}; struct [all...] |
H A D | iommufd.h | 19 struct iommu_group; 61 bool iommufd_ctx_has_group(struct iommufd_ctx *ictx, struct iommu_group *group);
|
H A D | host1x.h | 27 struct iommu_group; 96 struct iommu_group *group;
|
H A D | device.h | 45 struct iommu_group; 669 * @iommu_group: IOMMU group the device belongs to. 786 struct iommu_group *iommu_group; member in struct:device 845 return (dev->iommu_group != NULL);
|
H A D | vfio.h | 299 struct iommu_group *vfio_file_iommu_group(struct file *file);
|
/linux-master/virt/kvm/ |
H A D | vfio.c | 28 struct iommu_group *iommu_group; member in struct:kvm_vfio_file 84 static struct iommu_group *kvm_vfio_file_iommu_group(struct file *file) 86 struct iommu_group *(*fn)(struct file *file); 87 struct iommu_group *ret; 103 if (WARN_ON_ONCE(!kvf->iommu_group)) 106 kvm_spapr_tce_release_iommu_group(kvm, kvf->iommu_group); 107 iommu_group_put(kvf->iommu_group); 108 kvf->iommu_group = NULL; 254 if (!kvf->iommu_group) { [all...] |
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | pseries.h | 128 struct iommu_group *pSeries_pci_device_group(struct pci_controller *hose,
|
/linux-master/drivers/media/platform/nvidia/tegra-vde/ |
H A D | vde.h | 46 struct iommu_group; 115 struct iommu_group *group;
|
/linux-master/drivers/iommu/iommufd/ |
H A D | iommufd_private.h | 16 struct iommu_group; 379 struct iommu_group *group;
|
H A D | device.c | 40 struct iommu_group *group) 54 * iommufd needs to store some more data for each iommu_group, we keep a 55 * parallel xarray indexed by iommu_group id to hold this instead of putting it 66 struct iommu_group *group; 241 * @group: Pointer to a physical iommu_group struct 246 bool iommufd_ctx_has_group(struct iommufd_ctx *ictx, struct iommu_group *group)
|
/linux-master/arch/powerpc/include/asm/ |
H A D | pci-bridge.h | 49 struct iommu_group *(*device_group)(struct pci_controller *hose,
|
H A D | iommu.h | 200 struct iommu_group *group;
|
H A D | eeh.h | 304 struct eeh_pe *eeh_iommu_group_to_pe(struct iommu_group *group);
|
/linux-master/arch/powerpc/kernel/ |
H A D | iommu.c | 1003 struct iommu_group *grp; 1170 iommu_group_id(dev->iommu_group)); 1289 struct iommu_group *grp; 1320 struct iommu_group *grp = iommu_group_get(dev); 1374 static struct iommu_group *spapr_tce_iommu_device_group(struct device *dev)
|
/linux-master/drivers/gpu/host1x/ |
H A D | dev.h | 142 struct iommu_group *group;
|