Searched refs:cpu_nr (Results 1 - 15 of 15) sorted by relevance

/linux-4.4.14/arch/powerpc/kvm/
H A Dtrace.h106 __field( __u32, cpu_nr )
111 __entry->cpu_nr = vcpu->vcpu_id;
116 __entry->cpu_nr, __entry->requests)
H A Dtrace_booke.h200 __field( __u32, cpu_nr )
206 __entry->cpu_nr = vcpu->vcpu_id;
212 __entry->cpu_nr,
/linux-4.4.14/kernel/locking/
H A Dosq_lock.c19 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 Dsmp.c40 static void smp_chrp_setup_cpu(int cpu_nr) smp_chrp_setup_cpu() argument
/linux-4.4.14/arch/powerpc/kernel/
H A Dirq.c565 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 Dwindfarm_ad7417_sensor.c239 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 Dsmp.h16 #define raw_smp_processor_id() (S390_lowcore.cpu_nr)
H A Dlowcore.h145 __u32 cpu_nr; /* 0x0370 */ member in struct:_lowcore
/linux-4.4.14/arch/powerpc/platforms/86xx/
H A Dmpc86xx_smp.c101 smp_86xx_setup_cpu(int cpu_nr) smp_86xx_setup_cpu() argument
/linux-4.4.14/arch/powerpc/platforms/85xx/
H A Dsmp.c458 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 Dsmp.c412 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 Dcrash_dump.c281 static int cpu_nr = 1; nt_prstatus() local
287 nt_prstatus.pr_pid = cpu_nr; nt_prstatus()
288 cpu_nr++; nt_prstatus()
H A Dsmp.c201 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 Dheader.c413 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 Dpmac_feature.h224 /* PMAC_FTR_RESET_CPU (NULL, int cpu_nr, 0)

Completed in 730 milliseconds