/xen/tools/firmware/hvmloader/ |
A D | vnuma.c | 45 ASSERT(vnuma_topo.nr_vcpus == hvm_info->nr_vcpus); in init_vnuma_info() 48 scratch_alloc(sizeof(*vcpu_to_vnode) * hvm_info->nr_vcpus, 0); in init_vnuma_info()
|
A D | smp.c | 123 unsigned int i, nr_cpus = hvm_info->nr_vcpus; in smp_initialise()
|
A D | mp_tables.c | 157 vcpu_nr = hvm_info->nr_vcpus; in fill_mp_config_table() 271 vcpu_nr = hvm_info->nr_vcpus; in create_mp_tables()
|
A D | hvmloader.c | 391 if ( (hvm_info->nr_vcpus > 1) || hvm_info->apic_mode ) in main()
|
A D | smbios.c | 316 hvm_info->nr_vcpus, get_memsize(), in hvm_write_smbios_tables()
|
/xen/tools/libxc/ |
A D | xc_rt.c | 87 domctl.u.scheduler_op.u.v.nr_vcpus = num_vcpus - processed; in xc_sched_rtds_vcpu_set() 92 processed += domctl.u.scheduler_op.u.v.nr_vcpus; in xc_sched_rtds_vcpu_set() 121 domctl.u.scheduler_op.u.v.nr_vcpus = num_vcpus - processed; in xc_sched_rtds_vcpu_get() 126 processed += domctl.u.scheduler_op.u.v.nr_vcpus; in xc_sched_rtds_vcpu_get()
|
A D | xc_core.c | 352 int nr_vcpus, unsigned long nr_pages) in elfnote_dump_core_header() argument 364 header.xch_nr_vcpus = nr_vcpus; in elfnote_dump_core_header() 430 int nr_vcpus = 0; in xc_domain_dumpcore_via_callback() local 533 if ( xc_vcpu_getcontext(xch, domid, i, &ctxt[nr_vcpus]) == 0 ) in xc_domain_dumpcore_via_callback() 535 if ( xc_core_arch_context_get(&arch_ctxt, &ctxt[nr_vcpus], in xc_domain_dumpcore_via_callback() 538 nr_vcpus++; in xc_domain_dumpcore_via_callback() 541 if ( nr_vcpus == 0 ) in xc_domain_dumpcore_via_callback() 656 filesz = sizeof(*ctxt) * nr_vcpus; in xc_domain_dumpcore_via_callback() 768 sts = elfnote_dump_core_header(xch, args, dump_rtn, &info, nr_vcpus, nr_pages); in xc_domain_dumpcore_via_callback() 783 sts = dump_rtn(xch, args, (char *)ctxt, sizeof(*ctxt) * nr_vcpus); in xc_domain_dumpcore_via_callback()
|
A D | xc_sr_restore_x86_pv.c | 480 for ( i = 0; i < ctx->x86.pv.restore.nr_vcpus; ++i ) in update_vcpu_context() 808 if ( vhdr->vcpu_id >= ctx->x86.pv.restore.nr_vcpus ) in handle_x86_pv_vcpu_blob() 811 rec_name, vhdr->vcpu_id, ctx->x86.pv.restore.nr_vcpus - 1); in handle_x86_pv_vcpu_blob() 1063 ctx->x86.pv.restore.nr_vcpus = ctx->dominfo.max_vcpu_id + 1; in x86_pv_setup() 1065 ctx->x86.pv.restore.nr_vcpus); in x86_pv_setup() 1163 for ( i = 0; i < ctx->x86.pv.restore.nr_vcpus; ++i ) in x86_pv_cleanup()
|
A D | xc_domain.c | 2200 uint32_t nr_vcpus, in xc_domain_setvnuma() argument 2213 DECLARE_HYPERCALL_BOUNCE(vcpu_to_vnode, sizeof(*vcpu_to_vnode) * nr_vcpus, in xc_domain_setvnuma() 2220 if ( nr_vnodes == 0 || nr_vmemranges == 0 || nr_vcpus == 0 ) in xc_domain_setvnuma() 2248 domctl.u.vnuma.nr_vcpus = nr_vcpus; in xc_domain_setvnuma() 2266 uint32_t *nr_vcpus, in xc_domain_getvnuma() argument 2277 DECLARE_HYPERCALL_BOUNCE(vcpu_to_vnode, sizeof(*vcpu_to_vnode) * *nr_vcpus, in xc_domain_getvnuma() 2296 vnuma_topo.nr_vcpus = *nr_vcpus; in xc_domain_getvnuma() 2305 *nr_vcpus = vnuma_topo.nr_vcpus; in xc_domain_getvnuma()
|
A D | xc_sr_common.h | 366 unsigned int nr_vcpus; member
|
/xen/tools/libxl/ |
A D | libxl_numa.c | 172 int i, nr_vcpus = 0; in nodemap_to_nr_vcpus() local 175 nr_vcpus += vcpus_on_node[i]; in nodemap_to_nr_vcpus() 177 return nr_vcpus; in nodemap_to_nr_vcpus() 483 new_cndt.nr_vcpus = nodemap_to_nr_vcpus(gc, vcpus_on_node, in libxl__get_numa_candidate() 501 new_cndt.nr_cpus, new_cndt.nr_vcpus, in libxl__get_numa_candidate() 505 cndt_out->nr_vcpus = new_cndt.nr_vcpus; in libxl__get_numa_candidate()
|
A D | libxl_x86_acpi.c | 121 &hvminfo->nr_vcpus, NULL, NULL, NULL); in init_acpi_config() 130 vcpu_to_vnode = libxl__zalloc(gc, hvminfo->nr_vcpus * in init_acpi_config() 133 &numa->nr_vmemranges, &hvminfo->nr_vcpus, in init_acpi_config() 144 hvminfo->nr_vcpus = info.max_vcpu_id + 1; in init_acpi_config() 147 for (i = 0; i < hvminfo->nr_vcpus; i++) in init_acpi_config()
|
A D | libxl_dom.c | 135 if (c1->nr_vcpus != c2->nr_vcpus) in numa_cmpf() 136 return c1->nr_vcpus - c2->nr_vcpus; in numa_cmpf() 751 va_hvm->nr_vcpus = info->max_vcpus; in hvm_build_set_params()
|
A D | libxl_dom_save.c | 391 unsigned int nr_vnodes = 0, nr_vmemranges = 0, nr_vcpus = 0; in libxl__domain_save() local 422 &nr_vcpus, NULL, NULL, NULL); in libxl__domain_save()
|
/xen/xen/include/public/hvm/ |
A D | hvm_info_table.h | 54 uint32_t nr_vcpus; member
|
/xen/tools/libacpi/ |
A D | build.c | 91 sz += sizeof(struct acpi_20_madt_lapic) * hvminfo->nr_vcpus; in construct_madt() 150 info->nr_cpus = hvminfo->nr_vcpus; in construct_madt() 152 for ( i = 0; i < hvminfo->nr_vcpus; i++ ) in construct_madt() 224 size = sizeof(*srat) + sizeof(*processor) * config->hvminfo->nr_vcpus + in construct_srat() 242 for ( i = 0; i < config->hvminfo->nr_vcpus; i++ ) in construct_srat() 357 if ( (config->hvminfo->nr_vcpus > 1) || config->hvminfo->apic_mode ) in construct_secondary_tables() 547 if ( config->hvminfo->nr_vcpus <= 15 && config->dsdt_15cpu) in acpi_build_tables()
|
/xen/xen/arch/arm/vgic/ |
A D | vgic-mmio-v2.c | 89 unsigned int nr_vcpus = d->max_vcpus; in vgic_mmio_write_sgir() local 98 targets &= GENMASK(nr_vcpus - 1, 0); /* limit to existing VCPUs */ in vgic_mmio_write_sgir() 101 targets = GENMASK(nr_vcpus - 1, 0); /* all, ... */ in vgic_mmio_write_sgir()
|
/xen/tools/xl/ |
A D | xl_vcpu.c | 328 static int vcpuset(uint32_t domid, const char* nr_vcpus, int check_host) in vcpuset() argument 337 max_vcpus = strtoul(nr_vcpus, &endptr, 10); in vcpuset() 338 if (nr_vcpus == endptr || max_vcpus > INT_MAX) { in vcpuset()
|
/xen/xen/common/compat/ |
A D | memory.c | 461 cmp.vnuma.nr_vcpus = nat.vnuma->nr_vcpus; in compat_memory_op() 585 cmp.vnuma.nr_vcpus = nat.vnuma->nr_vcpus; in compat_memory_op()
|
/xen/xen/include/public/ |
A D | domctl.h | 418 uint32_t nr_vcpus; member 977 uint32_t nr_vcpus; member
|
A D | memory.h | 704 unsigned int nr_vcpus; member
|
/xen/xen/common/ |
A D | domctl.c | 257 unsigned int nr_vcpus) in vnuma_alloc() argument 280 vnuma->vcpu_to_vnode = xmalloc_array(unsigned int, nr_vcpus); in vnuma_alloc() 306 if ( uinfo->nr_vcpus != d->max_vcpus || uinfo->pad != 0 ) in vnuma_init()
|
A D | memory.c | 1528 topology.nr_vcpus < dom_vcpus || in do_memory_op() 1535 topology.nr_vcpus = dom_vcpus; in do_memory_op() 1599 topology.nr_vcpus = dom_vcpus; in do_memory_op()
|
/xen/xen/common/sched/ |
A D | rt.c | 1383 while ( index < op->u.v.nr_vcpus ) in rt_dom_cntl() 1444 op->u.v.nr_vcpus = index; in rt_dom_cntl()
|
/xen/tools/libxc/include/ |
A D | xenctrl.h | 1275 uint32_t nr_vcpus, 1294 uint32_t *nr_vcpus,
|