Home
last modified time | relevance | path

Searched refs:smp_threads (Results 1 – 3 of 3) sorted by relevance

/qemu/hw/ppc/
H A Dspapr.c126 (cpu_index / smp_threads) * spapr->vsmt + cpu_index % smp_threads; in spapr_vcpu_id()
2584 if (smp_threads > 1 && in spapr_set_vsmt_mode()
2591 if (smp_threads > 8) { in spapr_set_vsmt_mode()
2597 if (!is_power_of_2(smp_threads)) { in spapr_set_vsmt_mode()
2622 spapr->vsmt = smp_threads; in spapr_set_vsmt_mode()
2669 if (smp_cpus % smp_threads) { in spapr_init_cpus()
2674 if (max_cpus % smp_threads) { in spapr_init_cpus()
2688 int core_id = i * smp_threads; in spapr_init_cpus()
4008 if (cc->core_id % smp_threads) { in spapr_core_pre_plug()
4021 smp_threads); in spapr_core_pre_plug()
[all …]
H A Dspapr_caps.c475 unsigned int smp_threads = ms->smp.threads; in cap_nested_kvm_hv_apply() local
482 if (smp_threads > 1) { in cap_nested_kvm_hv_apply()
/qemu/hw/i386/
H A Dx86-common.c252 unsigned int smp_threads = ms->smp.threads; in x86_cpu_pre_plug() local
340 } else if (cpu->thread_id > (smp_threads - 1)) { in x86_cpu_pre_plug()
342 cpu->thread_id, smp_threads - 1); in x86_cpu_pre_plug()