Home
last modified time | relevance | path

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

/Linux-v5.4/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.c88 unsigned int smp_cpu_mtid; variable
89 EXPORT_SYMBOL(smp_cpu_mtid);
349 if (smp_cpu_mtid == mtid) in pcpu_set_smt()
353 smp_cpu_mtid = mtid; in pcpu_set_smt()
355 while (smp_cpu_mtid >= (1U << smp_cpu_mt_shift)) in pcpu_set_smt()
417 } else if (MACHINE_HAS_DIAG44 && !smp_cpu_mtid) { in smp_yield_cpu()
741 for (j = 0; j <= smp_cpu_mtid; j++) { in __smp_rescan_cpus()
747 (cpu >= info->configured*(smp_cpu_mtid + 1)) ? in __smp_rescan_cpus()
800 c_cpus += smp_cpu_mtid + 1; in smp_detect_cpus()
802 s_cpus += smp_cpu_mtid + 1; in smp_detect_cpus()
[all …]
Dtopology.c105 cpu -= cpu % (smp_cpu_mtid + 1); in cpu_thread_map()
106 for (i = 0; i <= smp_cpu_mtid; i++) in cpu_thread_map()
130 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.S989 larl %r1,smp_cpu_mtid
1471 larl %r1,smp_cpu_mtid
/Linux-v5.4/arch/s390/include/asm/
Dsmp.h18 extern unsigned int smp_cpu_mtid;
53 return cpu - (cpu % (smp_cpu_mtid + 1)); in smp_get_base_cpu()