Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/arm64/kvm/vgic/
Dvgic-kvm-device.c155 static int vgic_set_common_attr(struct kvm_device *dev, in vgic_set_common_attr()
218 static int vgic_get_common_attr(struct kvm_device *dev, in vgic_get_common_attr()
252 static int vgic_create(struct kvm_device *dev, u32 type) in vgic_create()
257 static void vgic_destroy(struct kvm_device *dev) in vgic_destroy()
284 int vgic_v2_parse_attr(struct kvm_device *dev, struct kvm_device_attr *attr, in vgic_v2_parse_attr()
347 static int vgic_v2_attr_regs_access(struct kvm_device *dev, in vgic_v2_attr_regs_access()
392 static int vgic_v2_set_attr(struct kvm_device *dev, in vgic_v2_set_attr()
417 static int vgic_v2_get_attr(struct kvm_device *dev, in vgic_v2_get_attr()
442 static int vgic_v2_has_attr(struct kvm_device *dev, in vgic_v2_has_attr()
476 int vgic_v3_parse_attr(struct kvm_device *dev, struct kvm_device_attr *attr, in vgic_v3_parse_attr()
[all …]
Dvgic.h155 int vgic_v3_parse_attr(struct kvm_device *dev, struct kvm_device_attr *attr,
157 int vgic_v2_parse_attr(struct kvm_device *dev, struct kvm_device_attr *attr,
181 int vgic_v2_has_attr_regs(struct kvm_device *dev, struct kvm_device_attr *attr);
235 int vgic_v3_has_attr_regs(struct kvm_device *dev, struct kvm_device_attr *attr);
Dvgic-its.c1884 static int vgic_its_create(struct kvm_device *dev, u32 type) in vgic_its_create()
1929 static void vgic_its_destroy(struct kvm_device *kvm_dev) in vgic_its_destroy()
1944 static int vgic_its_has_attr_regs(struct kvm_device *dev, in vgic_its_has_attr_regs()
1965 static int vgic_its_attr_regs_access(struct kvm_device *dev, in vgic_its_attr_regs_access()
2632 static int vgic_its_has_attr(struct kvm_device *dev, in vgic_its_has_attr()
2695 static int vgic_its_set_attr(struct kvm_device *dev, in vgic_its_set_attr()
2735 static int vgic_its_get_attr(struct kvm_device *dev, in vgic_its_get_attr()
Dvgic-mmio-v2.c486 int vgic_v2_has_attr_regs(struct kvm_device *dev, struct kvm_device_attr *attr) in vgic_v2_has_attr_regs()
Dvgic-mmio-v3.c870 int vgic_v3_has_attr_regs(struct kvm_device *dev, struct kvm_device_attr *attr) in vgic_v3_has_attr_regs()
/kernel/linux/linux-5.10/virt/kvm/
Dvfio.c157 static void kvm_vfio_update_coherency(struct kvm_device *dev) in kvm_vfio_update_coherency()
184 static int kvm_vfio_set_group(struct kvm_device *dev, long attr, u64 arg) in kvm_vfio_set_group()
332 static int kvm_vfio_set_attr(struct kvm_device *dev, in kvm_vfio_set_attr()
343 static int kvm_vfio_has_attr(struct kvm_device *dev, in kvm_vfio_has_attr()
363 static void kvm_vfio_destroy(struct kvm_device *dev) in kvm_vfio_destroy()
385 static int kvm_vfio_create(struct kvm_device *dev, u32 type);
395 static int kvm_vfio_create(struct kvm_device *dev, u32 type) in kvm_vfio_create()
397 struct kvm_device *tmp; in kvm_vfio_create()
Dkvm_main.c849 struct kvm_device *dev, *tmp; in kvm_destroy_devices()
3485 struct kvm_device *dev = filp->private_data; in kvm_device_mmap()
3493 static int kvm_device_ioctl_attr(struct kvm_device *dev, in kvm_device_ioctl_attr()
3494 int (*accessor)(struct kvm_device *dev, in kvm_device_ioctl_attr()
3512 struct kvm_device *dev = filp->private_data; in kvm_device_ioctl()
3534 struct kvm_device *dev = filp->private_data; in kvm_device_release()
3555 struct kvm_device *kvm_device_from_filp(struct file *filp) in kvm_device_from_filp()
3592 struct kvm_device *dev; in kvm_ioctl_create_device()
/kernel/linux/linux-5.10/include/linux/
Dkvm_host.h1323 struct kvm_device { struct
1339 int (*create)(struct kvm_device *dev, u32 type); argument
1345 void (*init)(struct kvm_device *dev);
1355 void (*destroy)(struct kvm_device *dev);
1364 void (*release)(struct kvm_device *dev);
1366 int (*set_attr)(struct kvm_device *dev, struct kvm_device_attr *attr);
1367 int (*get_attr)(struct kvm_device *dev, struct kvm_device_attr *attr);
1368 int (*has_attr)(struct kvm_device *dev, struct kvm_device_attr *attr);
1369 long (*ioctl)(struct kvm_device *dev, unsigned int ioctl,
1371 int (*mmap)(struct kvm_device *dev, struct vm_area_struct *vma);
[all …]
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_xive_native.c127 int kvmppc_xive_native_connect_vcpu(struct kvm_device *dev, in kvmppc_xive_native_connect_vcpu()
229 struct kvm_device *dev = vma->vm_file->private_data; in xive_native_esb_fault()
307 static int kvmppc_xive_native_mmap(struct kvm_device *dev, in kvmppc_xive_native_mmap()
939 static int kvmppc_xive_native_set_attr(struct kvm_device *dev, in kvmppc_xive_native_set_attr()
971 static int kvmppc_xive_native_get_attr(struct kvm_device *dev, in kvmppc_xive_native_get_attr()
984 static int kvmppc_xive_native_has_attr(struct kvm_device *dev, in kvmppc_xive_native_has_attr()
1012 static void kvmppc_xive_native_release(struct kvm_device *dev) in kvmppc_xive_native_release()
1089 static int kvmppc_xive_native_create(struct kvm_device *dev, u32 type) in kvmppc_xive_native_create()
1256 static void kvmppc_xive_native_init(struct kvm_device *dev) in kvmppc_xive_native_init()
Dbook3s_xics.c1303 static int xics_set_attr(struct kvm_device *dev, struct kvm_device_attr *attr) in xics_set_attr()
1314 static int xics_get_attr(struct kvm_device *dev, struct kvm_device_attr *attr) in xics_get_attr()
1325 static int xics_has_attr(struct kvm_device *dev, struct kvm_device_attr *attr) in xics_has_attr()
1340 static void kvmppc_xics_release(struct kvm_device *dev) in kvmppc_xics_release()
1409 static int kvmppc_xics_create(struct kvm_device *dev, u32 type) in kvmppc_xics_create()
1441 static void kvmppc_xics_init(struct kvm_device *dev) in kvmppc_xics_init()
1458 int kvmppc_xics_connect_vcpu(struct kvm_device *dev, struct kvm_vcpu *vcpu, in kvmppc_xics_connect_vcpu()
Dbook3s_xics.h105 struct kvm_device *dev;
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_xive.c1250 int kvmppc_xive_connect_vcpu(struct kvm_device *dev, in kvmppc_xive_connect_vcpu()
1903 static int xive_set_attr(struct kvm_device *dev, struct kvm_device_attr *attr) in xive_set_attr()
1920 static int xive_get_attr(struct kvm_device *dev, struct kvm_device_attr *attr) in xive_get_attr()
1932 static int xive_has_attr(struct kvm_device *dev, struct kvm_device_attr *attr) in xive_has_attr()
1981 static void kvmppc_xive_release(struct kvm_device *dev) in kvmppc_xive_release()
2076 static int kvmppc_xive_create(struct kvm_device *dev, u32 type) in kvmppc_xive_create()
2231 static void kvmppc_xive_init(struct kvm_device *dev) in kvmppc_xive_init()
Dbook3s_xive.h102 struct kvm_device *dev;
Dpowerpc.c1909 struct kvm_device *dev; in kvm_vcpu_ioctl_enable_cap()
1928 struct kvm_device *dev; in kvm_vcpu_ioctl_enable_cap()
1951 struct kvm_device *dev; in kvm_vcpu_ioctl_enable_cap()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dkvm_ppc.h610 extern int kvmppc_xics_connect_vcpu(struct kvm_device *dev,
660 extern int kvmppc_xive_connect_vcpu(struct kvm_device *dev,
679 extern int kvmppc_xive_native_connect_vcpu(struct kvm_device *dev,
700 static inline int kvmppc_xive_connect_vcpu(struct kvm_device *dev, in kvmppc_xive_connect_vcpu()
716 static inline int kvmppc_xive_native_connect_vcpu(struct kvm_device *dev, in kvmppc_xive_native_connect_vcpu()
839 int kvmppc_mpic_connect_vcpu(struct kvm_device *dev, struct kvm_vcpu *vcpu,
849 static inline int kvmppc_mpic_connect_vcpu(struct kvm_device *dev, in kvmppc_mpic_connect_vcpu()
/kernel/linux/linux-5.10/include/kvm/
Darm_vgic.h172 struct kvm_device *dev;
/kernel/linux/linux-5.10/arch/s390/kvm/
Dinterrupt.c2352 static int flic_get_attr(struct kvm_device *dev, struct kvm_device_attr *attr) in flic_get_attr()
2411 static int enqueue_floating_irq(struct kvm_device *dev, in enqueue_floating_irq()
2453 static int register_io_adapter(struct kvm_device *dev, in register_io_adapter()
2508 static int modify_io_adapter(struct kvm_device *dev, in modify_io_adapter()
2666 static int flic_set_attr(struct kvm_device *dev, struct kvm_device_attr *attr) in flic_set_attr()
2718 static int flic_has_attr(struct kvm_device *dev, in flic_has_attr()
2738 static int flic_create(struct kvm_device *dev, u32 type) in flic_create()
2748 static void flic_destroy(struct kvm_device *dev) in flic_destroy()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dkvm_host.h933 struct kvm_device *flic;