Searched refs:threads_per_subcore (Results 1 – 5 of 5) sorted by relevance
21 extern int threads_per_subcore;26 #define threads_per_subcore 1 macro81 return cpu & (threads_per_subcore - 1); in cpu_thread_in_subcore()
275 int sibling_mask_first_cpu = (1 << threads_per_subcore) - 1; in update_subcore_sibling_mask()279 int offset = (tid / threads_per_subcore) * threads_per_subcore; in update_subcore_sibling_mask()319 threads_per_subcore = threads_per_core / subcores_per_core; in cpu_update_split_mode()
394 int threads_per_core, threads_per_subcore, threads_shift; variable397 EXPORT_SYMBOL_GPL(threads_per_subcore);406 threads_per_subcore = tpc; in cpu_init_thread_core_maps()
1438 vcore->first_vcpuid = core * threads_per_subcore; in kvmppc_vcore_create()1607 core = id / threads_per_subcore; in kvmppc_core_vcpu_create_hv()1825 for (i = 1; i < threads_per_subcore; ++i) in kvmppc_wait_for_nap()1828 if (i == threads_per_subcore) { in kvmppc_wait_for_nap()1835 for (i = 1; i < threads_per_subcore; ++i) in kvmppc_wait_for_nap()1855 while (++thr < threads_per_subcore) in on_primary_thread()1860 for (thr = 1; thr < threads_per_subcore; ++thr) { in on_primary_thread()1990 ((vc->num_threads > threads_per_subcore) || !on_primary_thread())) { in kvmppc_run_core()2038 for (i = 0; i < threads_per_subcore; ++i) in kvmppc_run_core()
525 r = threads_per_subcore; in kvm_vm_ioctl_check_extension()