Searched refs:smp_cpu_mtid (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/arch/s390/kernel/ ! |
D | idle.c | 32 if (smp_cpu_mtid) { in account_idle_time_irq() 33 stcctm(MT_DIAG, smp_cpu_mtid, cycles_new); in account_idle_time_irq() 34 for (i = 0; i < smp_cpu_mtid; i++) in account_idle_time_irq() 62 if (smp_cpu_mtid) in arch_cpu_idle() 63 stcctm(MT_DIAG, smp_cpu_mtid, (u64 *)&idle->mt_cycles_enter); in arch_cpu_idle()
|
D | vtime.c | 65 stcctm(MT_DIAG, smp_cpu_mtid + 1, cycles_new); in update_mt_scaling() 69 for (i = 0; i <= smp_cpu_mtid; i++) { in update_mt_scaling() 82 sizeof(u64) * (smp_cpu_mtid + 1)); in update_mt_scaling() 102 if (smp_cpu_mtid) in scale_vtime() 140 if (smp_cpu_mtid && in do_account_vtime() 446 if (smp_cpu_mtid) { in vtime_init() 450 stcctm(MT_DIAG, smp_cpu_mtid + 1, this_cpu_ptr(mt_cycles)); in vtime_init()
|
D | smp.c | 90 unsigned int smp_cpu_mtid; variable 91 EXPORT_SYMBOL(smp_cpu_mtid); 366 if (smp_cpu_mtid == mtid) in pcpu_set_smt() 370 smp_cpu_mtid = mtid; in pcpu_set_smt() 372 while (smp_cpu_mtid >= (1U << smp_cpu_mt_shift)) in pcpu_set_smt() 689 for (i = cpu; (i <= cpu + smp_cpu_mtid) && (i < nr_cpu_ids); i++) in smp_set_core_capacity() 731 for (i = 0; (i <= smp_cpu_mtid) && (cpu < nr_cpu_ids); i++) { in smp_add_core() 825 c_cpus += smp_cpu_mtid + 1; in smp_detect_cpus() 827 s_cpus += smp_cpu_mtid + 1; in smp_detect_cpus() 1037 for (i = 0; i <= smp_cpu_mtid; i++) in cpu_configure_store() [all …]
|
D | topology.c | 108 cpu -= cpu % (smp_cpu_mtid + 1); in cpu_thread_map() 109 max_cpu = min(cpu + smp_cpu_mtid, nr_cpu_ids - 1); in cpu_thread_map() 136 max_cpu = min(cpu + smp_cpu_mtid, nr_cpu_ids - 1); in add_cpus_to_mask()
|
D | processor.c | 161 seq_printf(m, "max thread id : %d\n", smp_cpu_mtid); in show_cpu_summary()
|
/linux-6.12.1/arch/s390/include/asm/ ! |
D | smp.h | 19 extern unsigned int smp_cpu_mtid; 58 return cpu - (cpu % (smp_cpu_mtid + 1)); in smp_get_base_cpu()
|