Searched refs:logical_cpus (Results 1 - 3 of 3) sorted by relevance

/freebsd-10-stable/sys/amd64/vmm/
H A Dx86.c94 unsigned int func, regs[4], logical_cpus; local
146 logical_cpus = threads_per_core *
148 regs[2] = logical_cpus - 1;
306 logical_cpus = threads_per_core * cores_per_package;
308 regs[1] |= (logical_cpus & 0xff) << 16;
325 logical_cpus = threads_per_core;
328 logical_cpus *= cores_per_package;
329 regs[0] |= (logical_cpus - 1) << 14;
391 logical_cpus = threads_per_core;
392 width = log2(logical_cpus);
[all...]
/freebsd-10-stable/sys/x86/x86/
H A Dmptable.c930 u_int i, id, logical_cpus; local
935 logical_cpus = (cpu_procinfo & CPUID_HTT_CORES) >> 16;
936 if (logical_cpus <= 1)
948 /* First, make sure we are on a logical_cpus boundary. */
949 if (id % logical_cpus != 0)
951 for (i = id + 1; i < id + logical_cpus; i++)
962 for (i = id + 1; i < id + logical_cpus; i++) {
/freebsd-10-stable/sys/i386/xen/
H A Dmp_machdep.c153 static u_int logical_cpus; variable
325 logical_cpus = 0;
328 logical_cpus = (cpu_procinfo & CPUID_HTT_CORES) >> 16;
635 if (logical_cpus > 1 && PCPU_GET(apic_id) % logical_cpus != 0)

Completed in 164 milliseconds