Lines Matching refs:ready_q
103 return &_kernel.cpus[cpu].ready_q.runq; in thread_runq()
106 return &_kernel.ready_q.runq; in thread_runq()
113 return &arch_curr_cpu()->ready_q.runq; in curr_cpu_runq()
115 return &_kernel.ready_q.runq; in curr_cpu_runq()
335 _kernel.ready_q.cache = thread; in update_cache()
337 _kernel.ready_q.cache = arch_current_thread(); in update_cache()
764 new_thread = _kernel.ready_q.cache; in need_swap()
830 return _kernel.ready_q.cache; in z_swap_next_thread()
941 z_sched_usage_switch(_kernel.ready_q.cache); in z_get_next_switch_handle()
943 set_current(_kernel.ready_q.cache); in z_get_next_switch_handle()
963 void init_ready_q(struct _ready_q *ready_q) in init_ready_q() argument
965 _priq_run_init(&ready_q->runq); in init_ready_q()
972 init_ready_q(&_kernel.cpus[i].ready_q); in z_sched_init()
975 init_ready_q(&_kernel.ready_q); in z_sched_init()