Home
last modified time | relevance | path

Searched refs:threads_shift (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Dcputhreads.h25 extern int threads_shift;
30 #define threads_shift 0 macro
37 return nr_cpu_ids >> threads_shift; in cpu_nr_cores()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dcputhreads.h25 extern int threads_shift;
30 #define threads_shift 0 macro
65 return nr_cpu_ids >> threads_shift; in cpu_nr_cores()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dsetup-common.c393 int threads_per_core, threads_per_subcore, threads_shift __read_mostly;
397 EXPORT_SYMBOL_GPL(threads_shift); variable
411 threads_shift = ilog2(tpc); in cpu_init_thread_core_maps()
412 BUG_ON(tpc != (1 << threads_shift)); in cpu_init_thread_core_maps()
419 printk(KERN_DEBUG " (thread shift is %d)\n", threads_shift); in cpu_init_thread_core_maps()
H A Dsmp.c1257 return cpu >> threads_shift; in cpu_core_index_of_thread()
1263 return core << threads_shift; in cpu_first_thread_of_core()
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dsetup-common.c398 int threads_per_core, threads_per_subcore, threads_shift __read_mostly;
402 EXPORT_SYMBOL_GPL(threads_shift); variable
416 threads_shift = ilog2(tpc); in cpu_init_thread_core_maps()
417 BUG_ON(tpc != (1 << threads_shift)); in cpu_init_thread_core_maps()
424 printk(KERN_DEBUG " (thread shift is %d)\n", threads_shift); in cpu_init_thread_core_maps()
H A Dsmp.c1375 return cpu >> threads_shift; in cpu_core_index_of_thread()
1381 return core << threads_shift; in cpu_first_thread_of_core()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
H A Dbook3s_hv_rm_xics.c58 hcpu = hcore << threads_shift; in icp_send_hcore_msg()
117 int my_core = smp_processor_id() >> threads_shift; in find_available_hostcore()
923 core = cpu >> threads_shift; in kvmppc_xics_ipi_action()
H A Dbook3s_hv.c3040 core = cpu >> threads_shift; in kvmppc_clear_host_core()
3061 core = cpu >> threads_shift; in kvmppc_set_host_core()
4877 core = cpu >> threads_shift; in kvmppc_alloc_host_rm_ops()
/kernel/linux/linux-6.6/arch/powerpc/kvm/
H A Dbook3s_hv_rm_xics.c58 hcpu = hcore << threads_shift; in icp_send_hcore_msg()
117 int my_core = smp_processor_id() >> threads_shift; in find_available_hostcore()
913 core = cpu >> threads_shift; in kvmppc_xics_ipi_action()
H A Dbook3s_hv.c3662 core = cpu >> threads_shift; in kvmppc_clear_host_core()
3683 core = cpu >> threads_shift; in kvmppc_set_host_core()
5365 core = cpu >> threads_shift; in kvmppc_alloc_host_rm_ops()

Completed in 23 milliseconds