Home
last modified time | relevance | path

Searched refs:cpu_number (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/arch/x86/kernel/
Dsetup_percpu.c26 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/
Dsmp.h22 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/
Dsmp.h34 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/
Dmshyperv.h203 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/
Dsmp.c57 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/
Dcfe_api_int.h66 u64 cpu_number; /* cpu number to control */ member
Dcfe_api.c82 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/
Dturbostat.c3123 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()