Searched refs:idle_thread (Results 1 – 5 of 5) sorted by relevance
155 struct k_thread *idle_thread; member
506 struct k_thread *idle = arch_curr_cpu()->idle_thread; in ZTEST()508 struct k_thread *idle = _current_cpu->idle_thread; in ZTEST()
42 if (cpu->current != cpu->idle_thread) { in sched_cpu_update_usage()165 _kernel.cpus[cpu_id].idle_thread->base.usage.total; in z_sched_cpu_usage()
611 _kernel.cpus[id].idle_thread = &z_idle_threads[id]; in z_init_cpu()
241 return (thread != NULL) ? thread : _current_cpu->idle_thread; in next_up()258 thread = _current_cpu->idle_thread; in next_up()