Home
last modified time | relevance | path

Searched refs:vcpu (Results 1 – 12 of 12) sorted by relevance

/include/kvm/
Darm_pmu.h34 u64 kvm_pmu_get_counter_value(struct kvm_vcpu *vcpu, u64 select_idx);
35 void kvm_pmu_set_counter_value(struct kvm_vcpu *vcpu, u64 select_idx, u64 val);
36 u64 kvm_pmu_valid_counter_mask(struct kvm_vcpu *vcpu);
37 void kvm_pmu_vcpu_init(struct kvm_vcpu *vcpu);
38 void kvm_pmu_vcpu_reset(struct kvm_vcpu *vcpu);
39 void kvm_pmu_vcpu_destroy(struct kvm_vcpu *vcpu);
40 void kvm_pmu_disable_counter_mask(struct kvm_vcpu *vcpu, u64 val);
41 void kvm_pmu_enable_counter_mask(struct kvm_vcpu *vcpu, u64 val);
42 void kvm_pmu_flush_hwstate(struct kvm_vcpu *vcpu);
43 void kvm_pmu_sync_hwstate(struct kvm_vcpu *vcpu);
[all …]
Darm_arch_timer.h27 struct kvm_vcpu *vcpu; member
71 int kvm_timer_enable(struct kvm_vcpu *vcpu);
72 int kvm_timer_vcpu_reset(struct kvm_vcpu *vcpu);
73 void kvm_timer_vcpu_init(struct kvm_vcpu *vcpu);
74 void kvm_timer_sync_hwstate(struct kvm_vcpu *vcpu);
75 bool kvm_timer_should_notify_user(struct kvm_vcpu *vcpu);
76 void kvm_timer_update_run(struct kvm_vcpu *vcpu);
77 void kvm_timer_vcpu_terminate(struct kvm_vcpu *vcpu);
82 int kvm_arm_timer_set_attr(struct kvm_vcpu *vcpu, struct kvm_device_attr *attr);
83 int kvm_arm_timer_get_attr(struct kvm_vcpu *vcpu, struct kvm_device_attr *attr);
[all …]
Darm_psci.h23 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_hvc_call_handler(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);
Darm_vgic.h96 struct kvm_vcpu *vcpu; /* SGIs and PPIs: The VCPU member
336 int kvm_vgic_vcpu_init(struct kvm_vcpu *vcpu);
339 void kvm_vgic_vcpu_destroy(struct kvm_vcpu *vcpu);
346 int kvm_vgic_map_phys_irq(struct kvm_vcpu *vcpu, unsigned int host_irq,
348 int kvm_vgic_unmap_phys_irq(struct kvm_vcpu *vcpu, unsigned int vintid);
349 bool kvm_vgic_map_is_active(struct kvm_vcpu *vcpu, unsigned int vintid);
351 int kvm_vgic_vcpu_pending_irq(struct kvm_vcpu *vcpu);
353 void kvm_vgic_load(struct kvm_vcpu *vcpu);
354 void kvm_vgic_put(struct kvm_vcpu *vcpu);
355 void kvm_vgic_vmcr_sync(struct kvm_vcpu *vcpu);
[all …]
Diodev.h18 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/
Dkvm_host.h188 int kvm_io_bus_write(struct kvm_vcpu *vcpu, enum kvm_bus bus_idx, gpa_t addr,
190 int kvm_io_bus_write_cookie(struct kvm_vcpu *vcpu, enum kvm_bus bus_idx,
192 int kvm_io_bus_read(struct kvm_vcpu *vcpu, enum kvm_bus bus_idx, gpa_t addr,
206 struct kvm_vcpu *vcpu; member
214 void kvm_clear_async_pf_completion_queue(struct kvm_vcpu *vcpu);
215 void kvm_check_async_pf_completion(struct kvm_vcpu *vcpu);
216 int kvm_setup_async_pf(struct kvm_vcpu *vcpu, gpa_t cr2_or_gpa,
218 int kvm_async_pf_wakeup_all(struct kvm_vcpu *vcpu);
328 static inline int kvm_vcpu_exiting_guest_mode(struct kvm_vcpu *vcpu) in kvm_vcpu_exiting_guest_mode() argument
336 return cmpxchg(&vcpu->mode, IN_GUEST_MODE, EXITING_GUEST_MODE); in kvm_vcpu_exiting_guest_mode()
[all …]
/include/asm-generic/
Dmshyperv.h134 int cpu, vcpu, vcpu_bank, vcpu_offset, nr_bank = 1; in cpumask_to_vpset() local
152 vcpu = hv_cpu_number_to_vp_number(cpu); in cpumask_to_vpset()
153 if (vcpu == VP_INVAL) in cpumask_to_vpset()
155 vcpu_bank = vcpu / 64; in cpumask_to_vpset()
156 vcpu_offset = vcpu % 64; in cpumask_to_vpset()
/include/xen/interface/
Devent_channel.h64 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
Dxenpmu.h39 uint32_t vcpu; member
/include/linux/irqchip/
Darm-gic-common.h28 struct resource vcpu; member
/include/xen/
Dxen-ops.h34 bool xen_vcpu_stolen(int vcpu);
/include/uapi/linux/
Dkvm.h1033 __u32 vcpu; member