Home
last modified time | relevance | path

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

/linux/arch/s390/kernel/
H A Dvtime.c64 stcctm(MT_DIAG, smp_cpu_mtid + 1, cycles_new); in update_mt_scaling()
68 for (i = 0; i <= smp_cpu_mtid; i++) { in update_mt_scaling()
81 sizeof(u64) * (smp_cpu_mtid + 1)); in update_mt_scaling()
101 if (smp_cpu_mtid) in scale_vtime()
139 if (smp_cpu_mtid && time_after64(jiffies_64, __this_cpu_read(mt_scaling_jiffies))) in do_account_vtime()
424 if (smp_cpu_mtid) { in vtime_init()
428 stcctm(MT_DIAG, smp_cpu_mtid + 1, this_cpu_ptr(mt_cycles)); in vtime_init()
H A Dsmp.c91 unsigned int smp_cpu_mtid; variable
92 EXPORT_SYMBOL(smp_cpu_mtid);
359 if (smp_cpu_mtid == mtid) in pcpu_set_smt()
363 smp_cpu_mtid = mtid; in pcpu_set_smt()
365 while (smp_cpu_mtid >= (1U << smp_cpu_mt_shift)) in pcpu_set_smt()
678 for (i = cpu; (i <= cpu + smp_cpu_mtid) && (i < nr_cpu_ids); i++) in smp_set_core_capacity()
721 for (i = 0; (i <= smp_cpu_mtid) && (cpu < nr_cpu_ids); i++) { in smp_add_core()
804 cpu_smt_set_num_threads(smp_cpu_mtid + 1, smp_cpu_mtid + 1); in smp_detect_cpus()
813 c_cpus += smp_cpu_mtid + 1; in smp_detect_cpus()
815 s_cpus += smp_cpu_mtid + 1; in smp_detect_cpus()
[all …]
H A Didle.c47 if (smp_cpu_mtid) in arch_cpu_idle()
48 stcctm(MT_DIAG, smp_cpu_mtid, (u64 *)&idle->mt_cycles_enter); in arch_cpu_idle()
/linux/arch/s390/include/asm/
H A Dvtime.h36 mtid = smp_cpu_mtid; in update_timer_idle()