Home
last modified time | relevance | path

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

/Linux-v5.10/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()
149 if (smp_cpu_mtid && in do_account_vtime()
436 if (smp_cpu_mtid) { in vtime_init()
440 stcctm(MT_DIAG, smp_cpu_mtid + 1, this_cpu_ptr(mt_cycles)); in vtime_init()
Dsmp.c89 unsigned int smp_cpu_mtid; variable
90 EXPORT_SYMBOL(smp_cpu_mtid);
355 if (smp_cpu_mtid == mtid) in pcpu_set_smt()
359 smp_cpu_mtid = mtid; in pcpu_set_smt()
361 while (smp_cpu_mtid >= (1U << smp_cpu_mt_shift)) in pcpu_set_smt()
754 for (i = 0; (i <= smp_cpu_mtid) && (cpu < nr_cpu_ids); i++) { in smp_add_core()
843 c_cpus += smp_cpu_mtid + 1; in smp_detect_cpus()
845 s_cpus += smp_cpu_mtid + 1; in smp_detect_cpus()
906 for (i = 0; i <= smp_cpu_mtid; i++) { in __cpu_up()
915 if (i > smp_cpu_mtid && in __cpu_up()
[all …]
Dtopology.c103 cpu -= cpu % (smp_cpu_mtid + 1); in cpu_thread_map()
104 for (i = 0; i <= smp_cpu_mtid; i++) in cpu_thread_map()
129 for (i = 0; i <= smp_cpu_mtid; i++) { in add_cpus_to_mask()
Dprocessor.c132 seq_printf(m, "max thread id : %d\n", smp_cpu_mtid); in show_cpu_summary()
Dentry.S984 larl %r1,smp_cpu_mtid
/Linux-v5.10/arch/s390/include/asm/
Dsmp.h19 extern unsigned int smp_cpu_mtid;
54 return cpu - (cpu % (smp_cpu_mtid + 1)); in smp_get_base_cpu()