/linux-4.4.14/arch/powerpc/kvm/ |
H A D | trace.h | 106 __field( __u32, cpu_nr ) 111 __entry->cpu_nr = vcpu->vcpu_id; 116 __entry->cpu_nr, __entry->requests)
|
H A D | trace_booke.h | 200 __field( __u32, cpu_nr ) 206 __entry->cpu_nr = vcpu->vcpu_id; 212 __entry->cpu_nr,
|
/linux-4.4.14/kernel/locking/ |
H A D | osq_lock.c | 19 static inline int encode_cpu(int cpu_nr) encode_cpu() argument 21 return cpu_nr + 1; encode_cpu() 26 int cpu_nr = encoded_cpu_val - 1; decode_cpu() local 28 return per_cpu_ptr(&osq_node, cpu_nr); decode_cpu()
|
/linux-4.4.14/arch/powerpc/platforms/chrp/ |
H A D | smp.c | 40 static void smp_chrp_setup_cpu(int cpu_nr) smp_chrp_setup_cpu() argument
|
/linux-4.4.14/arch/powerpc/kernel/ |
H A D | irq.c | 565 int i, cpu_nr; exc_lvl_ctx_init() local 569 cpu_nr = i; for_each_possible_cpu() 572 cpu_nr = get_hard_smp_processor_id(i); for_each_possible_cpu() 574 cpu_nr = 0; for_each_possible_cpu() 578 memset((void *)critirq_ctx[cpu_nr], 0, THREAD_SIZE); for_each_possible_cpu() 579 tp = critirq_ctx[cpu_nr]; for_each_possible_cpu() 580 tp->cpu = cpu_nr; for_each_possible_cpu() 584 memset((void *)dbgirq_ctx[cpu_nr], 0, THREAD_SIZE); for_each_possible_cpu() 585 tp = dbgirq_ctx[cpu_nr]; for_each_possible_cpu() 586 tp->cpu = cpu_nr; for_each_possible_cpu() 589 memset((void *)mcheckirq_ctx[cpu_nr], 0, THREAD_SIZE); for_each_possible_cpu() 590 tp = mcheckirq_ctx[cpu_nr]; for_each_possible_cpu() 591 tp->cpu = cpu_nr; for_each_possible_cpu()
|
/linux-4.4.14/drivers/macintosh/ |
H A D | windfarm_ad7417_sensor.c | 239 int cpu_nr; wf_ad7417_probe() local 252 cpu_nr = 0; wf_ad7417_probe() 254 cpu_nr = 1; wf_ad7417_probe() 259 mpu = wf_get_mpu(cpu_nr); wf_ad7417_probe() 272 pv->cpu = cpu_nr; wf_ad7417_probe()
|
/linux-4.4.14/arch/s390/include/asm/ |
H A D | smp.h | 16 #define raw_smp_processor_id() (S390_lowcore.cpu_nr)
|
H A D | lowcore.h | 145 __u32 cpu_nr; /* 0x0370 */ member in struct:_lowcore
|
/linux-4.4.14/arch/powerpc/platforms/86xx/ |
H A D | mpc86xx_smp.c | 101 smp_86xx_setup_cpu(int cpu_nr) smp_86xx_setup_cpu() argument
|
/linux-4.4.14/arch/powerpc/platforms/85xx/ |
H A D | smp.c | 458 static void smp_85xx_basic_setup(int cpu_nr) smp_85xx_basic_setup() argument 464 static void smp_85xx_setup_cpu(int cpu_nr) smp_85xx_setup_cpu() argument 467 smp_85xx_basic_setup(cpu_nr); smp_85xx_setup_cpu()
|
/linux-4.4.14/arch/powerpc/platforms/powermac/ |
H A D | smp.c | 412 static void __init smp_psurge_setup_cpu(int cpu_nr) smp_psurge_setup_cpu() argument 414 if (cpu_nr != 0 || !psurge_start) smp_psurge_setup_cpu() 843 static void smp_core99_setup_cpu(int cpu_nr) smp_core99_setup_cpu() argument 846 if (cpu_nr != 0) smp_core99_setup_cpu() 847 core99_init_caches(cpu_nr); smp_core99_setup_cpu()
|
/linux-4.4.14/arch/s390/kernel/ |
H A D | crash_dump.c | 281 static int cpu_nr = 1; nt_prstatus() local 287 nt_prstatus.pr_pid = cpu_nr; nt_prstatus() 288 cpu_nr++; nt_prstatus()
|
H A D | smp.c | 201 lc->cpu_nr = cpu; pcpu_alloc_lowcore() 244 lc->cpu_nr = cpu; pcpu_prepare_secondary() 940 S390_lowcore.cpu_nr = 0; smp_setup_processor_id()
|
/linux-4.4.14/tools/perf/util/ |
H A D | header.c | 413 u32 cpu_nr; member in struct:cpu_topo 524 tp->cpu_nr = nr; build_cpu_topology() 926 int cpu_nr = ph->env.nr_cpus_online; print_cpu_topology() local 945 for (i = 0; i < cpu_nr; i++) print_cpu_topology() 1586 int cpu_nr = ph->env.nr_cpus_online; process_cpu_topology() local 1589 ph->env.cpu = calloc(cpu_nr, sizeof(*ph->env.cpu)); process_cpu_topology() 1647 for (i = 0; i < (u32)cpu_nr; i++) { process_cpu_topology() 1655 if (nr > (u32)cpu_nr) { process_cpu_topology() 1669 if (nr > (u32)cpu_nr) { process_cpu_topology()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
H A D | pmac_feature.h | 224 /* PMAC_FTR_RESET_CPU (NULL, int cpu_nr, 0)
|