Home
last modified time | relevance | path

Searched refs:max_vcpus (Results 1 – 25 of 65) sorted by relevance

123

/xen-4.10.0-shim-comet/xen/arch/x86/
A Ddom0_build.c162 unsigned int i, max_vcpus, limit; in dom0_max_vcpus() local
192 max_vcpus = cpumask_weight(&dom0_cpus); in dom0_max_vcpus()
193 if ( opt_dom0_max_vcpus_min > max_vcpus ) in dom0_max_vcpus()
194 max_vcpus = opt_dom0_max_vcpus_min; in dom0_max_vcpus()
196 max_vcpus = opt_dom0_max_vcpus_max; in dom0_max_vcpus()
198 if ( max_vcpus > limit ) in dom0_max_vcpus()
199 max_vcpus = limit; in dom0_max_vcpus()
201 return max_vcpus; in dom0_max_vcpus()
214 dom0->max_vcpus = max_vcpus; in alloc_dom0_vcpu0()
289 avail -= (d->max_vcpus - 1UL) in dom0_compute_nr_pages()
[all …]
A Ddomctl.c673 if ( domctl->u.sendtrigger.vcpu >= d->max_vcpus || in arch_do_domctl()
873 if ( (evc->vcpu >= d->max_vcpus) || in arch_do_domctl()
1013 if ( (domctl->u.debug_op.vcpu >= d->max_vcpus) || in arch_do_domctl()
1041 if ( domctl->u.gdbsx_pauseunp_vcpu.vcpu >= d->max_vcpus || in arch_do_domctl()
1056 if ( domctl->u.gdbsx_pauseunp_vcpu.vcpu >= d->max_vcpus || in arch_do_domctl()
1102 if ( (evc->vcpu >= d->max_vcpus) || in arch_do_domctl()
1297 if ( (vmsrs->vcpu >= d->max_vcpus) || in arch_do_domctl()
A Dnuma.c452 vnuma->nr_vnodes, d->max_vcpus); in dump_numa()
466 for ( j = 0; j < d->max_vcpus; j++ ) in dump_numa()
/xen-4.10.0-shim-comet/tools/xl/
A Dxl_vcpu.c258 unsigned int max_vcpus, i; in vcpuset() local
263 max_vcpus = strtoul(nr_vcpus, &endptr, 10); in vcpuset()
283 if (max_vcpus > online_vcpus && max_vcpus > host_cpu) { in vcpuset()
286 " continue\n", host_cpu, max_vcpus); in vcpuset()
290 rc = libxl_cpu_bitmap_alloc(ctx, &cpumap, max_vcpus); in vcpuset()
295 for (i = 0; i < max_vcpus; i++) in vcpuset()
303 " rc: %d\n", domid, max_vcpus, rc); in vcpuset()
A Dxl_parse.c328 if (buf || num_cpus > b_info->max_vcpus) in parse_vcpu_affinity()
329 num_cpus = b_info->max_vcpus; in parse_vcpu_affinity()
689 max_vcpus++; in parse_vnuma_config()
715 if (b_info->max_vcpus != 0) { in parse_vnuma_config()
716 if (b_info->max_vcpus != max_vcpus) { in parse_vnuma_config()
728 if (host_cpus < max_vcpus) { in parse_vnuma_config()
734 b_info->max_vcpus = max_vcpus; in parse_vnuma_config()
1017 b_info->max_vcpus = l; in parse_config_data()
1034 if (b_info->max_vcpus == 0) in parse_config_data()
1035 b_info->max_vcpus = vcpus; in parse_config_data()
[all …]
/xen-4.10.0-shim-comet/xen/common/
A Ddomctl.c343 d->max_vcpus) ) in vnuma_init()
347 for ( i = 0; i < d->max_vcpus; ++i ) in vnuma_init()
570 unsigned int i, max = op->u.max_vcpus.max, cpu; in do_domctl()
604 if ( (max < d->max_vcpus) && (d->vcpu[max] != NULL) ) in do_domctl()
614 if ( (d->max_vcpus > 0) && (max > d->max_vcpus) ) in do_domctl()
619 if ( max > d->max_vcpus ) in do_domctl()
624 BUG_ON(d->max_vcpus != 0); in do_domctl()
632 d->max_vcpus = max; in do_domctl()
697 if ( vcpuaff->vcpu >= d->max_vcpus ) in do_domctl()
858 if ( op->u.vcpucontext.vcpu >= d->max_vcpus || in do_domctl()
[all …]
A Dvm_event.c148 for (i = ved->last_vcpu_wake_up + 1, j = 0; j < d->max_vcpus; i++, j++) in vm_event_wake_blocked()
150 k = i % d->max_vcpus; in vm_event_wake_blocked()
318 if( curr->domain == d && avail_req < d->max_vcpus && in vm_event_put_request()
395 if ( (rsp.vcpu_id >= d->max_vcpus) || !d->vcpu[rsp.vcpu_id] ) in vm_event_resume()
A Devent_channel.c378 if ( (vcpu < 0) || (vcpu >= d->max_vcpus) || in evtchn_bind_virq()
428 if ( (vcpu < 0) || (vcpu >= d->max_vcpus) || in evtchn_bind_ipi()
942 if ( (vcpu_id >= d->max_vcpus) || (d->vcpu[vcpu_id] == NULL) ) in evtchn_bind_vcpu()
1277 if ( likely(bitmap_empty(d->poll_mask, d->max_vcpus)) ) in evtchn_check_pollers()
1281 for ( vcpuid = find_first_bit(d->poll_mask, d->max_vcpus); in evtchn_check_pollers()
1282 vcpuid < d->max_vcpus; in evtchn_check_pollers()
1283 vcpuid = find_next_bit(d->poll_mask, d->max_vcpus, vcpuid+1) ) in evtchn_check_pollers()
1390 d->poll_mask, d->max_vcpus); in domain_dump_evtchn_info()
/xen-4.10.0-shim-comet/tools/libxl/
A Dlibxl_arm_acpi.c79 ACPI_MADT_GICC_SIZE_v5 * info->max_vcpus + in libxl__estimate_madt_size()
84 ACPI_MADT_GICC_SIZE_v5 * info->max_vcpus + in libxl__estimate_madt_size()
306 make_acpi_madt_gicc(table, info->max_vcpus, GUEST_GICC_BASE); in make_acpi_madt()
308 table += ACPI_MADT_GICC_SIZE_v5 * info->max_vcpus; in make_acpi_madt()
313 make_acpi_madt_gicc(table, info->max_vcpus, 0); in make_acpi_madt()
315 table += ACPI_MADT_GICC_SIZE_v5 * info->max_vcpus; in make_acpi_madt()
A Dlibxl_domain.c1472 unsigned int max_vcpus, in libxl__update_avail_vcpus_qmp() argument
1489 unsigned int max_vcpus, in libxl__update_avail_vcpus_xenstore() argument
1502 for (i = 0; i < max_vcpus; i++) { in libxl__update_avail_vcpus_xenstore()
1567 unsigned int max_vcpus = d_config->b_info.max_vcpus; in libxl_retrieve_domain_configuration() local
1572 libxl_bitmap_alloc(CTX, map, max_vcpus); in libxl_retrieve_domain_configuration()
1582 max_vcpus, map); in libxl_retrieve_domain_configuration()
1586 max_vcpus, map); in libxl_retrieve_domain_configuration()
1595 max_vcpus, map); in libxl_retrieve_domain_configuration()
A Dlibxl_vnuma.c129 libxl_cpu_bitmap_alloc(CTX, &cpumap, b_info->max_vcpus); in libxl__vnuma_config_check()
142 for (i = 0; i < b_info->max_vcpus; i++) { in libxl__vnuma_config_check()
A Dlibxl_dom.c176 rc = libxl__get_numa_candidate(gc, memkb, info->max_vcpus, in numa_place_domain()
356 if (xc_domain_max_vcpus(ctx->xch, domid, info->max_vcpus) != 0) { in libxl__build_pre()
417 libxl_set_vcpuaffinity_all(ctx, domid, info->max_vcpus, in libxl__build_pre()
614 ents = libxl__calloc(gc, 12 + (info->max_vcpus * 2) + 2, sizeof(char *)); in libxl__build_post()
628 for (i = 0; i < info->max_vcpus; i++) { in libxl__build_post()
663 vcpu_to_vnode = libxl__calloc(gc, info->max_vcpus, in set_vnuma_info()
690 state->num_vmemranges, info->max_vcpus, in set_vnuma_info()
889 va_hvm->nr_vcpus = info->max_vcpus; in hvm_build_set_params()
/xen-4.10.0-shim-comet/xen/arch/arm/arm32/
A Dproc-caxx.c27 if ( v->domain->max_vcpus > 1 ) in caxx_vcpu_initialise()
/xen-4.10.0-shim-comet/xen/arch/arm/
A Dvpsci.c37 if ( vcpuid >= d->max_vcpus || (v = d->vcpu[vcpuid]) == NULL ) in do_common_cpu_on()
164 for ( vcpuid = 0; vcpuid < d->max_vcpus; vcpuid++ ) in do_psci_0_2_affinity_info()
A Dvgic-v2.c143 if ( !new_target || (new_target > d->max_vcpus) ) in vgic_store_itargetsr()
193 typer = ((v->domain->max_vcpus - 1) << GICD_TYPE_CPUS_SHIFT) in vgic_v2_distr_mmio_read()
727 .max_vcpus = 8,
A Dvgic-v3.c91 if ( vcpu_id >= d->max_vcpus ) in vgic_v3_irouter_to_vcpu()
1037 if ( unlikely(vcpu_id >= d->max_vcpus) ) in get_vcpu_from_rdist()
1124 unsigned int ncpus = min_t(unsigned int, v->domain->max_vcpus, 8); in vgic_v3_distr_mmio_read()
1635 if ( v->vcpu_id == last_cpu || (v->vcpu_id == (d->max_vcpus - 1)) ) in vgic_v3_vcpu_init()
1803 .max_vcpus = 4096,
/xen-4.10.0-shim-comet/xen/arch/x86/cpu/mcheck/
A Dvmce.h8 #define dom0_vmce_enabled() (hardware_domain && hardware_domain->max_vcpus \
A Dvmce.c381 if ( vcpuid >= d->max_vcpus || (v = d->vcpu[vcpuid]) == NULL ) in vmce_load_vcpu_ctxt()
482 ASSERT(vmce_vcpuid >= 0 && vmce_vcpuid < d->max_vcpus); in fill_vmsr_data()
/xen-4.10.0-shim-comet/xen/include/asm-x86/
A Dmonitor.h54 if ( d->max_vcpus && d->vcpu[0] && d->vcpu[0]->arch.vm_event ) in arch_monitor_domctl_op()
/xen-4.10.0-shim-comet/xen/common/compat/
A Ddomain.c42 if ( vcpuid >= d->max_vcpus || (v = d->vcpu[vcpuid]) == NULL ) in compat_vcpu_op()
/xen-4.10.0-shim-comet/xen/arch/x86/cpu/
A Dvpmu.c187 if ( hardware_domain->max_vcpus == 0 ) in choose_hwdom_vcpu()
190 idx = smp_processor_id() % hardware_domain->max_vcpus; in choose_hwdom_vcpu()
608 if ( (params->vcpu >= d->max_vcpus) || (d->vcpu[params->vcpu] == NULL) ) in pvpmu_init()
659 if ( (params->vcpu >= d->max_vcpus) || (d->vcpu[params->vcpu] == NULL) ) in pvpmu_finish()
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/
A Ddom0_build.c589 for ( i = 1; i < d->max_vcpus; i++ ) in pvh_setup_cpus()
667 unsigned int i, max_vcpus; in pvh_setup_acpi_madt() local
678 max_vcpus = dom0_max_vcpus(); in pvh_setup_acpi_madt()
684 size += sizeof(*x2apic) * max_vcpus; in pvh_setup_acpi_madt()
724 for ( i = 0; i < max_vcpus; i++ ) in pvh_setup_acpi_madt()
/xen-4.10.0-shim-comet/tools/flask/policy/policy/
A Dmls77 mlsconstrain domain { setvcpucontext pause unpause resume create max_vcpus destroy setaffinity sche…
/xen-4.10.0-shim-comet/xen/include/asm-arm/
A Dvgic.h150 const unsigned int max_vcpus; member
/xen-4.10.0-shim-comet/tools/flask/policy/modules/
A Ddom0.te35 setvcpucontext max_vcpus setaffinity getaffinity getscheduler

Completed in 47 milliseconds

123