Searched refs:threads_per_core (Results 1 – 10 of 10) sorted by relevance
20 extern int threads_per_core;24 #define threads_per_core 1 macro46 for (i = 0; i < NR_CPUS; i += threads_per_core) { in cpu_thread_mask_to_cores()74 return cpu & (threads_per_core - 1); in cpu_thread_in_core()79 return cpu & ~(threads_per_core - 1); in cpu_first_thread_sibling()84 return cpu | (threads_per_core - 1); in cpu_last_thread_sibling()
112 smt_enabled_at_boot = threads_per_core; in check_smt_enabled()117 smt_enabled_at_boot = threads_per_core; in check_smt_enabled()127 min(threads_per_core, (int)smt); in check_smt_enabled()137 smt_enabled_at_boot = threads_per_core; in check_smt_enabled()
384 int threads_per_core, threads_shift; variable386 EXPORT_SYMBOL_GPL(threads_per_core);394 threads_per_core = tpc; in cpu_init_thread_core_maps()
650 for (i = 0; i < threads_per_core; i++) { in start_secondary()741 for (i = 0; i < threads_per_core; i++) { in __cpu_disable()
708 if (c->threads_per_core > 1 || c->cores_per_socket > 1) in show_cpuinfo()820 c->threads_per_core = c->cores_per_socket = c->num_log = 1; in identify_cpu()825 if (c->threads_per_core > smp_num_siblings) in identify_cpu()826 smp_num_siblings = c->threads_per_core; in identify_cpu()
656 if (cpu_data(cpu)->threads_per_core == 1 && in remove_siblinginfo()818 if (cpu_data(cpu)->threads_per_core == 1 && in __cpu_up()894 c->threads_per_core = info.overview_tpc; in identify_siblings()
149 if (cpu_data(cpu)->threads_per_core <= 1 && in cache_shared_cpu_map_setup()
451 core = id / threads_per_core; in kvmppc_core_vcpu_create()627 while (++thr < threads_per_core) in on_primary_thread()655 if (threads_per_core > 1 && !on_primary_thread()) { in kvmppc_run_core()
242 r = threads_per_core; in kvm_dev_ioctl_check_extension()
216 unsigned char threads_per_core; /* Threads per core */ member