Searched refs:threads_per_subcore (Results 1 – 6 of 6) sorted by relevance
24 extern int threads_per_subcore;30 #define threads_per_subcore 1 macro89 return cpu & (threads_per_subcore - 1); in cpu_thread_in_subcore()
272 int sibling_mask_first_cpu = (1 << threads_per_subcore) - 1; in update_subcore_sibling_mask()276 int offset = (tid / threads_per_subcore) * threads_per_subcore; in update_subcore_sibling_mask()316 threads_per_subcore = threads_per_core / subcores_per_core; in cpu_update_split_mode()
396 int threads_per_core, threads_per_subcore, threads_shift __read_mostly; variable399 EXPORT_SYMBOL_GPL(threads_per_subcore);408 threads_per_subcore = tpc; in cpu_init_thread_core_maps()
136 return threads_per_subcore; in kvmppc_cur_subcore_size()
2089 return threads_per_subcore; in threads_per_vcore()2400 if (smt_mode > threads_per_subcore) in kvmhv_set_smt_mode()2672 while (++thr < threads_per_subcore) in on_primary_thread()2677 for (thr = 1; thr < threads_per_subcore; ++thr) { in on_primary_thread()2780 if (n_subcores > 1 && threads_per_subcore < MAX_SMT_THREADS) in subcore_config_ok()3099 ((vc->num_threads > threads_per_subcore) || !on_primary_thread())) || in kvmppc_run_core()3161 subcore_size = threads_per_subcore; in kvmppc_run_core()3240 if (split == 1 && threads_per_subcore == MAX_SMT_THREADS && in kvmppc_run_core()3285 for (thr = 1; thr < threads_per_subcore; ++thr) in kvmppc_run_core()4939 kvm->arch.smt_mode = threads_per_subcore; in kvmppc_core_init_vm_hv()
585 r = threads_per_subcore; in kvm_vm_ioctl_check_extension()592 r = ((threads_per_subcore << 1) - 1); in kvm_vm_ioctl_check_extension()