Home
last modified time | relevance | path

Searched refs:kvm_device (Results 1 – 20 of 20) sorted by relevance

/linux-6.6.21/virt/kvm/
Dvfio.c120 static void kvm_vfio_update_coherency(struct kvm_device *dev) in kvm_vfio_update_coherency()
143 static int kvm_vfio_file_add(struct kvm_device *dev, unsigned int fd) in kvm_vfio_file_add()
189 static int kvm_vfio_file_del(struct kvm_device *dev, unsigned int fd) in kvm_vfio_file_del()
230 static int kvm_vfio_file_set_spapr_tce(struct kvm_device *dev, in kvm_vfio_file_set_spapr_tce()
274 static int kvm_vfio_set_file(struct kvm_device *dev, long attr, in kvm_vfio_set_file()
300 static int kvm_vfio_set_attr(struct kvm_device *dev, in kvm_vfio_set_attr()
312 static int kvm_vfio_has_attr(struct kvm_device *dev, in kvm_vfio_has_attr()
332 static void kvm_vfio_release(struct kvm_device *dev) in kvm_vfio_release()
354 static int kvm_vfio_create(struct kvm_device *dev, u32 type);
364 static int kvm_vfio_create(struct kvm_device *dev, u32 type) in kvm_vfio_create()
[all …]
Dkvm_main.c1288 struct kvm_device *dev, *tmp; in kvm_destroy_devices()
4371 struct kvm_device *dev = filp->private_data; in kvm_device_mmap()
4379 static int kvm_device_ioctl_attr(struct kvm_device *dev, in kvm_device_ioctl_attr()
4380 int (*accessor)(struct kvm_device *dev, in kvm_device_ioctl_attr()
4398 struct kvm_device *dev = filp->private_data; in kvm_device_ioctl()
4420 struct kvm_device *dev = filp->private_data; in kvm_device_release()
4441 struct kvm_device *kvm_device_from_filp(struct file *filp) in kvm_device_from_filp()
4478 struct kvm_device *dev; in kvm_ioctl_create_device()
/linux-6.6.21/arch/arm64/kvm/vgic/
Dvgic-kvm-device.c208 static int vgic_set_common_attr(struct kvm_device *dev, in vgic_set_common_attr()
284 static int vgic_get_common_attr(struct kvm_device *dev, in vgic_get_common_attr()
305 static int vgic_create(struct kvm_device *dev, u32 type) in vgic_create()
310 static void vgic_destroy(struct kvm_device *dev) in vgic_destroy()
337 int vgic_v2_parse_attr(struct kvm_device *dev, struct kvm_device_attr *attr, in vgic_v2_parse_attr()
361 static int vgic_v2_attr_regs_access(struct kvm_device *dev, in vgic_v2_attr_regs_access()
419 static int vgic_v2_set_attr(struct kvm_device *dev, in vgic_v2_set_attr()
431 static int vgic_v2_get_attr(struct kvm_device *dev, in vgic_v2_get_attr()
443 static int vgic_v2_has_attr(struct kvm_device *dev, in vgic_v2_has_attr()
477 int vgic_v3_parse_attr(struct kvm_device *dev, struct kvm_device_attr *attr, in vgic_v3_parse_attr()
[all …]
Dvgic.h174 int vgic_v3_parse_attr(struct kvm_device *dev, struct kvm_device_attr *attr,
176 int vgic_v2_parse_attr(struct kvm_device *dev, struct kvm_device_attr *attr,
202 int vgic_v2_has_attr_regs(struct kvm_device *dev, struct kvm_device_attr *attr);
256 int vgic_v3_has_attr_regs(struct kvm_device *dev, struct kvm_device_attr *attr);
Dvgic-its.c1947 static int vgic_its_create(struct kvm_device *dev, u32 type) in vgic_its_create()
2008 static void vgic_its_destroy(struct kvm_device *kvm_dev) in vgic_its_destroy()
2023 static int vgic_its_has_attr_regs(struct kvm_device *dev, in vgic_its_has_attr_regs()
2044 static int vgic_its_attr_regs_access(struct kvm_device *dev, in vgic_its_attr_regs_access()
2744 static int vgic_its_has_attr(struct kvm_device *dev, in vgic_its_has_attr()
2826 static int vgic_its_set_attr(struct kvm_device *dev, in vgic_its_set_attr()
2866 static int vgic_its_get_attr(struct kvm_device *dev, in vgic_its_get_attr()
Dvgic-mmio-v2.c497 int vgic_v2_has_attr_regs(struct kvm_device *dev, struct kvm_device_attr *attr) in vgic_v2_has_attr_regs()
Dvgic-mmio-v3.c979 int vgic_v3_has_attr_regs(struct kvm_device *dev, struct kvm_device_attr *attr) in vgic_v3_has_attr_regs()
/linux-6.6.21/arch/powerpc/kvm/
Dbook3s_xive_native.c123 int kvmppc_xive_native_connect_vcpu(struct kvm_device *dev, in kvmppc_xive_native_connect_vcpu()
231 struct kvm_device *dev = vma->vm_file->private_data; in xive_native_esb_fault()
309 static int kvmppc_xive_native_mmap(struct kvm_device *dev, in kvmppc_xive_native_mmap()
941 static int kvmppc_xive_native_set_attr(struct kvm_device *dev, in kvmppc_xive_native_set_attr()
973 static int kvmppc_xive_native_get_attr(struct kvm_device *dev, in kvmppc_xive_native_get_attr()
986 static int kvmppc_xive_native_has_attr(struct kvm_device *dev, in kvmppc_xive_native_has_attr()
1014 static void kvmppc_xive_native_release(struct kvm_device *dev) in kvmppc_xive_native_release()
1091 static int kvmppc_xive_native_create(struct kvm_device *dev, u32 type) in kvmppc_xive_native_create()
1267 static void kvmppc_xive_native_init(struct kvm_device *dev) in kvmppc_xive_native_init()
Dbook3s_xics.c1294 static int xics_set_attr(struct kvm_device *dev, struct kvm_device_attr *attr) in xics_set_attr()
1305 static int xics_get_attr(struct kvm_device *dev, struct kvm_device_attr *attr) in xics_get_attr()
1316 static int xics_has_attr(struct kvm_device *dev, struct kvm_device_attr *attr) in xics_has_attr()
1331 static void kvmppc_xics_release(struct kvm_device *dev) in kvmppc_xics_release()
1400 static int kvmppc_xics_create(struct kvm_device *dev, u32 type) in kvmppc_xics_create()
1432 static void kvmppc_xics_init(struct kvm_device *dev) in kvmppc_xics_init()
1449 int kvmppc_xics_connect_vcpu(struct kvm_device *dev, struct kvm_vcpu *vcpu, in kvmppc_xics_connect_vcpu()
Dmpic.c192 struct kvm_device *dev;
1517 static int mpic_set_attr(struct kvm_device *dev, struct kvm_device_attr *attr) in mpic_set_attr()
1556 static int mpic_get_attr(struct kvm_device *dev, struct kvm_device_attr *attr) in mpic_get_attr()
1607 static int mpic_has_attr(struct kvm_device *dev, struct kvm_device_attr *attr) in mpic_has_attr()
1631 static void mpic_destroy(struct kvm_device *dev) in mpic_destroy()
1655 static int mpic_create(struct kvm_device *dev, u32 type) in mpic_create()
1732 int kvmppc_mpic_connect_vcpu(struct kvm_device *dev, struct kvm_vcpu *vcpu, in kvmppc_mpic_connect_vcpu()
Dbook3s_xics.h105 struct kvm_device *dev;
Dbook3s_xive.c1903 int kvmppc_xive_connect_vcpu(struct kvm_device *dev, in kvmppc_xive_connect_vcpu()
2563 static int xive_set_attr(struct kvm_device *dev, struct kvm_device_attr *attr) in xive_set_attr()
2580 static int xive_get_attr(struct kvm_device *dev, struct kvm_device_attr *attr) in xive_get_attr()
2592 static int xive_has_attr(struct kvm_device *dev, struct kvm_device_attr *attr) in xive_has_attr()
2641 static void kvmppc_xive_release(struct kvm_device *dev) in kvmppc_xive_release()
2736 static int kvmppc_xive_create(struct kvm_device *dev, u32 type) in kvmppc_xive_create()
2966 static void kvmppc_xive_init(struct kvm_device *dev) in kvmppc_xive_init()
Dbook3s_xive.h105 struct kvm_device *dev;
Dpowerpc.c1943 struct kvm_device *dev; in kvm_vcpu_ioctl_enable_cap()
1962 struct kvm_device *dev; in kvm_vcpu_ioctl_enable_cap()
1985 struct kvm_device *dev; in kvm_vcpu_ioctl_enable_cap()
/linux-6.6.21/arch/riscv/kvm/
Daia_device.c45 static int aia_create(struct kvm_device *dev, u32 type) in aia_create()
72 static void aia_destroy(struct kvm_device *dev) in aia_destroy()
325 static int aia_set_attr(struct kvm_device *dev, struct kvm_device_attr *attr) in aia_set_attr()
392 static int aia_get_attr(struct kvm_device *dev, struct kvm_device_attr *attr) in aia_get_attr()
467 static int aia_has_attr(struct kvm_device *dev, struct kvm_device_attr *attr) in aia_has_attr()
/linux-6.6.21/arch/powerpc/include/asm/
Dkvm_ppc.h643 extern int kvmppc_xics_connect_vcpu(struct kvm_device *dev,
693 extern int kvmppc_xive_connect_vcpu(struct kvm_device *dev,
714 extern int kvmppc_xive_native_connect_vcpu(struct kvm_device *dev,
731 static inline int kvmppc_xive_connect_vcpu(struct kvm_device *dev, in kvmppc_xive_connect_vcpu()
749 static inline int kvmppc_xive_native_connect_vcpu(struct kvm_device *dev, in kvmppc_xive_native_connect_vcpu()
863 int kvmppc_mpic_connect_vcpu(struct kvm_device *dev, struct kvm_vcpu *vcpu,
873 static inline int kvmppc_mpic_connect_vcpu(struct kvm_device *dev, in kvmppc_mpic_connect_vcpu()
/linux-6.6.21/include/linux/
Dkvm_host.h2133 struct kvm_device { struct
2149 int (*create)(struct kvm_device *dev, u32 type); argument
2155 void (*init)(struct kvm_device *dev);
2165 void (*destroy)(struct kvm_device *dev);
2174 void (*release)(struct kvm_device *dev);
2176 int (*set_attr)(struct kvm_device *dev, struct kvm_device_attr *attr);
2177 int (*get_attr)(struct kvm_device *dev, struct kvm_device_attr *attr);
2178 int (*has_attr)(struct kvm_device *dev, struct kvm_device_attr *attr);
2179 long (*ioctl)(struct kvm_device *dev, unsigned int ioctl,
2181 int (*mmap)(struct kvm_device *dev, struct vm_area_struct *vma);
[all …]
/linux-6.6.21/include/kvm/
Darm_vgic.h193 struct kvm_device *dev;
/linux-6.6.21/arch/s390/kvm/
Dinterrupt.c2362 static int flic_get_attr(struct kvm_device *dev, struct kvm_device_attr *attr) in flic_get_attr()
2421 static int enqueue_floating_irq(struct kvm_device *dev, in enqueue_floating_irq()
2463 static int register_io_adapter(struct kvm_device *dev, in register_io_adapter()
2518 static int modify_io_adapter(struct kvm_device *dev, in modify_io_adapter()
2676 static int flic_set_attr(struct kvm_device *dev, struct kvm_device_attr *attr) in flic_set_attr()
2728 static int flic_has_attr(struct kvm_device *dev, in flic_has_attr()
2748 static int flic_create(struct kvm_device *dev, u32 type) in flic_create()
2758 static void flic_destroy(struct kvm_device *dev) in flic_destroy()
/linux-6.6.21/arch/s390/include/asm/
Dkvm_host.h958 struct kvm_device *flic;