Home
last modified time | relevance | path

Searched refs:vcpuid (Results 1 – 25 of 38) sorted by relevance

12

/xen/xen/arch/arm/
A Dvpsci.c32 register_t vcpuid; in do_common_cpu_on() local
34 vcpuid = vaffinity_to_vcpuid(target_cpu); in do_common_cpu_on()
36 if ( (v = domain_vcpu(d, vcpuid)) == NULL ) in do_common_cpu_on()
97 static int32_t do_psci_cpu_on(uint32_t vcpuid, register_t entry_point) in do_psci_cpu_on() argument
101 ret = do_common_cpu_on(vcpuid, entry_point, 0); in do_psci_cpu_on()
171 uint32_t vcpuid; in do_psci_0_2_affinity_info() local
182 for ( vcpuid = 0; vcpuid < d->max_vcpus; vcpuid++ ) in do_psci_0_2_affinity_info()
184 v = d->vcpu[vcpuid]; in do_psci_0_2_affinity_info()
262 uint32_t vcpuid = PSCI_ARG32(regs, 1); in do_vpsci_0_1_call() local
266 PSCI_SET_RESULT(regs, do_psci_cpu_on(vcpuid, epoint)); in do_vpsci_0_1_call()
[all …]
A Dvgic.c430 int vcpuid; in vgic_to_sgi() local
445 vcpuid = base + i; in vgic_to_sgi()
446 if ( vcpuid >= d->max_vcpus || d->vcpu[vcpuid] == NULL || in vgic_to_sgi()
447 !is_vcpu_online(d->vcpu[vcpuid]) ) in vgic_to_sgi()
454 vgic_inject_irq(d, d->vcpu[vcpuid], virq, true); in vgic_to_sgi()
/xen/xen/include/asm-arm/
A Ddomain.h226 unsigned int vcpuid; in vaffinity_to_vcpuid() local
230 vcpuid = MPIDR_AFFINITY_LEVEL(vaff, 0); in vaffinity_to_vcpuid()
231 vcpuid |= MPIDR_AFFINITY_LEVEL(vaff, 1) << 4; in vaffinity_to_vcpuid()
233 return vcpuid; in vaffinity_to_vcpuid()
236 static inline register_t vcpuid_to_vaffinity(unsigned int vcpuid) in vcpuid_to_vaffinity() argument
247 vaff = (vcpuid & 0x0f) << MPIDR_LEVEL_SHIFT(0); in vcpuid_to_vaffinity()
248 vaff |= ((vcpuid >> 4) & MPIDR_LEVEL_MASK) << MPIDR_LEVEL_SHIFT(1); in vcpuid_to_vaffinity()
A Dhypercall.h7 long do_arm_vcpu_op(int cmd, unsigned int vcpuid, XEN_GUEST_HANDLE_PARAM(void) arg);
/xen/tools/debugger/gdbsx/gx/
A Dgx_local.c112 prnt_vcpu_context(vcpuid_t vcpuid) in prnt_vcpu_context() argument
117 printf("\n--> VCPU:%d\n", vcpuid); in prnt_vcpu_context()
118 rc = xg_regs_read(XG_GPRS, vcpuid, &gregs, guest_bitness); in prnt_vcpu_context()
135 gx_local_cmd(domid_t domid, vcpuid_t vcpuid) in gx_local_cmd() argument
138 if (vcpuid == -1) { in gx_local_cmd()
143 prnt_vcpu_context(vcpuid); in gx_local_cmd()
A Dgx_main.c643 vcpuid_t vcpuid; in main() local
646 check_usage_n_stuff(argc, argv, &domid, &vcpuid); in main()
658 if (vcpuid != -1 && vcpuid > max_vcpuid) { /* just got set */ in main()
659 printf("gdbsx: Invalid VCPU id:%d\n", vcpuid); in main()
663 exit_rc = gx_local_cmd(domid, vcpuid); in main()
A Dgx.h37 int gx_local_cmd(domid_t domid, vcpuid_t vcpuid);
/xen/xen/common/compat/
A Ddomain.c36 int compat_vcpu_op(int cmd, unsigned int vcpuid, XEN_GUEST_HANDLE_PARAM(void) arg) in compat_vcpu_op() argument
42 if ( (v = domain_vcpu(d, vcpuid)) == NULL ) in compat_vcpu_op()
85 cmd, vcpuid, arg); in compat_vcpu_op()
98 rc = do_vcpu_op(cmd, vcpuid, arg); in compat_vcpu_op()
124 rc = do_vcpu_op(cmd, vcpuid, guest_handle_from_ptr(nat, void)); in compat_vcpu_op()
/xen/tools/xl/
A Dxl_vcpu.c35 domname, tdomid, vcpuinfo->vcpuid); in print_vcpuinfo()
188 long vcpuid; in main_vcpupin() local
214 vcpuid = strtol(vcpu, &endptr, 10); in main_vcpupin()
215 if (vcpu == endptr || vcpuid < 0) { in main_vcpupin()
224 vcpuid = -1; in main_vcpupin()
299 if (libxl_set_vcpuaffinity_force(ctx, domid, vcpuid, hard, soft)) { in main_vcpupin()
301 vcpuid); in main_vcpupin()
305 else if (vcpuid != -1) { in main_vcpupin()
306 if (libxl_set_vcpuaffinity(ctx, domid, vcpuid, hard, soft)) { in main_vcpupin()
308 vcpuid); in main_vcpupin()
A Dxl_misc.c86 int vcpuid = 0; in main_trigger() local
103 vcpuid = strtol(argv[optind], &endptr, 10); in main_trigger()
104 if (vcpuid == 0 && !strcmp(endptr, argv[optind])) { in main_trigger()
109 libxl_send_trigger(ctx, domid, trigger, vcpuid, NULL); in main_trigger()
A Dxl_sched.c299 scinfo->vcpus[i].vcpuid, in sched_rtds_vcpu_output()
331 scinfo->vcpus[i].vcpuid, in sched_rtds_vcpu_output_all()
874 scinfo.vcpus[i].vcpuid = vcpus[i]; in main_sched_rtds()
893 scinfo.vcpus[i].vcpuid = vcpus[i]; in main_sched_rtds()
/xen/tools/libxl/
A Dlibxl_sched.c20 uint32_t vcpuid, in libxl__set_vcpuaffinity() argument
82 vcpuid); in libxl__set_vcpuaffinity()
86 vcpuid); in libxl__set_vcpuaffinity()
522 if (scinfo->vcpus[i].vcpuid < 0 || in sched_rtds_vcpu_get()
530 vcpus[i].vcpuid = scinfo->vcpus[i].vcpuid; in sched_rtds_vcpu_get()
546 scinfo->vcpus[i].vcpuid = vcpus[i].vcpuid; in sched_rtds_vcpu_get()
576 vcpus[i].vcpuid = i; in sched_rtds_vcpu_get_all()
595 scinfo->vcpus[i].vcpuid = vcpus[i].vcpuid; in sched_rtds_vcpu_get_all()
625 if (scinfo->vcpus[i].vcpuid < 0 || in sched_rtds_vcpu_set()
641 vcpus[i].vcpuid = scinfo->vcpus[i].vcpuid; in sched_rtds_vcpu_set()
[all …]
A Dlibxl.h2419 int libxl_set_vcpuaffinity(libxl_ctx *ctx, uint32_t domid, uint32_t vcpuid,
2423 uint32_t vcpuid,
2433 #define libxl_set_vcpuaffinity(ctx, domid, vcpuid, map) \ argument
2434 libxl_set_vcpuaffinity((ctx), (domid), (vcpuid), (map), NULL)
2519 libxl_trigger trigger, uint32_t vcpuid,
2524 libxl_ctx *ctx, uint32_t domid, libxl_trigger trigger, uint32_t vcpuid) in libxl_send_trigger_0x041200() argument
2526 return libxl_send_trigger(ctx, domid, trigger, vcpuid, NULL); in libxl_send_trigger_0x041200()
/xen/tools/libxc/
A Dxc_sr_restore_x86_pv.c236 unsigned int vcpuid) in process_vcpu_basic() argument
245 if ( vcpuid == 0 ) in process_vcpu_basic()
374 unsigned int vcpuid) in process_vcpu_extended() argument
378 &ctx->x86.pv.restore.vcpus[vcpuid]; in process_vcpu_extended()
398 unsigned int vcpuid) in process_vcpu_xsave() argument
402 &ctx->x86.pv.restore.vcpus[vcpuid]; in process_vcpu_xsave()
417 domctl.u.vcpuextstate.vcpu = vcpuid; in process_vcpu_xsave()
436 unsigned int vcpuid) in process_vcpu_msrs() argument
440 &ctx->x86.pv.restore.vcpus[vcpuid]; in process_vcpu_msrs()
455 domctl.u.vcpu_msrs.vcpu = vcpuid; in process_vcpu_msrs()
[all …]
A Dxc_altp2m.c72 uint32_t vcpuid, xen_pfn_t gfn) in xc_altp2m_set_vcpu_enable_notify() argument
84 arg->u.enable_notify.vcpu_id = vcpuid; in xc_altp2m_set_vcpu_enable_notify()
95 uint32_t vcpuid) in xc_altp2m_set_vcpu_disable_notify() argument
107 arg->u.disable_notify.vcpu_id = vcpuid; in xc_altp2m_set_vcpu_disable_notify()
390 uint32_t vcpuid, uint16_t *altp2m_idx) in xc_altp2m_get_vcpu_p2m_idx() argument
403 arg->u.get_vcpu_p2m_idx.vcpu_id = vcpuid; in xc_altp2m_get_vcpu_p2m_idx()
/xen/tools/firmware/hvmloader/
A Dhypercall.h170 int cmd, int vcpuid, void *extra_args) in hypercall_vcpu_op() argument
172 return _hypercall3(int, vcpu_op, cmd, vcpuid, extra_args); in hypercall_vcpu_op()
/xen/xen/include/xen/
A Dhypercall.h104 unsigned int vcpuid,
179 unsigned int vcpuid,
/xen/xen/arch/x86/cpu/mcheck/
A Dvmce.c370 unsigned int vcpuid = hvm_load_instance(h); in vmce_load_vcpu_ctxt() local
375 if ( vcpuid >= d->max_vcpus || (v = d->vcpu[vcpuid]) == NULL ) in vmce_load_vcpu_ctxt()
378 d->domain_id, vcpuid); in vmce_load_vcpu_ctxt()
/xen/tools/xentrace/
A Dxenalyze.c7414 unsigned int domid, vcpuid; in dump_sched_vcpu_action() member
7455 unsigned int domid, vcpuid; in sched_process() member
7522 r->domid, r->vcpuid); in sched_process()
7577 r->domid, r->vcpuid, in sched_process()
7614 unsigned int domid, vcpuid; in sched_process() member
7975 uint16_t vcpuid, domid; in sched_process() member
7986 uint16_t vcpuid, domid; in sched_process() member
7997 uint16_t vcpuid, domid; in sched_process() member
8008 uint16_t vcpuid, domid; in sched_process() member
8021 int16_t vcpuid, domid; in sched_process() member
[all …]
/xen/xen/arch/x86/hvm/
A Dhvm.c806 if ( vcpuid >= d->max_vcpus || (v = d->vcpu[vcpuid]) == NULL ) in hvm_load_tsc_adjust()
809 d->domain_id, vcpuid); in hvm_load_tsc_adjust()
1013 if ( vcpuid >= d->max_vcpus || (v = d->vcpu[vcpuid]) == NULL ) in hvm_load_cpu_ctxt()
1016 d->domain_id, vcpuid); in hvm_load_cpu_ctxt()
1245 unsigned int vcpuid, size; in hvm_load_cpu_xsave_states() local
1253 vcpuid = hvm_load_instance(h); in hvm_load_cpu_xsave_states()
1254 if ( vcpuid >= d->max_vcpus || (v = d->vcpu[vcpuid]) == NULL ) in hvm_load_cpu_xsave_states()
1271 d->domain_id, vcpuid); in hvm_load_cpu_xsave_states()
1338 d->domain_id, vcpuid); in hvm_load_cpu_xsave_states()
1438 if ( vcpuid >= d->max_vcpus || (v = d->vcpu[vcpuid]) == NULL ) in hvm_load_cpu_msrs()
[all …]
A Dmtrr.c731 unsigned int vcpuid, i; in hvm_load_mtrr_msr() local
736 vcpuid = hvm_load_instance(h); in hvm_load_mtrr_msr()
737 if ( vcpuid >= d->max_vcpus || (v = d->vcpu[vcpuid]) == NULL ) in hvm_load_mtrr_msr()
740 d->domain_id, vcpuid); in hvm_load_mtrr_msr()
A Dvlapic.c1530 unsigned int vcpuid = hvm_load_instance(h); in lapic_load_hidden() local
1538 if ( vcpuid >= d->max_vcpus || (v = d->vcpu[vcpuid]) == NULL ) in lapic_load_hidden()
1541 d->domain_id, vcpuid); in lapic_load_hidden()
1564 unsigned int vcpuid = hvm_load_instance(h); in lapic_load_regs() local
1572 if ( vcpuid >= d->max_vcpus || (v = d->vcpu[vcpuid]) == NULL ) in lapic_load_regs()
1575 d->domain_id, vcpuid); in lapic_load_regs()
/xen/xen/arch/x86/hvm/viridian/
A Dviridian.c824 unsigned int vcpuid = hvm_load_instance(h); in viridian_load_vcpu_ctxt() local
828 if ( vcpuid >= d->max_vcpus || (v = d->vcpu[vcpuid]) == NULL ) in viridian_load_vcpu_ctxt()
831 d->domain_id, vcpuid); in viridian_load_vcpu_ctxt()
/xen/xen/common/
A Devent_channel.c1411 unsigned int vcpuid; in evtchn_check_pollers() local
1418 for ( vcpuid = find_first_bit(d->poll_mask, d->max_vcpus); in evtchn_check_pollers()
1419 vcpuid < d->max_vcpus; in evtchn_check_pollers()
1420 vcpuid = find_next_bit(d->poll_mask, d->max_vcpus, vcpuid+1) ) in evtchn_check_pollers()
1422 v = d->vcpu[vcpuid]; in evtchn_check_pollers()
1424 test_and_clear_bit(vcpuid, d->poll_mask) ) in evtchn_check_pollers()
/xen/tools/python/xen/migration/
A Dlibxc.py351 vcpuid, res1 = unpack(X86_PV_VCPU_HDR_FORMAT, content[:minsz])
359 (vcpuid, name, len(content) - minsz))

Completed in 64 milliseconds

12