Lines Matching refs:kvm

121 extern struct kvm_vcpu *kvmppc_core_vcpu_create(struct kvm *kvm,
158 extern long kvmppc_alloc_hpt(struct kvm *kvm, u32 *htab_orderp);
159 extern long kvmppc_alloc_reset_hpt(struct kvm *kvm, u32 *htab_orderp);
160 extern void kvmppc_free_hpt(struct kvm *kvm);
161 extern long kvmppc_prepare_vrma(struct kvm *kvm,
167 extern long kvm_vm_ioctl_create_spapr_tce(struct kvm *kvm,
175 extern int kvmppc_core_init_vm(struct kvm *kvm);
176 extern void kvmppc_core_destroy_vm(struct kvm *kvm);
177 extern void kvmppc_core_free_memslot(struct kvm *kvm,
180 extern int kvmppc_core_create_memslot(struct kvm *kvm,
183 extern int kvmppc_core_prepare_memory_region(struct kvm *kvm,
186 extern void kvmppc_core_commit_memory_region(struct kvm *kvm,
190 extern int kvm_vm_ioctl_get_smmu_info(struct kvm *kvm,
192 extern void kvmppc_core_flush_memslot(struct kvm *kvm,
200 extern int kvm_vm_ioctl_get_htab_fd(struct kvm *kvm, struct kvm_get_htab_fd *);
204 extern int kvm_vm_ioctl_rtas_define_token(struct kvm *kvm, void __user *argp);
206 extern void kvmppc_rtas_tokens_free(struct kvm *kvm);
207 extern int kvmppc_xics_set_xive(struct kvm *kvm, u32 irq, u32 server,
209 extern int kvmppc_xics_get_xive(struct kvm *kvm, u32 irq, u32 *server,
211 extern int kvmppc_xics_int_on(struct kvm *kvm, u32 irq);
212 extern int kvmppc_xics_int_off(struct kvm *kvm, u32 irq);
240 struct kvm_vcpu *(*vcpu_create)(struct kvm *kvm, unsigned int id);
243 int (*get_dirty_log)(struct kvm *kvm, struct kvm_dirty_log *log);
244 void (*flush_memslot)(struct kvm *kvm, struct kvm_memory_slot *memslot);
245 int (*prepare_memory_region)(struct kvm *kvm,
248 void (*commit_memory_region)(struct kvm *kvm,
252 int (*unmap_hva)(struct kvm *kvm, unsigned long hva);
253 int (*unmap_hva_range)(struct kvm *kvm, unsigned long start,
255 int (*age_hva)(struct kvm *kvm, unsigned long start, unsigned long end);
256 int (*test_age_hva)(struct kvm *kvm, unsigned long hva);
257 void (*set_spte_hva)(struct kvm *kvm, unsigned long hva, pte_t pte);
263 int (*init_vm)(struct kvm *kvm);
264 void (*destroy_vm)(struct kvm *kvm);
265 int (*get_smmu_info)(struct kvm *kvm, struct kvm_ppc_smmu_info *info);
302 static inline bool is_kvmppc_hv_enabled(struct kvm *kvm) in is_kvmppc_hv_enabled() argument
304 return kvm->arch.kvm_ops == kvmppc_hv_ops; in is_kvmppc_hv_enabled()
404 vcpu->kvm->arch.kvm_ops->fast_vcpu_kick(vcpu); in kvmppc_fast_vcpu_kick()
442 extern int kvm_vm_ioctl_xics_irq(struct kvm *kvm, struct kvm_irq_level *args);
455 static inline int kvm_vm_ioctl_xics_irq(struct kvm *kvm, in kvm_vm_ioctl_xics_irq() argument