Searched defs:kvm (Results 1 – 8 of 8) sorted by relevance
/virt/kvm/ |
D | eventfd.c | 36 kvm_arch_irqfd_allowed(struct kvm *kvm, struct kvm_irqfd *args) in kvm_arch_irqfd_allowed() 46 struct kvm *kvm = irqfd->kvm; in irqfd_inject() local 67 struct kvm *kvm; in irqfd_resampler_ack() local 90 struct kvm *kvm = resampler->kvm; in irqfd_resampler_shutdown() local 116 struct kvm *kvm = irqfd->kvm; in irqfd_shutdown() local 174 struct kvm *kvm, int irq_source_id, in kvm_arch_set_irq_inatomic() 191 struct kvm *kvm = irqfd->kvm; in irqfd_wakeup() local 248 static void irqfd_update(struct kvm *kvm, struct kvm_kernel_irqfd *irqfd) in irqfd_update() 279 struct kvm *kvm, unsigned int host_irq, in kvm_arch_update_irqfd_routing() 287 kvm_irqfd_assign(struct kvm *kvm, struct kvm_irqfd *args) in kvm_irqfd_assign() [all …]
|
D | mmu_lock.h | 14 #define KVM_MMU_LOCK_INIT(kvm) rwlock_init(&(kvm)->mmu_lock) argument 15 #define KVM_MMU_LOCK(kvm) write_lock(&(kvm)->mmu_lock) argument 16 #define KVM_MMU_UNLOCK(kvm) write_unlock(&(kvm)->mmu_lock) argument 18 #define KVM_MMU_LOCK_INIT(kvm) spin_lock_init(&(kvm)->mmu_lock) argument 19 #define KVM_MMU_LOCK(kvm) spin_lock(&(kvm)->mmu_lock) argument 20 #define KVM_MMU_UNLOCK(kvm) spin_unlock(&(kvm)->mmu_lock) argument
|
D | irqchip.c | 22 int kvm_irq_map_gsi(struct kvm *kvm, in kvm_irq_map_gsi() 41 int kvm_irq_map_chip_pin(struct kvm *kvm, unsigned irqchip, unsigned pin) in kvm_irq_map_chip_pin() 49 int kvm_send_userspace_msi(struct kvm *kvm, struct kvm_msi *msi) in kvm_send_userspace_msi() 71 int kvm_set_irq(struct kvm *kvm, int irq_source_id, u32 irq, int level, in kvm_set_irq() 120 void kvm_free_irq_routing(struct kvm *kvm) in kvm_free_irq_routing() 128 static int setup_routing_entry(struct kvm *kvm, in setup_routing_entry() 160 void __attribute__((weak)) kvm_arch_irq_routing_update(struct kvm *kvm) in kvm_arch_irq_routing_update() 164 bool __weak kvm_arch_can_set_irq_routing(struct kvm *kvm) in kvm_arch_can_set_irq_routing() 169 int kvm_set_irq_routing(struct kvm *kvm, in kvm_set_irq_routing()
|
D | kvm_main.c | 162 __weak void kvm_arch_mmu_notifier_invalidate_range(struct kvm *kvm, in kvm_arch_mmu_notifier_invalidate_range() 167 __weak void kvm_arch_guest_memory_reclaimed(struct kvm *kvm) in kvm_arch_guest_memory_reclaimed() 262 static void kvm_make_vcpu_request(struct kvm *kvm, struct kvm_vcpu *vcpu, in kvm_make_vcpu_request() 298 bool kvm_make_vcpus_request_mask(struct kvm *kvm, unsigned int req, in kvm_make_vcpus_request_mask() 321 bool kvm_make_all_cpus_request_except(struct kvm *kvm, unsigned int req, in kvm_make_all_cpus_request_except() 346 bool kvm_make_all_cpus_request(struct kvm *kvm, unsigned int req) in kvm_make_all_cpus_request() 353 void kvm_flush_remote_tlbs(struct kvm *kvm) in kvm_flush_remote_tlbs() 375 void kvm_reload_remote_mmus(struct kvm *kvm) in kvm_reload_remote_mmus() 380 static void kvm_flush_shadow_all(struct kvm *kvm) in kvm_flush_shadow_all() 441 static void kvm_vcpu_init(struct kvm_vcpu *vcpu, struct kvm *kvm, unsigned id) in kvm_vcpu_init() [all …]
|
D | coalesced_mmio.h | 21 struct kvm *kvm; member 34 static inline int kvm_coalesced_mmio_init(struct kvm *kvm) { return 0; } in kvm_coalesced_mmio_init() 35 static inline void kvm_coalesced_mmio_free(struct kvm *kvm) { } in kvm_coalesced_mmio_free()
|
D | coalesced_mmio.c | 110 int kvm_coalesced_mmio_init(struct kvm *kvm) in kvm_coalesced_mmio_init() 131 void kvm_coalesced_mmio_free(struct kvm *kvm) in kvm_coalesced_mmio_free() 137 int kvm_vm_ioctl_register_coalesced_mmio(struct kvm *kvm, in kvm_vm_ioctl_register_coalesced_mmio() 173 int kvm_vm_ioctl_unregister_coalesced_mmio(struct kvm *kvm, in kvm_vm_ioctl_unregister_coalesced_mmio()
|
D | dirty_ring.c | 39 struct kvm_dirty_ring *kvm_dirty_ring_get(struct kvm *kvm) in kvm_dirty_ring_get() 48 static void kvm_reset_dirty_gfn(struct kvm *kvm, u32 slot, u64 offset, u64 mask) in kvm_reset_dirty_gfn() 99 int kvm_dirty_ring_reset(struct kvm *kvm, struct kvm_dirty_ring *ring) in kvm_dirty_ring_reset()
|
D | vfio.c | 80 static void kvm_vfio_group_set_kvm(struct vfio_group *group, struct kvm *kvm) in kvm_vfio_group_set_kvm() 137 static void kvm_spapr_tce_release_vfio_group(struct kvm *kvm, in kvm_spapr_tce_release_vfio_group()
|