Home
last modified time | relevance | path

Searched refs:threads_shift (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/arch/powerpc/include/asm/
Dcputhreads.h25 extern int threads_shift;
30 #define threads_shift 0 macro
64 return nr_cpu_ids >> threads_shift; in cpu_nr_cores()
/Linux-v4.19/arch/powerpc/kernel/
Dsetup-common.c404 int threads_per_core, threads_per_subcore, threads_shift; variable
408 EXPORT_SYMBOL_GPL(threads_shift);
422 threads_shift = ilog2(tpc); in cpu_init_thread_core_maps()
423 BUG_ON(tpc != (1 << threads_shift)); in cpu_init_thread_core_maps()
430 printk(KERN_DEBUG " (thread shift is %d)\n", threads_shift); in cpu_init_thread_core_maps()
Dsmp.c928 return cpu >> threads_shift; in cpu_core_index_of_thread()
934 return core << threads_shift; in cpu_first_thread_of_core()
/Linux-v4.19/arch/powerpc/kvm/
Dbook3s_hv_rm_xics.c61 hcpu = hcore << threads_shift; in icp_send_hcore_msg()
120 int my_core = smp_processor_id() >> threads_shift; in find_available_hostcore()
912 core = cpu >> threads_shift; in kvmppc_xics_ipi_action()
Dbook3s_hv.c2665 core = cpu >> threads_shift; in kvmppc_clear_host_core()
2686 core = cpu >> threads_shift; in kvmppc_set_host_core()
3888 core = cpu >> threads_shift; in kvmppc_alloc_host_rm_ops()