Home
last modified time | relevance | path

Searched refs:idle_threads (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/kernel/
H A Dsmpboot.c28 static DEFINE_PER_CPU(struct task_struct *, idle_threads);
32 struct task_struct *tsk = per_cpu(idle_threads, cpu); in idle_thread_get()
41 per_cpu(idle_threads, smp_processor_id()) = current; in idle_thread_set_boot_cpu()
52 struct task_struct *tsk = per_cpu(idle_threads, cpu); in idle_init()
59 per_cpu(idle_threads, cpu) = tsk; in idle_init()
/linux-6.15/tools/perf/
H A Dbuiltin-sched.c287 static struct thread **idle_threads; variable
2377 if (!idle_threads) in init_idle_threads()
2385 if (idle_threads[i] == NULL) in init_idle_threads()
2400 if (idle_threads == NULL) in free_idle_threads()
2404 if ((idle_threads[i])) in free_idle_threads()
2408 free(idle_threads); in free_idle_threads()
2427 idle_threads[i] = NULL; in get_idle_thread()
2436 if (idle_threads[cpu]) { in get_idle_thread()
2442 return idle_threads[cpu]; in get_idle_thread()
3067 t = idle_threads[i]; in timehist_print_summary()
[all …]