Home
last modified time | relevance | path

Searched refs:nthreads (Results 1 – 4 of 4) sorted by relevance

/arch/powerpc/platforms/pseries/
Dhotplug-cpu.c249 int err = -ENOSPC, len, nthreads, i; in pseries_add_processor() local
259 nthreads = len / sizeof(u32); in pseries_add_processor()
260 for (i = 0; i < nthreads; i++) in pseries_add_processor()
284 cpumask_shift_left(tmp, tmp, nthreads); in pseries_add_processor()
289 nthreads); in pseries_add_processor()
314 int len, nthreads, i; in pseries_remove_processor() local
322 nthreads = len / sizeof(u32); in pseries_remove_processor()
325 for (i = 0; i < nthreads; i++) { in pseries_remove_processor()
Ddlpar.c351 int len, nthreads, i; in dlpar_online_cpu() local
359 nthreads = len / sizeof(u32); in dlpar_online_cpu()
362 for (i = 0; i < nthreads; i++) { in dlpar_online_cpu()
431 int len, nthreads, i; in dlpar_offline_cpu() local
439 nthreads = len / sizeof(u32); in dlpar_offline_cpu()
442 for (i = 0; i < nthreads; i++) { in dlpar_offline_cpu()
/arch/powerpc/kernel/
Dsetup-common.c435 int nthreads = 1; in smp_setup_cpu_maps() local
450 nthreads); in smp_setup_cpu_maps()
461 nthreads = len / sizeof(int); in smp_setup_cpu_maps()
463 for (j = 0; j < nthreads && cpu < nr_cpu_ids; j++) { in smp_setup_cpu_maps()
484 nthreads = 1; in smp_setup_cpu_maps()
509 maxcpus *= nthreads; in smp_setup_cpu_maps()
535 cpu_init_thread_core_maps(nthreads); in smp_setup_cpu_maps()
Dprom.c305 int i, nthreads; in early_init_dt_scan_cpus() local
319 nthreads = len / sizeof(int); in early_init_dt_scan_cpus()
325 for (i = 0; i < nthreads; i++) { in early_init_dt_scan_cpus()
386 if (nthreads > 1) in early_init_dt_scan_cpus()