/kernel/linux/linux-5.10/kernel/locking/ |
D | osq_lock.c | 20 static inline int encode_cpu(int cpu_nr) in encode_cpu() argument 22 return cpu_nr + 1; in encode_cpu() 32 int cpu_nr = encoded_cpu_val - 1; in decode_cpu() local 34 return per_cpu_ptr(&osq_node, cpu_nr); in decode_cpu()
|
/kernel/linux/linux-5.10/drivers/macintosh/ |
D | windfarm_ad7417_sensor.c | 238 int cpu_nr; in wf_ad7417_probe() local 251 cpu_nr = 0; in wf_ad7417_probe() 253 cpu_nr = 1; in wf_ad7417_probe() 258 mpu = wf_get_mpu(cpu_nr); in wf_ad7417_probe() 271 pv->cpu = cpu_nr; in wf_ad7417_probe()
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
D | trace.h | 105 __field( __u32, cpu_nr ) 110 __entry->cpu_nr = vcpu->vcpu_id; 115 __entry->cpu_nr, __entry->requests)
|
D | trace_booke.h | 199 __field( __u32, cpu_nr ) 205 __entry->cpu_nr = vcpu->vcpu_id; 211 __entry->cpu_nr,
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | vdso.c | 122 vd->cpu_nr = lowcore->cpu_nr; in vdso_alloc_per_cpu() 123 vd->node_id = cpu_to_node(vd->cpu_nr); in vdso_alloc_per_cpu()
|
D | smp.c | 212 lc->cpu_nr = cpu; in pcpu_alloc_lowcore() 264 lc->cpu_nr = cpu; in pcpu_prepare_secondary() 1007 S390_lowcore.cpu_nr = 0; in smp_setup_processor_id()
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
D | topology.h | 57 static inline int topology_cpu_dedicated(int cpu_nr) { return 0; } in topology_cpu_dedicated() argument 58 static inline int topology_booted_cores(int cpu_nr) { return 1; } in topology_booted_cores() argument
|
D | vdso.h | 32 __u32 cpu_nr; member
|
D | smp.h | 15 #define raw_smp_processor_id() (S390_lowcore.cpu_nr)
|
D | lowcore.h | 130 __u32 cpu_nr; /* 0x03a0 */ member
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/ |
D | smp.c | 399 static void __init smp_psurge_setup_cpu(int cpu_nr) in smp_psurge_setup_cpu() argument 404 if (cpu_nr != 0 || !psurge_start) in smp_psurge_setup_cpu() 834 static void smp_core99_setup_cpu(int cpu_nr) in smp_core99_setup_cpu() argument 837 if (cpu_nr != 0) in smp_core99_setup_cpu() 838 core99_init_caches(cpu_nr); in smp_core99_setup_cpu()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/chrp/ |
D | smp.c | 41 static void smp_chrp_setup_cpu(int cpu_nr) in smp_chrp_setup_cpu() argument
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/86xx/ |
D | mpc86xx_smp.c | 97 smp_86xx_setup_cpu(int cpu_nr) in smp_86xx_setup_cpu() argument
|
/kernel/linux/linux-5.10/drivers/thermal/ |
D | armada_thermal.c | 113 unsigned int cpu_nr; member 328 if (channel < 0 || channel > priv->data->cpu_nr) in armada_select_channel() 645 .cpu_nr = 4, 921 for (sensor_id = 0; sensor_id <= priv->data->cpu_nr; sensor_id++) { in armada_thermal_probe()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/85xx/ |
D | smp.c | 470 static void smp_85xx_setup_cpu(int cpu_nr) in smp_85xx_setup_cpu() argument
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | header.c | 1527 int cpu_nr = ph->env.nr_cpus_avail; in print_cpu_topology() local 1559 for (i = 0; i < cpu_nr; i++) in print_cpu_topology() 1570 for (i = 0; i < cpu_nr; i++) in print_cpu_topology() 2369 int cpu_nr = ff->ph->env.nr_cpus_avail; in process_cpu_topology() local 2374 ph->env.cpu = calloc(cpu_nr, sizeof(*ph->env.cpu)); in process_cpu_topology() 2436 for (i = 0; i < (u32)cpu_nr; i++) { in process_cpu_topology() 2446 if (do_core_id_test && nr != (u32)-1 && nr > (u32)cpu_nr) { in process_cpu_topology() 2482 for (i = 0; i < (u32)cpu_nr; i++) { in process_cpu_topology()
|