HomeSort by: relevance | last modified time | path
    Searched refs:vcpu (Results 1 - 25 of 25) sorted by relevancy

  /src/sys/dev/nvmm/
nvmm.c 200 struct nvmm_cpu *vcpu; local in function:nvmm_vcpu_alloc
205 vcpu = &mach->cpus[cpuid];
207 mutex_enter(&vcpu->lock);
208 if (vcpu->present) {
209 mutex_exit(&vcpu->lock);
213 vcpu->present = true;
214 vcpu->comm = NULL;
215 vcpu->hcpu_last = -1;
216 *ret = vcpu;
221 nvmm_vcpu_free(struct nvmm_machine *mach, struct nvmm_cpu *vcpu)
234 struct nvmm_cpu *vcpu; local in function:nvmm_vcpu_get
263 struct nvmm_cpu *vcpu; local in function:nvmm_kill_machines
356 struct nvmm_cpu *vcpu; local in function:nvmm_machine_destroy
434 struct nvmm_cpu *vcpu; local in function:nvmm_vcpu_create
484 struct nvmm_cpu *vcpu; local in function:nvmm_vcpu_destroy
510 struct nvmm_cpu *vcpu; local in function:nvmm_vcpu_configure
555 struct nvmm_cpu *vcpu; local in function:nvmm_vcpu_setstate
579 struct nvmm_cpu *vcpu; local in function:nvmm_vcpu_getstate
602 struct nvmm_cpu *vcpu; local in function:nvmm_vcpu_inject
659 struct nvmm_cpu *vcpu = NULL; local in function:nvmm_vcpu_run
    [all...]
nvmm_internal.h 64 /* Last host CPU on which the VCPU ran. */
148 nvmm_return_needed(struct nvmm_cpu *vcpu, struct nvmm_vcpu_exit *exit)
159 if (vcpu->comm->stop) {
  /src/lib/libnvmm/
libnvmm.c 290 struct nvmm_vcpu *vcpu)
310 vcpu->cpuid = cpuid;
311 vcpu->state = &comm->state;
312 vcpu->event = &comm->event;
313 vcpu->stop = &comm->stop;
314 vcpu->exit = malloc(sizeof(*vcpu->exit));
320 nvmm_vcpu_destroy(struct nvmm_machine *mach, struct nvmm_vcpu *vcpu)
327 args.cpuid = vcpu->cpuid;
333 comm = mach->pages[vcpu->cpuid]
    [all...]
nvmm.h 72 struct nvmm_vcpu *vcpu; member in struct:nvmm_io
81 struct nvmm_vcpu *vcpu; member in struct:nvmm_mem
libnvmm_x86.c 56 nvmm_vcpu_dump(struct nvmm_machine *mach, struct nvmm_vcpu *vcpu)
58 struct nvmm_x64_state *state = vcpu->state;
67 ret = nvmm_vcpu_getstate(mach, vcpu, NVMM_X64_STATE_ALL);
71 printf("+ VCPU id=%d\n", (int)vcpu->cpuid);
435 nvmm_gva_to_gpa(struct nvmm_machine *mach, struct nvmm_vcpu *vcpu,
438 struct nvmm_x64_state *state = vcpu->state;
441 ret = nvmm_vcpu_getstate(mach, vcpu,
557 read_guest_memory(struct nvmm_machine *mach, struct nvmm_vcpu *vcpu,
560 struct nvmm_x64_state *state = vcpu->state
    [all...]
  /src/sys/dev/nvmm/x86/
nvmm_x86_svm.c 607 /* VCPU configuration. */
670 svm_event_waitexit_enable(struct nvmm_cpu *vcpu, bool nmi)
672 struct svm_cpudata *cpudata = vcpu->cpudata;
689 svm_event_waitexit_disable(struct nvmm_cpu *vcpu, bool nmi)
691 struct svm_cpudata *cpudata = vcpu->cpudata;
740 svm_vcpu_inject(struct nvmm_cpu *vcpu)
742 struct nvmm_comm_page *comm = vcpu->comm;
743 struct svm_cpudata *cpudata = vcpu->cpudata;
771 svm_event_waitexit_enable(vcpu, true);
792 svm_inject_ud(struct nvmm_cpu *vcpu)
    [all...]
nvmm_x86_vmx.c 825 /* VCPU configuration. */
938 vmx_vmcs_enter(struct nvmm_cpu *vcpu)
940 struct vmx_cpudata *cpudata = vcpu->cpudata;
971 vmx_vmcs_leave(struct nvmm_cpu *vcpu)
973 struct vmx_cpudata *cpudata = vcpu->cpudata;
989 vmx_vmcs_destroy(struct nvmm_cpu *vcpu)
991 struct vmx_cpudata *cpudata = vcpu->cpudata;
1005 vmx_event_waitexit_enable(struct nvmm_cpu *vcpu, bool nmi)
1007 struct vmx_cpudata *cpudata = vcpu->cpudata;
1025 vmx_event_waitexit_disable(struct nvmm_cpu *vcpu, bool nmi
    [all...]
  /src/sys/external/mit/xen-include-public/dist/xen/include/public/
event_channel.h 129 * vcpu.
131 * 1. Virtual IRQs are classified as per-vcpu or global. See the VIRQ list
135 * 3. Per-vcpu VIRQs may be bound to at most one event channel per vcpu.
136 * The allocated event channel is bound to the specified vcpu and the
142 uint32_t vcpu; member in struct:evtchn_bind_virq
167 * 1. The allocated event channel is bound to the specified vcpu. The binding
171 uint32_t vcpu; member in struct:evtchn_bind_ipi
218 uint32_t vcpu; /* VCPU to which this channel is bound. * member in struct:evtchn_status
248 uint32_t vcpu; member in struct:evtchn_bind_vcpu
289 uint32_t vcpu; member in struct:evtchn_init_control
    [all...]
pmu.h 66 uint32_t vcpu; member in struct:xen_pmu_params
105 * interrupt to appropriate VCPU.
111 /* Interrupted VCPU */
domctl.h 242 uint32_t vcpu; /* IN */ member in struct:xen_domctl_vcpucontext
250 uint32_t vcpu; member in struct:xen_domctl_getvcpuinfo
268 /* Get/set which physical cpus a vcpu can execute on. */
273 uint32_t vcpu; member in struct:xen_domctl_vcpuaffinity
274 /* Set/get the hard affinity for vcpu */
277 /* Set/get the soft affinity for vcpu */
333 /* Can this vCPU execute beyond its reserved amount of time? */
351 * For schedulers supporting per-vcpu settings (e.g., RTDS):
356 * For schedulers not supporting per-vcpu settings:
457 uint32_t vcpu; /* IN * member in struct:xen_domctl_sendtrigger
594 uint32_t vcpu; member in struct:xen_domctl_ext_vcpucontext
678 uint32_t vcpu; \/* IN *\/ member in struct:xen_domctl_debug_op
724 uint32_t vcpu; \/* which vcpu *\/ member in struct:xen_domctl_gdbsx_pauseunp_vcpu
847 uint32_t vcpu; member in struct:xen_domctl_vcpuextstate
922 uint32_t vcpu; \/* IN *\/ member in struct:xen_domctl_vcpu_msrs
    [all...]
  /src/tests/lib/libnvmm/
h_mem_assist.c 77 handle_memory(struct nvmm_machine *mach, struct nvmm_vcpu *vcpu)
81 ret = nvmm_assist_mem(mach, vcpu);
90 run_machine(struct nvmm_machine *mach, struct nvmm_vcpu *vcpu)
92 struct nvmm_vcpu_exit *exit = vcpu->exit;
95 if (nvmm_vcpu_run(mach, vcpu) == -1)
107 handle_memory(mach, vcpu);
137 run_test(struct nvmm_machine *mach, struct nvmm_vcpu *vcpu,
148 run_machine(mach, vcpu);
218 reset_machine64(struct nvmm_machine *mach, struct nvmm_vcpu *vcpu)
220 struct nvmm_x64_state *state = vcpu->state
357 struct nvmm_vcpu vcpu; local in function:test_vm64
445 struct nvmm_vcpu vcpu; local in function:test_vm16
    [all...]
h_io_assist.c 73 reset_machine(struct nvmm_machine *mach, struct nvmm_vcpu *vcpu)
75 struct nvmm_x64_state *state = vcpu->state;
120 if (nvmm_vcpu_setstate(mach, vcpu, NVMM_X64_STATE_ALL) == -1)
229 handle_io(struct nvmm_machine *mach, struct nvmm_vcpu *vcpu)
233 ret = nvmm_assist_io(mach, vcpu);
242 run_machine(struct nvmm_machine *mach, struct nvmm_vcpu *vcpu)
244 struct nvmm_vcpu_exit *exit = vcpu->exit;
247 if (nvmm_vcpu_run(mach, vcpu) == -1)
259 handle_io(mach, vcpu);
284 run_test(struct nvmm_machine *mach, struct nvmm_vcpu *vcpu,
372 struct nvmm_vcpu vcpu; local in function:main
    [all...]
  /src/sys/arch/xen/x86/
xen_ipi.c 61 #include <xen/include/public/vcpu.h>
124 cpuid_t vcpu; local in function:xen_ipi_init
131 vcpu = ci->ci_vcpuid;
132 KASSERT(vcpu < XEN_LEGACY_MAX_VCPUS);
134 evtchn = bind_vcpu_to_evtch(vcpu);
cpu.c 109 #include <xen/include/public/vcpu.h>
145 CFATTACH_DECL_NEW(vcpu, sizeof(struct cpu_softc),
299 panic("Unknown hypervisor error %d returned on vcpu runstate probe\n", error);
840 /* Initialise the vcpu context: We use idle_loop()'s pcb context. */
935 * Initialise the vcpu context:
1023 /* Initialise the given vcpu to execute cpu_hatch(ci); */
  /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/
berlin2cd-valve-steamlink.dts 30 cpu-supply = <&vcpu>;
49 vcpu: buck1 { label
  /src/sys/arch/xen/xen/
evtchn.c 106 /* event-channel <-> VCPU mapping for IPIs. XXX: redo for SMP. */
109 /* event-channel <-> VCPU mapping for VIRQ_TIMER. XXX: redo for SMP. */
236 /* No VCPU -> event mappings. */
531 bind_vcpu_to_evtch(cpuid_t vcpu)
538 evtchn = vcpu_ipi_to_evtch[vcpu];
541 op.u.bind_ipi.vcpu = (uint32_t) vcpu;
543 panic("Failed to bind ipi to VCPU %"PRIuCPUID"\n", vcpu);
546 vcpu_ipi_to_evtch[vcpu] = evtchn
    [all...]
hypervisor.c 78 #include <xen/include/public/vcpu.h>
482 "Xen HVM: can't get VCPU id, falling back to ci_acpiid\n");
499 xen_hvm_uvec.vcpu = ci->ci_vcpuid;
646 hac.hac_vcaa.vcaa_name = "vcpu";
666 hac.hac_vcaa.vcaa_name = "vcpu";
xenevt.c 197 * IPL level on vCPU 0. (events are bound to vCPU 0 by default).
556 op.u.bind_virq.vcpu = 0;
xen_clock.c 66 #include <xen/include/public/vcpu.h>
138 * Xen vCPU system time, plus an adjustment with rdtsc.
152 * The latest Xen vCPU system time that has been observed on any
177 * State for a vCPU read section, during which a caller may read
191 * Enter a vCPU time read section and store a ticket in *tp, which
217 * Exit a vCPU time read section with the ticket in *tp from
316 * us to retry the vCPU time read.
597 * changed by now if Xen has migrated this vCPU to
1037 * Xen wall clock time, plus a Xen vCPU system time adjustment.
1060 * and vCPU system time adjustment
    [all...]
  /src/sys/external/mit/xen-include-public/dist/xen/include/public/hvm/
hvm_op.h 83 /* Flushes all VCPU TLBs: @arg must be NULL. */
189 * channel upcalls on the specified <vcpu>. If set,
196 uint32_t vcpu; member in struct:xen_hvm_evtchn_upcall_vector
285 /* Set the current VCPU to receive altp2m event notifications */
  /src/sys/arch/x86/conf/
files.x86 42 file arch/x86/x86/cpu_rng.c cpu | vcpu
  /src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/amlogic/
meson-gx.dtsi 250 clock-output-names = "vcpu";
meson-axg.dtsi 159 clock-output-names = "vcpu";
  /src/sys/external/bsd/drm2/dist/drm/i915/gvt/
kvmgt.c 1690 static void kvmgt_page_track_write(struct kvm_vcpu *vcpu, gpa_t gpa,
  /src/sys/arch/amd64/amd64/
machdep.c 204 #include <xen/include/public/vcpu.h>

Completed in 40 milliseconds