Lines Matching defs:kvm
15 static void unlock_vcpus(struct kvm *kvm, int vcpu_lock_idx) in unlock_vcpus()
25 static void unlock_all_vcpus(struct kvm *kvm) in unlock_all_vcpus()
30 static bool lock_all_vcpus(struct kvm *kvm) in lock_all_vcpus()
49 struct kvm *kvm = dev->kvm; in aia_create() local
77 static int aia_config(struct kvm *kvm, unsigned long type, in aia_config()
171 static int aia_aplic_addr(struct kvm *kvm, u64 *addr, bool write) in aia_aplic_addr()
190 static int aia_imsic_addr(struct kvm *kvm, u64 *addr, in aia_imsic_addr()
251 static int aia_init(struct kvm *kvm) in aia_init()
574 int kvm_riscv_aia_inject_msi_by_id(struct kvm *kvm, u32 hart_index, in kvm_riscv_aia_inject_msi_by_id()
595 int kvm_riscv_aia_inject_msi(struct kvm *kvm, struct kvm_msi *msi) in kvm_riscv_aia_inject_msi()
629 int kvm_riscv_aia_inject_irq(struct kvm *kvm, unsigned int irq, bool level) in kvm_riscv_aia_inject_irq()
639 void kvm_riscv_aia_init_vm(struct kvm *kvm) in kvm_riscv_aia_init_vm()
665 void kvm_riscv_aia_destroy_vm(struct kvm *kvm) in kvm_riscv_aia_destroy_vm()