Searched refs:threads_per_core (Results 1 – 16 of 16) sorted by relevance
20 extern int threads_per_core;25 #define threads_per_core 1 macro48 for (i = 0; i < NR_CPUS; i += threads_per_core) { in cpu_thread_mask_to_cores()76 return cpu & (threads_per_core - 1); in cpu_thread_in_core()86 return cpu & ~(threads_per_core - 1); in cpu_first_thread_sibling()91 return cpu | (threads_per_core - 1); in cpu_last_thread_sibling()
155 for (i = cpu + 1; i < cpu + threads_per_core; i++) in wait_for_sync_step()200 for (i = cpu + 1; i < cpu + threads_per_core; i++) in unsplit_core()319 threads_per_subcore = threads_per_core / subcores_per_core; in cpu_update_split_mode()417 if (setup_max_cpus % threads_per_core) in subcore_init()
366 int first_cpu = i * threads_per_core; in pnv_alloc_idle_core_states()372 for (j = 0; j < threads_per_core; j++) { in pnv_alloc_idle_core_states()
144 smt_enabled_at_boot = threads_per_core; in check_smt_enabled()149 smt_enabled_at_boot = threads_per_core; in check_smt_enabled()159 min(threads_per_core, smt); in check_smt_enabled()169 smt_enabled_at_boot = threads_per_core; in check_smt_enabled()
394 int threads_per_core, threads_per_subcore, threads_shift; variable396 EXPORT_SYMBOL_GPL(threads_per_core);405 threads_per_core = tpc; in cpu_init_thread_core_maps()
487 if (threads_per_core > 1 && secondaries_inhibited() && in __cpu_up()706 for (i = 0; i < threads_per_core; i++) { in start_secondary()806 for (i = 0; i < threads_per_core; i++) { in __cpu_disable()
373 if (threads_per_core == 2) in kvmppc_core_init_vm_e500mc()384 if (threads_per_core == 2) in kvmppc_core_destroy_vm_e500mc()421 kvmppc_init_lpid(KVMPPC_NR_LPIDS/threads_per_core); in kvmppc_e500mc_init()
302 if (threads_per_core == 2) in get_thread_specific_lpid()
1989 if ((threads_per_core > 1) && in kvmppc_run_core()
709 if (c->threads_per_core > 1 || c->cores_per_socket > 1) in show_cpuinfo()821 c->threads_per_core = c->cores_per_socket = c->num_log = 1; in identify_cpu()826 if (c->threads_per_core > smp_num_siblings) in identify_cpu()827 smp_num_siblings = c->threads_per_core; in identify_cpu()
594 if (cpu_data(cpu)->threads_per_core == 1 && in remove_siblinginfo()757 if (cpu_data(cpu)->threads_per_core == 1 && in __cpu_up()832 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()
373 for (i = 0; i < threads_per_core; i++) in powernv_cpufreq_cpu_init()
152 cpuid, cpuid + threads_per_core - 1); in make_sensor_label()
563 for (i = 0; i < threads_per_core; i++) { in verify_cpu_node_mapping()1349 for (j = 0; j < threads_per_core; j++) { in update_lookup_table()
215 unsigned char threads_per_core; /* Threads per core */ member