Searched refs:threads_per_core (Results 1 – 8 of 8) 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()
107 smt_enabled_at_boot = threads_per_core; in check_smt_enabled()112 smt_enabled_at_boot = threads_per_core; in check_smt_enabled()122 min(threads_per_core, (int)smt); in check_smt_enabled()132 smt_enabled_at_boot = threads_per_core; in check_smt_enabled()
376 int threads_per_core, threads_shift; variable383 threads_per_core = tpc; in cpu_init_thread_core_maps()
563 for (i = 0; i < threads_per_core; i++) { in start_secondary()654 for (i = 0; i < threads_per_core; i++) { in __cpu_disable()
690 if (c->threads_per_core > 1 || c->cores_per_socket > 1) in show_cpuinfo()802 c->threads_per_core = c->cores_per_socket = c->num_log = 1; in identify_cpu()807 if (c->threads_per_core > smp_num_siblings) in identify_cpu()808 smp_num_siblings = c->threads_per_core; in identify_cpu()
662 if (cpu_data(cpu)->threads_per_core == 1 && in remove_siblinginfo()824 if (cpu_data(cpu)->threads_per_core == 1 && in __cpu_up()900 c->threads_per_core = info.overview_tpc; in identify_siblings()
148 if (cpu_data(cpu)->threads_per_core <= 1 && in cache_shared_cpu_map_setup()
213 unsigned char threads_per_core; /* Threads per core */ member