Home
last modified time | relevance | path

Searched refs:smp_cpu_mtid (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/arch/s390/kernel/
Dvtime.c72 stcctm(MT_DIAG, smp_cpu_mtid + 1, cycles_new); in update_mt_scaling()
76 for (i = 0; i <= smp_cpu_mtid; i++) { in update_mt_scaling()
89 sizeof(u64) * (smp_cpu_mtid + 1)); in update_mt_scaling()
109 if (smp_cpu_mtid) in scale_vtime()
146 if (smp_cpu_mtid && in do_account_vtime()
448 if (smp_cpu_mtid) { in vtime_init()
452 stcctm(MT_DIAG, smp_cpu_mtid + 1, this_cpu_ptr(mt_cycles)); in vtime_init()
Didle.c31 if (smp_cpu_mtid) { in account_idle_time_irq()
32 stcctm(MT_DIAG, smp_cpu_mtid, cycles_new); in account_idle_time_irq()
33 for (i = 0; i < smp_cpu_mtid; i++) in account_idle_time_irq()
Dsmp.c90 unsigned int smp_cpu_mtid; variable
91 EXPORT_SYMBOL(smp_cpu_mtid);
370 if (smp_cpu_mtid == mtid) in pcpu_set_smt()
374 smp_cpu_mtid = mtid; in pcpu_set_smt()
376 while (smp_cpu_mtid >= (1U << smp_cpu_mt_shift)) in pcpu_set_smt()
781 for (i = 0; (i <= smp_cpu_mtid) && (cpu < nr_cpu_ids); i++) { in smp_add_core()
874 c_cpus += smp_cpu_mtid + 1; in smp_detect_cpus()
876 s_cpus += smp_cpu_mtid + 1; in smp_detect_cpus()
1078 for (i = 0; i <= smp_cpu_mtid; i++) in cpu_configure_store()
1090 for (i = 0; i <= smp_cpu_mtid; i++) { in cpu_configure_store()
[all …]
Dtopology.c106 cpu -= cpu % (smp_cpu_mtid + 1); in cpu_thread_map()
107 for (i = 0; i <= smp_cpu_mtid; i++) { in cpu_thread_map()
133 for (i = 0; i <= smp_cpu_mtid; i++) { in add_cpus_to_mask()
Dprocessor.c143 seq_printf(m, "max thread id : %d\n", smp_cpu_mtid); in show_cpu_summary()
/linux-6.1.9/arch/s390/include/asm/
Dsmp.h18 extern unsigned int smp_cpu_mtid;
55 return cpu - (cpu % (smp_cpu_mtid + 1)); in smp_get_base_cpu()