Home
last modified time | relevance | path

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

/external/linux-tools-perf/perf-3.12.0/arch/x86/include/asm/
Dkvm_host.h256 void (*new_cr3)(struct kvm_vcpu *vcpu);
257 void (*set_cr3)(struct kvm_vcpu *vcpu, unsigned long root);
258 unsigned long (*get_cr3)(struct kvm_vcpu *vcpu);
259 u64 (*get_pdptr)(struct kvm_vcpu *vcpu, int index);
260 int (*page_fault)(struct kvm_vcpu *vcpu, gva_t gva, u32 err,
262 void (*inject_page_fault)(struct kvm_vcpu *vcpu,
264 void (*free)(struct kvm_vcpu *vcpu);
265 gpa_t (*gva_to_gpa)(struct kvm_vcpu *vcpu, gva_t gva, u32 access,
267 gpa_t (*translate_gpa)(struct kvm_vcpu *vcpu, gpa_t gpa, u32 access);
268 int (*sync_page)(struct kvm_vcpu *vcpu,
[all …]
/external/linux-tools-perf/perf-3.12.0/tools/perf/
Dbuiltin-kvm.c55 struct kvm_event_stats *vcpu; member
354 event->vcpu[j].time = 0; in clear_events_cache_stats()
355 init_stats(&event->vcpu[j].stats); in clear_events_cache_stats()
377 prev = event->vcpu; in kvm_event_expand()
378 event->vcpu = realloc(event->vcpu, in kvm_event_expand()
379 event->max_vcpu * sizeof(*event->vcpu)); in kvm_event_expand()
380 if (!event->vcpu) { in kvm_event_expand()
386 memset(event->vcpu + old_max_vcpu, 0, in kvm_event_expand()
387 (event->max_vcpu - old_max_vcpu) * sizeof(*event->vcpu)); in kvm_event_expand()
453 kvm_stats = &event->vcpu[vcpu_id]; in kvm_event_rel_stddev()
[all …]
/external/qemu/target-i386/
Dhax-all.c118 struct hax_vcpu_state *vcpu = cpu->hax_vcpu; in hax_vcpu_get_fd() local
119 if (!vcpu) in hax_vcpu_get_fd()
121 return vcpu->fd; in hax_vcpu_get_fd()
178 struct hax_vcpu_state *vcpu = NULL; in hax_vcpu_create() local
193 vcpu = g_malloc(sizeof(struct hax_vcpu_state)); in hax_vcpu_create()
194 if (!vcpu) in hax_vcpu_create()
200 memset(vcpu, 0, sizeof(struct hax_vcpu_state)); in hax_vcpu_create()
209 vcpu->fd = hax_host_open_vcpu(hax_global.vm->id, id); in hax_vcpu_create()
210 if (hax_invalid_fd(vcpu->fd)) in hax_vcpu_create()
217 hax_global.vm->vcpus[id] = vcpu; in hax_vcpu_create()
[all …]
Dhax-darwin.c236 int hax_host_setup_vcpu_channel(struct hax_vcpu_state *vcpu) in hax_host_setup_vcpu_channel() argument
241 ret = ioctl(vcpu->fd, HAX_VCPU_IOCTL_SETUP_TUNNEL, &info); in hax_host_setup_vcpu_channel()
255 vcpu->tunnel = (struct hax_tunnel *)(uintptr_t)(info.va); in hax_host_setup_vcpu_channel()
256 vcpu->iobuf = (unsigned char *)(uintptr_t)(info.io_va); in hax_host_setup_vcpu_channel()
260 int hax_vcpu_run(struct hax_vcpu_state* vcpu) in hax_vcpu_run() argument
264 ret = ioctl(vcpu->fd, HAX_VCPU_IOCTL_RUN, NULL); in hax_vcpu_run()
Dhax-windows.c354 int hax_host_setup_vcpu_channel(struct hax_vcpu_state *vcpu) in hax_host_setup_vcpu_channel() argument
356 hax_fd hDeviceVCPU = vcpu->fd; in hax_host_setup_vcpu_channel()
379 vcpu->tunnel = (struct hax_tunnel *)(uintptr_t)(info.va); in hax_host_setup_vcpu_channel()
380 vcpu->iobuf = (unsigned char *)(uintptr_t)(info.io_va); in hax_host_setup_vcpu_channel()
384 int hax_vcpu_run(struct hax_vcpu_state* vcpu) in hax_vcpu_run() argument
387 HANDLE hDeviceVCPU = vcpu->fd; in hax_vcpu_run()
Dhax-i386.h65 int hax_vcpu_run(struct hax_vcpu_state *vcpu);
79 int hax_host_setup_vcpu_channel(struct hax_vcpu_state *vcpu);
/external/valgrind/main/include/vki/
Dvki-xen-domctl.h174 vki_uint32_t vcpu; /* IN */ member
218 vki_uint32_t vcpu; /* IN */ member
224 vki_uint32_t vcpu; member
303 vki_uint32_t vcpu; member
/external/linux-tools-perf/perf-3.12.0/tools/perf/Documentation/
Dperf-kvm.txt90 --vcpu=<value>::
91 analyze events which occures on this vcpu. (default: all vcpus)
122 --vcpu=<value>::
123 analyze events which occures on this vcpu. (default: all vcpus)
/external/valgrind/main/coregrind/m_syswrap/
Dsyswrap-xen.c646 PRE_XEN_DOMCTL_READ(getvcpuinfo, vcpu); in PRE()
675 __PRE_XEN_DOMCTL_READ(getvcpuaffinity, vcpuaffinity, vcpu); in PRE()
679 __PRE_XEN_DOMCTL_READ(setvcpuaffinity, vcpuaffinity, vcpu); in PRE()
696 __PRE_XEN_DOMCTL_READ(getvcpucontext, vcpucontext, vcpu); in PRE()
700 __PRE_XEN_DOMCTL_READ(setvcpucontext, vcpucontext, vcpu); in PRE()
718 __PRE_XEN_DOMCTL_READ(getvcpuextstate, vcpuextstate, vcpu); in PRE()
/external/valgrind/main/docs/internals/
Dnotes.txt52 state. Also, the vcpu state is restored on return to whatever it