Home
last modified time | relevance | path

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

/kernel/linux/build/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/
Dcpuisolation03.sh89 cpu_number=$(( $cpu_num + 1 ))
91 | sed -n "${cpu_number}p" | awk -F ':' '{print$2}')
100 | sed -n "${cpu_number}p" | awk -F ':' '{print$2}')
131 | sed -n "${cpu_number}p" | awk -F ':' '{print$2}')
140 | sed -n "${cpu_number}p" | awk -F ':' '{print$2}')
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dsmp.h20 DECLARE_PER_CPU_READ_MOSTLY(int, cpu_number);
158 #define raw_smp_processor_id() this_cpu_read(cpu_number)
159 #define __smp_processor_id() __this_cpu_read(cpu_number)
/kernel/linux/linux-5.10/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))
/kernel/linux/linux-5.10/arch/x86/kernel/
Dsetup_percpu.c26 DEFINE_PER_CPU_READ_MOSTLY(int, cpu_number);
27 EXPORT_PER_CPU_SYMBOL(cpu_number);
225 per_cpu(cpu_number, cpu) = cpu; in setup_per_cpu_areas()
/kernel/linux/linux-5.10/include/asm-generic/
Dmshyperv.h128 static inline int hv_cpu_number_to_vp_number(int cpu_number) in hv_cpu_number_to_vp_number() argument
130 return hv_vp_index[cpu_number]; in hv_cpu_number_to_vp_number()
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dsmp.c57 DEFINE_PER_CPU_READ_MOSTLY(int, cpu_number);
58 EXPORT_PER_CPU_SYMBOL(cpu_number);
770 per_cpu(cpu_number, cpu) = cpu; in smp_prepare_cpus()
992 "IPI", &cpu_number); in set_smp_ipi_range()
/kernel/linux/linux-5.10/arch/mips/fw/cfe/
Dcfe_api_int.h66 u64 cpu_number; /* cpu number to control */ member
Dcfe_api.c77 xiocb.plist.xiocb_cpuctl.cpu_number = cpu; in cfe_cpu_start()
98 xiocb.plist.xiocb_cpuctl.cpu_number = cpu; in cfe_cpu_stop()
/kernel/linux/linux-5.10/tools/power/x86/turbostat/
Dturbostat.c2954 int cpu_number; in snapshot_proc_interrupts() local
2956 retval = fscanf(fp, " CPU%d", &cpu_number); in snapshot_proc_interrupts()
2960 if (cpu_number > topo.max_cpu_num) { in snapshot_proc_interrupts()
2961 warn("/proc/interrupts: cpu%d: > %d", cpu_number, topo.max_cpu_num); in snapshot_proc_interrupts()
2965 irq_column_2_cpu[column] = cpu_number; in snapshot_proc_interrupts()
2966 irqs_per_cpu[cpu_number] = 0; in snapshot_proc_interrupts()
2981 int cpu_number, irq_count; in snapshot_proc_interrupts() local
2987 cpu_number = irq_column_2_cpu[column]; in snapshot_proc_interrupts()
2988 irqs_per_cpu[cpu_number] += irq_count; in snapshot_proc_interrupts()