Searched refs:logical_cpus (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/amd64/vmm/ |
H A D | x86.c | 83 unsigned int func, regs[4], logical_cpus, param; in x86_emulate_cpuid() local 155 logical_cpus = MIN(0xFF, threads * cores - 1); in x86_emulate_cpuid() 156 regs[2] = (width << AMDID_COREID_SIZE_SHIFT) | logical_cpus; in x86_emulate_cpuid() 244 logical_cpus = threads; in x86_emulate_cpuid() 249 logical_cpus = threads; in x86_emulate_cpuid() 254 logical_cpus = threads * cores; in x86_emulate_cpuid() 259 logical_cpus = 0; in x86_emulate_cpuid() 265 logical_cpus = MIN(0xfff, logical_cpus - 1); in x86_emulate_cpuid() 266 regs[0] = (logical_cpus << 14) | (1 << 8) | in x86_emulate_cpuid() 383 logical_cpus = threads * cores; in x86_emulate_cpuid() [all …]
|
/freebsd/sys/x86/x86/ |
H A D | mptable.c | 1002 u_int i, id, logical_cpus; in mptable_hyperthread_fixup() local 1007 logical_cpus = (cpu_procinfo & CPUID_HTT_CORES) >> 16; in mptable_hyperthread_fixup() 1008 if (logical_cpus <= 1) in mptable_hyperthread_fixup() 1021 if (id % logical_cpus != 0) in mptable_hyperthread_fixup() 1023 for (i = id + 1; i < id + logical_cpus; i++) in mptable_hyperthread_fixup() 1034 for (i = id + 1; i < id + logical_cpus; i++) { in mptable_hyperthread_fixup()
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | z_Linux_util.cpp | 2457 int logical_cpus = perfstat_cpu(NULL, NULL, sizeof(perfstat_cpu_t), 0); in __kmp_get_load_balance() local 2458 if (logical_cpus <= 0) { in __kmp_get_load_balance() 2464 logical_cpus * sizeof(perfstat_cpu_t)); in __kmp_get_load_balance() 2477 logical_cpus); in __kmp_get_load_balance() 2478 KMP_DEBUG_ASSERT(rc == logical_cpus); in __kmp_get_load_balance() 2484 for (int i = 0; i < logical_cpus; ++i) { in __kmp_get_load_balance()
|