/include/kvm/ |
D | arm_pmu.h | 40 u64 kvm_pmu_get_counter_value(struct kvm_vcpu *vcpu, u64 select_idx); 41 void kvm_pmu_set_counter_value(struct kvm_vcpu *vcpu, u64 select_idx, u64 val); 42 u64 kvm_pmu_valid_counter_mask(struct kvm_vcpu *vcpu); 43 u64 kvm_pmu_get_pmceid(struct kvm_vcpu *vcpu, bool pmceid1); 44 void kvm_pmu_vcpu_init(struct kvm_vcpu *vcpu); 45 void kvm_pmu_vcpu_reset(struct kvm_vcpu *vcpu); 46 void kvm_pmu_vcpu_destroy(struct kvm_vcpu *vcpu); 47 void kvm_pmu_disable_counter_mask(struct kvm_vcpu *vcpu, u64 val); 48 void kvm_pmu_enable_counter_mask(struct kvm_vcpu *vcpu, u64 val); 49 void kvm_pmu_flush_hwstate(struct kvm_vcpu *vcpu); [all …]
|
D | arm_hypercalls.h | 9 int kvm_hvc_call_handler(struct kvm_vcpu *vcpu); 11 static inline u32 smccc_get_function(struct kvm_vcpu *vcpu) in smccc_get_function() argument 13 return vcpu_get_reg(vcpu, 0); in smccc_get_function() 16 static inline unsigned long smccc_get_arg1(struct kvm_vcpu *vcpu) in smccc_get_arg1() argument 18 return vcpu_get_reg(vcpu, 1); in smccc_get_arg1() 21 static inline unsigned long smccc_get_arg2(struct kvm_vcpu *vcpu) in smccc_get_arg2() argument 23 return vcpu_get_reg(vcpu, 2); in smccc_get_arg2() 26 static inline unsigned long smccc_get_arg3(struct kvm_vcpu *vcpu) in smccc_get_arg3() argument 28 return vcpu_get_reg(vcpu, 3); in smccc_get_arg3() 31 static inline void smccc_set_retval(struct kvm_vcpu *vcpu, in smccc_set_retval() argument [all …]
|
D | arm_arch_timer.h | 27 struct kvm_vcpu *vcpu; member 64 int kvm_timer_enable(struct kvm_vcpu *vcpu); 65 int kvm_timer_vcpu_reset(struct kvm_vcpu *vcpu); 66 void kvm_timer_vcpu_init(struct kvm_vcpu *vcpu); 67 void kvm_timer_sync_user(struct kvm_vcpu *vcpu); 68 bool kvm_timer_should_notify_user(struct kvm_vcpu *vcpu); 69 void kvm_timer_update_run(struct kvm_vcpu *vcpu); 70 void kvm_timer_vcpu_terminate(struct kvm_vcpu *vcpu); 75 int kvm_arm_timer_set_attr(struct kvm_vcpu *vcpu, struct kvm_device_attr *attr); 76 int kvm_arm_timer_get_attr(struct kvm_vcpu *vcpu, struct kvm_device_attr *attr); [all …]
|
D | arm_psci.h | 23 static inline int kvm_psci_version(struct kvm_vcpu *vcpu, struct kvm *kvm) in kvm_psci_version() argument 32 if (test_bit(KVM_ARM_VCPU_PSCI_0_2, vcpu->arch.features)) { in kvm_psci_version() 33 if (vcpu->kvm->arch.psci_version) in kvm_psci_version() 34 return vcpu->kvm->arch.psci_version; in kvm_psci_version() 43 int kvm_psci_call(struct kvm_vcpu *vcpu); 47 int kvm_arm_get_fw_num_regs(struct kvm_vcpu *vcpu); 48 int kvm_arm_copy_fw_reg_indices(struct kvm_vcpu *vcpu, u64 __user *uindices); 49 int kvm_arm_get_fw_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg); 50 int kvm_arm_set_fw_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg);
|
D | arm_vgic.h | 97 struct kvm_vcpu *vcpu; /* SGIs and PPIs: The VCPU member 343 int kvm_vgic_vcpu_init(struct kvm_vcpu *vcpu); 346 void kvm_vgic_vcpu_destroy(struct kvm_vcpu *vcpu); 353 int kvm_vgic_map_phys_irq(struct kvm_vcpu *vcpu, unsigned int host_irq, 355 int kvm_vgic_unmap_phys_irq(struct kvm_vcpu *vcpu, unsigned int vintid); 356 bool kvm_vgic_map_is_active(struct kvm_vcpu *vcpu, unsigned int vintid); 358 int kvm_vgic_vcpu_pending_irq(struct kvm_vcpu *vcpu); 360 void kvm_vgic_load(struct kvm_vcpu *vcpu); 361 void kvm_vgic_put(struct kvm_vcpu *vcpu); 362 void kvm_vgic_vmcr_sync(struct kvm_vcpu *vcpu); [all …]
|
D | iodev.h | 18 int (*read)(struct kvm_vcpu *vcpu, 23 int (*write)(struct kvm_vcpu *vcpu, 42 static inline int kvm_iodevice_read(struct kvm_vcpu *vcpu, in kvm_iodevice_read() argument 46 return dev->ops->read ? dev->ops->read(vcpu, dev, addr, l, v) in kvm_iodevice_read() 50 static inline int kvm_iodevice_write(struct kvm_vcpu *vcpu, in kvm_iodevice_write() argument 54 return dev->ops->write ? dev->ops->write(vcpu, dev, addr, l, v) in kvm_iodevice_write()
|
/include/linux/ |
D | kvm_host.h | 186 int kvm_io_bus_write(struct kvm_vcpu *vcpu, enum kvm_bus bus_idx, gpa_t addr, 188 int kvm_io_bus_write_cookie(struct kvm_vcpu *vcpu, enum kvm_bus bus_idx, 190 int kvm_io_bus_read(struct kvm_vcpu *vcpu, enum kvm_bus bus_idx, gpa_t addr, 204 struct kvm_vcpu *vcpu; member 213 void kvm_clear_async_pf_completion_queue(struct kvm_vcpu *vcpu); 214 void kvm_check_async_pf_completion(struct kvm_vcpu *vcpu); 215 bool kvm_setup_async_pf(struct kvm_vcpu *vcpu, gpa_t cr2_or_gpa, 217 int kvm_async_pf_wakeup_all(struct kvm_vcpu *vcpu); 325 static inline int kvm_vcpu_exiting_guest_mode(struct kvm_vcpu *vcpu) in kvm_vcpu_exiting_guest_mode() argument 333 return cmpxchg(&vcpu->mode, IN_GUEST_MODE, EXITING_GUEST_MODE); in kvm_vcpu_exiting_guest_mode() [all …]
|
D | entry-kvm.h | 29 static inline int arch_xfer_to_guest_mode_handle_work(struct kvm_vcpu *vcpu, 33 static inline int arch_xfer_to_guest_mode_handle_work(struct kvm_vcpu *vcpu, in arch_xfer_to_guest_mode_handle_work() argument 47 int xfer_to_guest_mode_handle_work(struct kvm_vcpu *vcpu);
|
/include/asm-generic/ |
D | mshyperv.h | 136 int cpu, vcpu, vcpu_bank, vcpu_offset, nr_bank = 1; in cpumask_to_vpset() local 154 vcpu = hv_cpu_number_to_vp_number(cpu); in cpumask_to_vpset() 155 if (vcpu == VP_INVAL) in cpumask_to_vpset() 157 vcpu_bank = vcpu / 64; in cpumask_to_vpset() 158 vcpu_offset = vcpu % 64; in cpumask_to_vpset()
|
/include/xen/interface/ |
D | event_channel.h | 64 uint32_t vcpu; member 93 uint32_t vcpu; member 140 uint32_t vcpu; /* VCPU to which this channel is bound. */ member 168 uint32_t vcpu; member 202 uint32_t vcpu; member
|
D | xenpmu.h | 39 uint32_t vcpu; member
|
/include/linux/irqchip/ |
D | arm-gic-common.h | 28 struct resource vcpu; member
|
/include/xen/ |
D | xen-ops.h | 34 bool xen_vcpu_stolen(int vcpu);
|
/include/uapi/linux/ |
D | kvm.h | 1083 __u32 vcpu; member
|