Lines Matching defs:nthreads
414 static int assign_threads(unsigned int cpu, unsigned int nthreads, bool present,
417 for (int i = 0; i < nthreads && cpu < nr_cpu_ids; i++) {
455 int nthreads = 1;
485 nthreads = len / sizeof(int);
495 cpu = nthreads;
501 assign_threads(0, nthreads, avail, intserv);
511 cpu = assign_threads(cpu, nthreads, avail, intserv);
514 /* If no SMT supported, nthreads is forced to 1 */
516 DBG(" SMT disabled ! nthreads forced to 1\n");
517 nthreads = 1;
542 maxcpus *= nthreads;
570 cpu_init_thread_core_maps(nthreads);