Searched refs:ncpu (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/arch/mips/kernel/ |
D | smp-mt.c | 47 unsigned int ncpu) in smvp_vpe_init() argument 51 return ncpu; in smvp_vpe_init() 66 __cpu_number_map[tc] = ++ncpu; in smvp_vpe_init() 67 __cpu_logical_map[ncpu] = tc; in smvp_vpe_init() 76 cpu_set_vpe_id(&cpu_data[ncpu], tc); in smvp_vpe_init() 78 return ncpu; in smvp_vpe_init() 186 unsigned int mvpconf0, ntc, tc, ncpu = 0; in vsmp_smp_setup() local 216 ncpu = smvp_vpe_init(tc, mvpconf0, ncpu); in vsmp_smp_setup() 224 printk(KERN_INFO "Detected %i available secondary CPU(s)\n", ncpu); in vsmp_smp_setup()
|
/linux-6.6.21/arch/mips/sgi-ip30/ |
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-6.6.21/arch/powerpc/perf/ |
D | imc-pmu.c | 676 int ncpu; in ppc_core_imc_cpu_offline() local 701 ncpu = cpumask_last(cpu_sibling_mask(cpu)); in ppc_core_imc_cpu_offline() 703 if (unlikely(ncpu == cpu)) in ppc_core_imc_cpu_offline() 704 ncpu = cpumask_any_but(cpu_sibling_mask(cpu), cpu); in ppc_core_imc_cpu_offline() 706 if (ncpu >= 0 && ncpu < nr_cpu_ids) { in ppc_core_imc_cpu_offline() 707 cpumask_set_cpu(ncpu, &core_imc_cpumask); in ppc_core_imc_cpu_offline() 708 perf_pmu_migrate_context(&core_imc_pmu->pmu, cpu, ncpu); in ppc_core_imc_cpu_offline()
|
/linux-6.6.21/drivers/hv/ |
D | channel_mgmt.c | 734 u32 i, ncpu = num_online_cpus(); in init_vp_index() local 758 for (i = 1; i <= ncpu + 1; i++) { in init_vp_index() 787 if (channel->offermsg.offer.sub_channel_index >= ncpu || in init_vp_index() 788 i > ncpu || !hv_cpuself_used(target_cpu, channel)) in init_vp_index()
|
/linux-6.6.21/tools/perf/ |
D | builtin-sched.c | 280 u32 ncpu; /* highest cpu slot allocated */ member 1923 if ((cpu >= r->ncpu) || (r->last_time == NULL)) { in evsel__save_time() 1932 for (i = r->ncpu; i < n; ++i) in evsel__save_time() 1935 r->ncpu = n; in evsel__save_time() 1946 if ((r == NULL) || (r->last_time == NULL) || (cpu >= r->ncpu)) in evsel__get_time() 2266 static int init_idle_threads(int ncpu) in init_idle_threads() argument 2270 idle_threads = zalloc(ncpu * sizeof(struct thread *)); in init_idle_threads() 2274 idle_max_cpu = ncpu; in init_idle_threads() 2277 for (i = 0; i < ncpu; ++i) { in init_idle_threads()
|
/linux-6.6.21/kernel/time/ |
D | hrtimer.c | 2227 int i, ncpu = cpumask_first(cpu_active_mask); in hrtimers_cpu_dying() local 2232 new_base = &per_cpu(hrtimer_bases, ncpu); in hrtimers_cpu_dying() 2252 smp_call_function_single(ncpu, retrigger_next_event, NULL, 0); in hrtimers_cpu_dying()
|
/linux-6.6.21/include/soc/tegra/ |
D | bpmp-abi.h | 3908 uint32_t ncpu[16]; member
|