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,
189 extern int kvm_vm_ioctl_get_smmu_info(struct kvm *kvm,
191 extern void kvmppc_core_flush_memslot(struct kvm *kvm,
199 extern int kvm_vm_ioctl_get_htab_fd(struct kvm *kvm, struct kvm_get_htab_fd *);
203 extern int kvm_vm_ioctl_rtas_define_token(struct kvm *kvm, void __user *argp);
205 extern void kvmppc_rtas_tokens_free(struct kvm *kvm);
206 extern int kvmppc_xics_set_xive(struct kvm *kvm, u32 irq, u32 server,
208 extern int kvmppc_xics_get_xive(struct kvm *kvm, u32 irq, u32 *server,
210 extern int kvmppc_xics_int_on(struct kvm *kvm, u32 irq);
211 extern int kvmppc_xics_int_off(struct kvm *kvm, u32 irq);
239 struct kvm_vcpu *(*vcpu_create)(struct kvm *kvm, unsigned int id);
242 int (*get_dirty_log)(struct kvm *kvm, struct kvm_dirty_log *log);
243 void (*flush_memslot)(struct kvm *kvm, struct kvm_memory_slot *memslot);
244 int (*prepare_memory_region)(struct kvm *kvm,
247 void (*commit_memory_region)(struct kvm *kvm,
250 int (*unmap_hva)(struct kvm *kvm, unsigned long hva);
251 int (*unmap_hva_range)(struct kvm *kvm, unsigned long start,
253 int (*age_hva)(struct kvm *kvm, unsigned long start, unsigned long end);
254 int (*test_age_hva)(struct kvm *kvm, unsigned long hva);
255 void (*set_spte_hva)(struct kvm *kvm, unsigned long hva, pte_t pte);
261 int (*init_vm)(struct kvm *kvm);
262 void (*destroy_vm)(struct kvm *kvm);
263 int (*get_smmu_info)(struct kvm *kvm, struct kvm_ppc_smmu_info *info);
300 static inline bool is_kvmppc_hv_enabled(struct kvm *kvm) in is_kvmppc_hv_enabled() argument
302 return kvm->arch.kvm_ops == kvmppc_hv_ops; in is_kvmppc_hv_enabled()
402 vcpu->kvm->arch.kvm_ops->fast_vcpu_kick(vcpu); in kvmppc_fast_vcpu_kick()
440 extern int kvm_vm_ioctl_xics_irq(struct kvm *kvm, struct kvm_irq_level *args);
453 static inline int kvm_vm_ioctl_xics_irq(struct kvm *kvm, in kvm_vm_ioctl_xics_irq() argument