Searched refs:threads_per_core (Results 1 – 13 of 13) 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()187 for (i = cpu + 1; i < cpu + threads_per_core; i++) in unsplit_core()286 threads_per_subcore = threads_per_core / subcores_per_core; in cpu_update_split_mode()383 if (setup_max_cpus % threads_per_core) in subcore_init()
143 smt_enabled_at_boot = threads_per_core; in check_smt_enabled()148 smt_enabled_at_boot = threads_per_core; in check_smt_enabled()158 min(threads_per_core, smt); in check_smt_enabled()168 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()
501 if (threads_per_core > 1 && secondaries_inhibited() && in __cpu_up()720 for (i = 0; i < threads_per_core; i++) { in start_secondary()820 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()
1683 struct kvm_vcpu *vcpus_to_update[threads_per_core]; in kvmppc_run_core()1723 if ((threads_per_core > 1) && in kvmppc_run_core()
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()
593 if (cpu_data(cpu)->threads_per_core == 1 && in remove_siblinginfo()754 if (cpu_data(cpu)->threads_per_core == 1 && in __cpu_up()829 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()
215 unsigned char threads_per_core; /* Threads per core */ member
585 for (i = 0; i < threads_per_core; i++) { in verify_cpu_node_mapping()1545 for (j = 0; j < threads_per_core; j++) { in update_lookup_table()