Home
last modified time | relevance | path

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

/linux-6.6.21/arch/s390/kernel/
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()
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()
Dsmp.c91 unsigned int smp_cpu_mtid; variable
92 EXPORT_SYMBOL(smp_cpu_mtid);
372 if (smp_cpu_mtid == mtid) in pcpu_set_smt()
376 smp_cpu_mtid = mtid; in pcpu_set_smt()
378 while (smp_cpu_mtid >= (1U << smp_cpu_mt_shift)) in pcpu_set_smt()
782 for (i = 0; (i <= smp_cpu_mtid) && (cpu < nr_cpu_ids); i++) { in smp_add_core()
875 c_cpus += smp_cpu_mtid + 1; in smp_detect_cpus()
877 s_cpus += smp_cpu_mtid + 1; in smp_detect_cpus()
1084 for (i = 0; i <= smp_cpu_mtid; i++) in cpu_configure_store()
1096 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 max_cpu = min(cpu + smp_cpu_mtid, nr_cpu_ids - 1); in cpu_thread_map()
134 max_cpu = min(cpu + smp_cpu_mtid, nr_cpu_ids - 1); in add_cpus_to_mask()
Dprocessor.c143 seq_printf(m, "max thread id : %d\n", smp_cpu_mtid); in show_cpu_summary()
/linux-6.6.21/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()