Searched refs:idle_threads (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-6.6/kernel/ |
H A D | smpboot.c | 28 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()
|
/kernel/linux/linux-5.10/kernel/ |
H A D | smpboot.c | 28 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()
|
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-sched.c | 291 static struct thread **idle_threads; variable 2221 idle_threads = zalloc(ncpu * sizeof(struct thread *)); in init_idle_threads() 2222 if (!idle_threads) in init_idle_threads() 2229 idle_threads[i] = thread__new(0, 0); in init_idle_threads() 2230 if (idle_threads[i] == NULL) in init_idle_threads() 2233 ret = init_idle_thread(idle_threads[i]); in init_idle_threads() 2245 if (idle_threads == NULL) in free_idle_threads() 2249 if ((idle_threads[i])) in free_idle_threads() 2250 thread__delete(idle_threads[i]); in free_idle_threads() 2253 free(idle_threads); in free_idle_threads() [all...] |
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-sched.c | 293 static struct thread **idle_threads; variable 2270 idle_threads = zalloc(ncpu * sizeof(struct thread *)); in init_idle_threads() 2271 if (!idle_threads) in init_idle_threads() 2278 idle_threads[i] = thread__new(0, 0); in init_idle_threads() 2279 if (idle_threads[i] == NULL) in init_idle_threads() 2282 ret = init_idle_thread(idle_threads[i]); in init_idle_threads() 2294 if (idle_threads == NULL) in free_idle_threads() 2298 if ((idle_threads[i])) in free_idle_threads() 2299 thread__delete(idle_threads[i]); in free_idle_threads() 2302 free(idle_threads); in free_idle_threads() [all...] |
Completed in 10 milliseconds