Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/arm64/include/asm/
A Dsmp.h34 DECLARE_PER_CPU_READ_MOSTLY(int, cpu_number);
43 #define raw_smp_processor_id() (*raw_cpu_ptr(&cpu_number))
/linux-6.3-rc2/arch/x86/include/asm/
A Dsmp.h154 #define raw_smp_processor_id() this_cpu_read(pcpu_hot.cpu_number)
155 #define __smp_processor_id() __this_cpu_read(pcpu_hot.cpu_number)
A Dcurrent.h19 int cpu_number; member
/linux-6.3-rc2/include/asm-generic/
A Dmshyperv.h204 static inline int hv_cpu_number_to_vp_number(int cpu_number) in hv_cpu_number_to_vp_number() argument
206 return hv_vp_index[cpu_number]; in hv_cpu_number_to_vp_number()
/linux-6.3-rc2/arch/arm64/kernel/
A 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.3-rc2/arch/mips/fw/cfe/
A Dcfe_api_int.h66 u64 cpu_number; /* cpu number to control */ member
A 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.3-rc2/arch/x86/kernel/
A Dsetup_percpu.c172 per_cpu(pcpu_hot.cpu_number, cpu) = cpu; in setup_per_cpu_areas()
/linux-6.3-rc2/tools/power/x86/turbostat/
A 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()

Completed in 23 milliseconds