ncpu 95 arch/mips/kernel/smp-cmp.c int ncpu = 0; ncpu 108 arch/mips/kernel/smp-cmp.c __cpu_number_map[i] = ++ncpu; ncpu 109 arch/mips/kernel/smp-cmp.c __cpu_logical_map[ncpu] = i; ncpu 122 arch/mips/kernel/smp-cmp.c pr_info("Detected %i available secondary CPU(s)\n", ncpu); ncpu 47 arch/mips/kernel/smp-mt.c unsigned int ncpu) ncpu 50 arch/mips/kernel/smp-mt.c return ncpu; ncpu 65 arch/mips/kernel/smp-mt.c __cpu_number_map[tc] = ++ncpu; ncpu 66 arch/mips/kernel/smp-mt.c __cpu_logical_map[ncpu] = tc; ncpu 75 arch/mips/kernel/smp-mt.c cpu_set_vpe_id(&cpu_data[ncpu], tc); ncpu 77 arch/mips/kernel/smp-mt.c return ncpu; ncpu 185 arch/mips/kernel/smp-mt.c unsigned int mvpconf0, ntc, tc, ncpu = 0; ncpu 215 arch/mips/kernel/smp-mt.c ncpu = smvp_vpe_init(tc, mvpconf0, ncpu); ncpu 223 arch/mips/kernel/smp-mt.c printk(KERN_INFO "Detected %i available secondary CPU(s)\n", ncpu); ncpu 654 arch/powerpc/perf/imc-pmu.c int ncpu; ncpu 679 arch/powerpc/perf/imc-pmu.c ncpu = cpumask_last(cpu_sibling_mask(cpu)); ncpu 681 arch/powerpc/perf/imc-pmu.c if (unlikely(ncpu == cpu)) ncpu 682 arch/powerpc/perf/imc-pmu.c ncpu = cpumask_any_but(cpu_sibling_mask(cpu), cpu); ncpu 684 arch/powerpc/perf/imc-pmu.c if (ncpu >= 0 && ncpu < nr_cpu_ids) { ncpu 685 arch/powerpc/perf/imc-pmu.c cpumask_set_cpu(ncpu, &core_imc_cpumask); ncpu 686 arch/powerpc/perf/imc-pmu.c perf_pmu_migrate_context(&core_imc_pmu->pmu, cpu, ncpu); ncpu 274 tools/perf/builtin-sched.c u32 ncpu; /* highest cpu slot allocated */ ncpu 1871 tools/perf/builtin-sched.c if ((cpu >= r->ncpu) || (r->last_time == NULL)) { ncpu 1880 tools/perf/builtin-sched.c for (i = r->ncpu; i < n; ++i) ncpu 1883 tools/perf/builtin-sched.c r->ncpu = n; ncpu 1894 tools/perf/builtin-sched.c if ((r == NULL) || (r->last_time == NULL) || (cpu >= r->ncpu)) ncpu 2209 tools/perf/builtin-sched.c static int init_idle_threads(int ncpu) ncpu 2213 tools/perf/builtin-sched.c idle_threads = zalloc(ncpu * sizeof(struct thread *)); ncpu 2217 tools/perf/builtin-sched.c idle_max_cpu = ncpu; ncpu 2220 tools/perf/builtin-sched.c for (i = 0; i < ncpu; ++i) { ncpu 13 tools/perf/util/smt.c int ncpu; ncpu 18 tools/perf/util/smt.c ncpu = sysconf(_SC_NPROCESSORS_CONF); ncpu 19 tools/perf/util/smt.c for (cpu = 0; cpu < ncpu; cpu++) {