Home
last modified time | relevance | path

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

/include/kvm/
Darm_pmu.h40 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 …]
Darm_hypercalls.h9 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 …]
Darm_arch_timer.h27 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 …]
Darm_psci.h24 static inline int kvm_psci_version(struct kvm_vcpu *vcpu, struct kvm *kvm) in kvm_psci_version() argument
33 if (test_bit(KVM_ARM_VCPU_PSCI_0_2, vcpu->arch.features)) { in kvm_psci_version()
34 if (vcpu->kvm->arch.psci_version) in kvm_psci_version()
35 return vcpu->kvm->arch.psci_version; in kvm_psci_version()
44 int kvm_psci_call(struct kvm_vcpu *vcpu);
48 int kvm_arm_get_fw_num_regs(struct kvm_vcpu *vcpu);
49 int kvm_arm_copy_fw_reg_indices(struct kvm_vcpu *vcpu, u64 __user *uindices);
50 int kvm_arm_get_fw_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg);
51 int kvm_arm_set_fw_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg);
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()
Darm_vgic.h122 struct kvm_vcpu *vcpu; /* SGIs and PPIs: The VCPU member
365 int kvm_vgic_vcpu_init(struct kvm_vcpu *vcpu);
368 void kvm_vgic_vcpu_destroy(struct kvm_vcpu *vcpu);
375 int kvm_vgic_map_phys_irq(struct kvm_vcpu *vcpu, unsigned int host_irq,
377 int kvm_vgic_unmap_phys_irq(struct kvm_vcpu *vcpu, unsigned int vintid);
378 bool kvm_vgic_map_is_active(struct kvm_vcpu *vcpu, unsigned int vintid);
380 int kvm_vgic_vcpu_pending_irq(struct kvm_vcpu *vcpu);
382 void kvm_vgic_load(struct kvm_vcpu *vcpu);
383 void kvm_vgic_put(struct kvm_vcpu *vcpu, bool blocking);
391 bool kvm_vcpu_has_pending_irqs(struct kvm_vcpu *vcpu);
[all …]
/include/linux/
Dkvm_host.h201 int kvm_io_bus_write(struct kvm_vcpu *vcpu, enum kvm_bus bus_idx, gpa_t addr,
203 int kvm_io_bus_write_cookie(struct kvm_vcpu *vcpu, enum kvm_bus bus_idx,
205 int kvm_io_bus_read(struct kvm_vcpu *vcpu, enum kvm_bus bus_idx, gpa_t addr,
219 struct kvm_vcpu *vcpu; member
228 void kvm_clear_async_pf_completion_queue(struct kvm_vcpu *vcpu);
229 void kvm_check_async_pf_completion(struct kvm_vcpu *vcpu);
230 bool kvm_setup_async_pf(struct kvm_vcpu *vcpu, gpa_t cr2_or_gpa,
232 int kvm_async_pf_wakeup_all(struct kvm_vcpu *vcpu);
517 static inline int kvm_vcpu_exiting_guest_mode(struct kvm_vcpu *vcpu) in kvm_vcpu_exiting_guest_mode() argument
525 return cmpxchg(&vcpu->mode, IN_GUEST_MODE, EXITING_GUEST_MODE); in kvm_vcpu_exiting_guest_mode()
[all …]
Dentry-kvm.h34 static inline int arch_xfer_to_guest_mode_handle_work(struct kvm_vcpu *vcpu,
38 static inline int arch_xfer_to_guest_mode_handle_work(struct kvm_vcpu *vcpu, in arch_xfer_to_guest_mode_handle_work() argument
52 int xfer_to_guest_mode_handle_work(struct kvm_vcpu *vcpu);
/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/asm-generic/
Dmshyperv.h204 int cpu, vcpu, vcpu_bank, vcpu_offset, nr_bank = 1; in __cpumask_to_vpset() local
225 vcpu = hv_cpu_number_to_vp_number(cpu); in __cpumask_to_vpset()
226 if (vcpu == VP_INVAL) in __cpumask_to_vpset()
228 vcpu_bank = vcpu / 64; in __cpumask_to_vpset()
229 vcpu_offset = vcpu % 64; in __cpumask_to_vpset()
/include/linux/irqchip/
Darm-vgic-info.h24 struct resource vcpu; member
/include/trace/events/
Dkvm.h427 TP_PROTO(struct kvm_vcpu *vcpu),
428 TP_ARGS(vcpu),
435 __entry->vcpu_id = vcpu->vcpu_id;
/include/xen/
Dxen-ops.h34 bool xen_vcpu_stolen(int vcpu);
/include/uapi/linux/
Dacrn.h180 __u32 vcpu; member
Dkvm.h1149 __u32 vcpu; member