Searched refs:ncpu (Results 1 – 8 of 8) sorted by relevance
/linux/arch/mips/kernel/ |
A D | smp-mt.c | 47 unsigned int ncpu) in smvp_vpe_init() argument 50 return ncpu; in smvp_vpe_init() 65 __cpu_number_map[tc] = ++ncpu; in smvp_vpe_init() 66 __cpu_logical_map[ncpu] = tc; in smvp_vpe_init() 75 cpu_set_vpe_id(&cpu_data[ncpu], tc); in smvp_vpe_init() 77 return ncpu; in smvp_vpe_init() 185 unsigned int mvpconf0, ntc, tc, ncpu = 0; in vsmp_smp_setup() local 215 ncpu = smvp_vpe_init(tc, mvpconf0, ncpu); in vsmp_smp_setup() 223 printk(KERN_INFO "Detected %i available secondary CPU(s)\n", ncpu); in vsmp_smp_setup()
|
A D | smp-cmp.c | 95 int ncpu = 0; in cmp_smp_setup() local 108 __cpu_number_map[i] = ++ncpu; in cmp_smp_setup() 109 __cpu_logical_map[ncpu] = i; in cmp_smp_setup() 122 pr_info("Detected %i available secondary CPU(s)\n", ncpu); in cmp_smp_setup()
|
/linux/arch/mips/sgi-ip30/ |
A D | ip30-smp.c | 78 int ncpu = 0; in ip30_smp_setup() local 88 __cpu_number_map[i] = ++ncpu; in ip30_smp_setup() 89 __cpu_logical_map[ncpu] = i; in ip30_smp_setup() 94 pr_info("IP30: Detected %d CPU(s) present.\n", ncpu); in ip30_smp_setup()
|
/linux/tools/perf/util/ |
A D | smt.c | 13 int ncpu; in smt_on() local 21 ncpu = sysconf(_SC_NPROCESSORS_CONF); in smt_on() 22 for (cpu = 0; cpu < ncpu; cpu++) { in smt_on()
|
/linux/tools/memory-model/scripts/ |
A D | runlitmushist.sh | 66 print "runtest " $2 >> t "/" NR % ncpu ".sh"; 70 for (i = 0; i < ncpu; i++) {
|
/linux/arch/powerpc/perf/ |
A D | imc-pmu.c | 664 int ncpu; in ppc_core_imc_cpu_offline() local 689 ncpu = cpumask_last(cpu_sibling_mask(cpu)); in ppc_core_imc_cpu_offline() 691 if (unlikely(ncpu == cpu)) in ppc_core_imc_cpu_offline() 692 ncpu = cpumask_any_but(cpu_sibling_mask(cpu), cpu); in ppc_core_imc_cpu_offline() 694 if (ncpu >= 0 && ncpu < nr_cpu_ids) { in ppc_core_imc_cpu_offline() 695 cpumask_set_cpu(ncpu, &core_imc_cpumask); in ppc_core_imc_cpu_offline() 696 perf_pmu_migrate_context(&core_imc_pmu->pmu, cpu, ncpu); in ppc_core_imc_cpu_offline()
|
/linux/drivers/hv/ |
A D | channel_mgmt.c | 729 u32 i, ncpu = num_online_cpus(); in init_vp_index() local 752 for (i = 1; i <= ncpu + 1; i++) { in init_vp_index() 780 if (channel->offermsg.offer.sub_channel_index >= ncpu || in init_vp_index() 781 i > ncpu || !hv_cpuself_used(target_cpu, channel)) in init_vp_index()
|
/linux/tools/perf/ |
A D | builtin-sched.c | 278 u32 ncpu; /* highest cpu slot allocated */ member 1876 if ((cpu >= r->ncpu) || (r->last_time == NULL)) { in evsel__save_time() 1885 for (i = r->ncpu; i < n; ++i) in evsel__save_time() 1888 r->ncpu = n; in evsel__save_time() 1899 if ((r == NULL) || (r->last_time == NULL) || (cpu >= r->ncpu)) in evsel__get_time() 2217 static int init_idle_threads(int ncpu) in init_idle_threads() argument 2221 idle_threads = zalloc(ncpu * sizeof(struct thread *)); in init_idle_threads() 2225 idle_max_cpu = ncpu; in init_idle_threads() 2228 for (i = 0; i < ncpu; ++i) { in init_idle_threads()
|
Completed in 19 milliseconds