Searched refs:ncpu (Results 1 - 7 of 7) sorted by relevance
/linux-master/arch/mips/kernel/ |
H A D | smp-mt.c | 47 unsigned int ncpu) 51 return ncpu; 66 __cpu_number_map[tc] = ++ncpu; 67 __cpu_logical_map[ncpu] = tc; 76 cpu_set_vpe_id(&cpu_data[ncpu], tc); 78 return ncpu; 186 unsigned int mvpconf0, ntc, tc, ncpu = 0; local 216 ncpu = smvp_vpe_init(tc, mvpconf0, ncpu); 224 printk(KERN_INFO "Detected %i available secondary CPU(s)\n", ncpu); 46 smvp_vpe_init(unsigned int tc, unsigned int mvpconf0, unsigned int ncpu) argument [all...] |
/linux-master/arch/mips/sgi-ip30/ |
H A D | ip30-smp.c | 78 int ncpu = 0; local 88 __cpu_number_map[i] = ++ncpu; 89 __cpu_logical_map[ncpu] = i; 94 pr_info("IP30: Detected %d CPU(s) present.\n", ncpu);
|
/linux-master/arch/powerpc/perf/ |
H A D | imc-pmu.c | 676 int ncpu; local 701 ncpu = cpumask_last(cpu_sibling_mask(cpu)); 703 if (unlikely(ncpu == cpu)) 704 ncpu = cpumask_any_but(cpu_sibling_mask(cpu), cpu); 706 if (ncpu >= 0 && ncpu < nr_cpu_ids) { 707 cpumask_set_cpu(ncpu, &core_imc_cpumask); 708 perf_pmu_migrate_context(&core_imc_pmu->pmu, cpu, ncpu);
|
/linux-master/drivers/hv/ |
H A D | channel_mgmt.c | 734 u32 i, ncpu = num_online_cpus(); local 758 for (i = 1; i <= ncpu + 1; i++) { 787 if (channel->offermsg.offer.sub_channel_index >= ncpu || 788 i > ncpu || !hv_cpuself_used(target_cpu, channel))
|
/linux-master/kernel/time/ |
H A D | hrtimer.c | 2229 int i, ncpu = cpumask_any_and(cpu_active_mask, housekeeping_cpumask(HK_TYPE_TIMER)); local 2233 new_base = &per_cpu(hrtimer_bases, ncpu); 2253 smp_call_function_single(ncpu, retrigger_next_event, NULL, 0);
|
/linux-master/tools/perf/ |
H A D | builtin-sched.c | 262 u32 ncpu; /* highest cpu slot allocated */ member in struct:evsel_runtime 1898 if ((cpu >= r->ncpu) || (r->last_time == NULL)) { 1907 for (i = r->ncpu; i < n; ++i) 1910 r->ncpu = n; 1921 if ((r == NULL) || (r->last_time == NULL) || (cpu >= r->ncpu)) 2229 static int init_idle_threads(int ncpu) argument 2233 idle_threads = zalloc(ncpu * sizeof(struct thread *)); 2237 idle_max_cpu = ncpu; 2240 for (i = 0; i < ncpu; ++i) {
|
/linux-master/include/soc/tegra/ |
H A D | bpmp-abi.h | 3888 * The mrq_gears_response::ncpu array defines four thresholds in units 3892 * 1. If number of online CPUs < ncpu[0] use offset0 3893 * 2. If number of online CPUs < ncpu[1] use offset1 3894 * 3. If number of online CPUs < ncpu[2] use offset2 3895 * 4. If number of online CPUs < ncpu[3] use offset3 3896 * 5. If number of online CPUs >= ncpu[3] disable offsetting 3898 * For TH500 mrq_gears_response::ncpu array has four valid entries. 3908 uint32_t ncpu[16]; member in struct:mrq_gears_response
|
Completed in 420 milliseconds