Searched refs:cpu_number (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/arch/x86/kernel/ |
D | setup_percpu.c | 26 DEFINE_PER_CPU_READ_MOSTLY(int, cpu_number); 27 EXPORT_PER_CPU_SYMBOL(cpu_number); 175 per_cpu(cpu_number, cpu) = cpu; in setup_per_cpu_areas()
|
/linux-6.1.9/arch/x86/include/asm/ |
D | smp.h | 22 DECLARE_PER_CPU_READ_MOSTLY(int, cpu_number); 156 #define raw_smp_processor_id() this_cpu_read(cpu_number) 157 #define __smp_processor_id() __this_cpu_read(cpu_number)
|
/linux-6.1.9/arch/arm64/include/asm/ |
D | smp.h | 34 DECLARE_PER_CPU_READ_MOSTLY(int, cpu_number); 43 #define raw_smp_processor_id() (*raw_cpu_ptr(&cpu_number))
|
/linux-6.1.9/include/asm-generic/ |
D | mshyperv.h | 203 static inline int hv_cpu_number_to_vp_number(int cpu_number) in hv_cpu_number_to_vp_number() argument 205 return hv_vp_index[cpu_number]; in hv_cpu_number_to_vp_number()
|
/linux-6.1.9/arch/arm64/kernel/ |
D | smp.c | 57 DEFINE_PER_CPU_READ_MOSTLY(int, cpu_number); 58 EXPORT_PER_CPU_SYMBOL(cpu_number); 747 per_cpu(cpu_number, cpu) = cpu; in smp_prepare_cpus() 967 "IPI", &cpu_number); in set_smp_ipi_range()
|
/linux-6.1.9/arch/mips/fw/cfe/ |
D | cfe_api_int.h | 66 u64 cpu_number; /* cpu number to control */ member
|
D | cfe_api.c | 82 xiocb.plist.xiocb_cpuctl.cpu_number = cpu; in cfe_cpu_start() 103 xiocb.plist.xiocb_cpuctl.cpu_number = cpu; in cfe_cpu_stop()
|
/linux-6.1.9/tools/power/x86/turbostat/ |
D | turbostat.c | 3123 int cpu_number; in snapshot_proc_interrupts() local 3125 retval = fscanf(fp, " CPU%d", &cpu_number); in snapshot_proc_interrupts() 3129 if (cpu_number > topo.max_cpu_num) { in snapshot_proc_interrupts() 3130 warn("/proc/interrupts: cpu%d: > %d", cpu_number, topo.max_cpu_num); in snapshot_proc_interrupts() 3134 irq_column_2_cpu[column] = cpu_number; in snapshot_proc_interrupts() 3135 irqs_per_cpu[cpu_number] = 0; in snapshot_proc_interrupts() 3150 int cpu_number, irq_count; in snapshot_proc_interrupts() local 3156 cpu_number = irq_column_2_cpu[column]; in snapshot_proc_interrupts() 3157 irqs_per_cpu[cpu_number] += irq_count; in snapshot_proc_interrupts()
|