Home
last modified time | relevance | path

Searched refs:vfio_group (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/virt/kvm/
Dvfio.c29 struct vfio_group *vfio_group; member
38 static struct vfio_group *kvm_vfio_group_get_external_user(struct file *filep) in kvm_vfio_group_get_external_user()
40 struct vfio_group *vfio_group; in kvm_vfio_group_get_external_user() local
41 struct vfio_group *(*fn)(struct file *); in kvm_vfio_group_get_external_user()
47 vfio_group = fn(filep); in kvm_vfio_group_get_external_user()
51 return vfio_group; in kvm_vfio_group_get_external_user()
54 static bool kvm_vfio_external_group_match_file(struct vfio_group *group, in kvm_vfio_external_group_match_file()
57 bool ret, (*fn)(struct vfio_group *, struct file *); in kvm_vfio_external_group_match_file()
70 static void kvm_vfio_group_put_external_user(struct vfio_group *vfio_group) in kvm_vfio_group_put_external_user() argument
72 void (*fn)(struct vfio_group *); in kvm_vfio_group_put_external_user()
[all …]
/Linux-v4.19/drivers/vfio/
Dvfio.c73 struct vfio_group { struct
98 struct vfio_group *group; argument
273 static int vfio_alloc_group_minor(struct vfio_group *group) in vfio_alloc_group_minor()
285 static void vfio_group_get(struct vfio_group *group);
311 static void vfio_group_unlock_and_free(struct vfio_group *group) in vfio_group_unlock_and_free()
325 static struct vfio_group *vfio_create_group(struct iommu_group *iommu_group) in vfio_create_group()
327 struct vfio_group *group, *tmp; in vfio_create_group()
404 struct vfio_group *group = container_of(kref, struct vfio_group, kref); in vfio_group_release()
424 static void vfio_group_put(struct vfio_group *group) in vfio_group_put()
431 struct vfio_group *group;
[all …]
Dvfio_iommu_type1.c91 struct vfio_group { struct
1288 static struct vfio_group *find_iommu_group(struct vfio_domain *domain, in find_iommu_group()
1291 struct vfio_group *g; in find_iommu_group()
1334 struct vfio_group *group; in vfio_iommu_type1_attach_group()
1535 struct vfio_group *group; in vfio_iommu_type1_detach_group()
1623 struct vfio_group *group, *group_tmp; in vfio_release_domain()
/Linux-v4.19/include/linux/
Dvfio.h98 extern struct vfio_group *vfio_group_get_external_user(struct file *filep);
99 extern void vfio_group_put_external_user(struct vfio_group *group);
100 extern bool vfio_external_group_match_file(struct vfio_group *group,
102 extern int vfio_external_user_iommu_id(struct vfio_group *group);
103 extern long vfio_external_check_extension(struct vfio_group *group,
134 extern void vfio_group_set_kvm(struct vfio_group *group, struct kvm *kvm);
/Linux-v4.19/drivers/vfio/pci/
Dvfio_pci.c506 struct vfio_group *group;
981 struct vfio_group *group; in vfio_pci_ioctl()
/Linux-v4.19/Documentation/s390/
Dvfio-ccw.txt173 add it to an iommu_group and a vfio_group. Then we could pass through