idle_threads 28 kernel/smpboot.c static DEFINE_PER_CPU(struct task_struct *, idle_threads); idle_threads 32 kernel/smpboot.c struct task_struct *tsk = per_cpu(idle_threads, cpu); idle_threads 42 kernel/smpboot.c per_cpu(idle_threads, smp_processor_id()) = current; idle_threads 53 kernel/smpboot.c struct task_struct *tsk = per_cpu(idle_threads, cpu); idle_threads 60 kernel/smpboot.c per_cpu(idle_threads, cpu) = tsk; idle_threads 287 tools/perf/builtin-sched.c static struct thread **idle_threads; idle_threads 2213 tools/perf/builtin-sched.c idle_threads = zalloc(ncpu * sizeof(struct thread *)); idle_threads 2214 tools/perf/builtin-sched.c if (!idle_threads) idle_threads 2221 tools/perf/builtin-sched.c idle_threads[i] = thread__new(0, 0); idle_threads 2222 tools/perf/builtin-sched.c if (idle_threads[i] == NULL) idle_threads 2225 tools/perf/builtin-sched.c ret = init_idle_thread(idle_threads[i]); idle_threads 2237 tools/perf/builtin-sched.c if (idle_threads == NULL) idle_threads 2241 tools/perf/builtin-sched.c if ((idle_threads[i])) idle_threads 2242 tools/perf/builtin-sched.c thread__delete(idle_threads[i]); idle_threads 2245 tools/perf/builtin-sched.c free(idle_threads); idle_threads 2254 tools/perf/builtin-sched.c if ((cpu >= idle_max_cpu) || (idle_threads == NULL)) { idle_threads 2258 tools/perf/builtin-sched.c p = realloc(idle_threads, j * sizeof(struct thread *)); idle_threads 2262 tools/perf/builtin-sched.c idle_threads = (struct thread **) p; idle_threads 2264 tools/perf/builtin-sched.c idle_threads[i] = NULL; idle_threads 2270 tools/perf/builtin-sched.c if (idle_threads[cpu] == NULL) { idle_threads 2271 tools/perf/builtin-sched.c idle_threads[cpu] = thread__new(0, 0); idle_threads 2273 tools/perf/builtin-sched.c if (idle_threads[cpu]) { idle_threads 2274 tools/perf/builtin-sched.c if (init_idle_thread(idle_threads[cpu]) < 0) idle_threads 2279 tools/perf/builtin-sched.c return idle_threads[cpu]; idle_threads 2847 tools/perf/builtin-sched.c t = idle_threads[i]; idle_threads 2871 tools/perf/builtin-sched.c t = idle_threads[i];