Home
last modified time | relevance | path

Searched refs:kvm (Results 1 – 14 of 14) sorted by relevance

/drivers/s390/crypto/
Dvfio_ap_ops.c55 static inline void get_update_locks_for_kvm(struct kvm *kvm) in get_update_locks_for_kvm() argument
58 if (kvm) in get_update_locks_for_kvm()
59 mutex_lock(&kvm->lock); in get_update_locks_for_kvm()
76 static inline void release_update_locks_for_kvm(struct kvm *kvm) in release_update_locks_for_kvm() argument
79 if (kvm) in release_update_locks_for_kvm()
80 mutex_unlock(&kvm->lock); in release_update_locks_for_kvm()
103 if (matrix_mdev && matrix_mdev->kvm) in get_update_locks_for_mdev()
104 mutex_lock(&matrix_mdev->kvm->lock); in get_update_locks_for_mdev()
126 if (matrix_mdev && matrix_mdev->kvm) in release_update_locks_for_mdev()
127 mutex_unlock(&matrix_mdev->kvm->lock); in release_update_locks_for_mdev()
[all …]
Dvfio_ap_private.h118 struct kvm *kvm; member
/drivers/vfio/
Dvfio.h26 struct kvm *kvm; member
91 struct kvm *kvm; member
111 void vfio_group_set_kvm(struct vfio_group *group, struct kvm *kvm);
174 static inline void vfio_group_set_kvm(struct vfio_group *group, struct kvm *kvm) in vfio_group_set_kvm() argument
438 void vfio_device_get_kvm_safe(struct vfio_device *device, struct kvm *kvm);
442 struct kvm *kvm) in vfio_device_get_kvm_safe() argument
Dvfio_main.c387 void vfio_device_get_kvm_safe(struct vfio_device *device, struct kvm *kvm) in vfio_device_get_kvm_safe() argument
389 void (*pfn)(struct kvm *kvm); in vfio_device_get_kvm_safe()
390 bool (*fn)(struct kvm *kvm); in vfio_device_get_kvm_safe()
395 if (!kvm) in vfio_device_get_kvm_safe()
408 ret = fn(kvm); in vfio_device_get_kvm_safe()
416 device->kvm = kvm; in vfio_device_get_kvm_safe()
423 if (!device->kvm) in vfio_device_put_kvm()
429 device->put_kvm(device->kvm); in vfio_device_put_kvm()
434 device->kvm = NULL; in vfio_device_put_kvm()
1359 static void vfio_device_file_set_kvm(struct file *file, struct kvm *kvm) in vfio_device_file_set_kvm() argument
[all …]
Dgroup.c163 vfio_device_get_kvm_safe(device, device->group->kvm); in vfio_device_group_get_kvm_safe()
887 void vfio_group_set_kvm(struct vfio_group *group, struct kvm *kvm) in vfio_group_set_kvm() argument
890 group->kvm = kvm; in vfio_group_set_kvm()
Ddevice_cdev.c52 vfio_device_get_kvm_safe(df->device, df->kvm); in vfio_df_get_kvm_safe()
/drivers/iommu/arm/arm-smmu-v3/pkvm/
DKbuild1 subdir-ccflags-y += -I$(srctree)/arch/arm64/kvm/hyp/include/
4 include $(srctree)/arch/arm64/kvm/hyp/nvhe/Makefile.module
/drivers/vfio/pci/
Dvfio_pci_zdev.c151 if (!vdev->vdev.kvm) in vfio_pci_zdev_open_device()
155 return zpci_kvm_hook.kvm_register(zdev, vdev->vdev.kvm); in vfio_pci_zdev_open_device()
164 if (!zdev || !vdev->vdev.kvm) in vfio_pci_zdev_close_device()
/drivers/iommu/arm/arm-smmu-v3/
DMakefile8 ccflags-$(CONFIG_ARM_SMMU_V3_PKVM) += -Iarch/arm64/kvm/
9 arm_smmu_v3_kvm-objs-y += arm-smmu-v3-kvm.o
/drivers/misc/pkvm-smc/pkvm/
DMakefile2 include $(srctree)/arch/arm64/kvm/hyp/nvhe/Makefile.module
/drivers/tty/serial/pkvm-pl011/hyp/
DMakefile2 include $(srctree)/arch/arm64/kvm/hyp/nvhe/Makefile.module
/drivers/virt/geniezone/
DKconfig8 hypervisor. It exports kvm-like interfaces for VMM (e.g., crosvm) in
/drivers/gpu/drm/i915/gvt/
Dkvmgt.c644 if (vgpu->vfio_device.kvm == itr->vfio_device.kvm) { in __kvmgt_vgpu_exist()
664 ret = kvm_page_track_register_notifier(vgpu->vfio_device.kvm, in intel_vgpu_open_device()
702 kvm_page_track_unregister_notifier(vgpu->vfio_device.kvm, in intel_vgpu_close_device()
1555 r = kvm_write_track_add_gfn(info->vfio_device.kvm, gfn); in intel_gvt_page_track_add()
1573 r = kvm_write_track_remove_gfn(info->vfio_device.kvm, gfn); in intel_gvt_page_track_remove()
/drivers/ptp/
DKconfig128 This driver adds support for using kvm infrastructure as a PTP