Lines Matching refs:k_thread
49 extern struct k_thread _thread_dummy;
52 void z_move_thread_to_end_of_prio_q(struct k_thread *thread);
53 void z_unpend_thread_no_timeout(struct k_thread *thread);
54 struct k_thread *z_unpend1_no_timeout(_wait_q_t *wait_q);
57 void z_pend_thread(struct k_thread *thread, _wait_q_t *wait_q,
61 void z_unpend_thread(struct k_thread *thread);
63 bool z_thread_prio_set(struct k_thread *thread, int prio);
67 void z_reset_time_slice(struct k_thread *curr);
69 void z_sched_start(struct k_thread *thread);
70 void z_ready_thread(struct k_thread *thread);
71 void z_requeue_current(struct k_thread *curr);
72 struct k_thread *z_swap_next_thread(void);
73 void z_thread_abort(struct k_thread *thread);
74 void move_thread_to_end_of_prio_q(struct k_thread *thread);
75 bool thread_is_sliceable(struct k_thread *thread);
141 static ALWAYS_INLINE _wait_q_t *pended_on_thread(struct k_thread *thread) in pended_on_thread()
149 static inline void unpend_thread_no_timeout(struct k_thread *thread) in unpend_thread_no_timeout()
162 static ALWAYS_INLINE struct k_thread *z_unpend_first_thread(_wait_q_t *wait_q) in z_unpend_first_thread()
164 struct k_thread *thread = NULL; in z_unpend_first_thread()
228 void z_sched_wake_thread(struct k_thread *thread, bool is_timeout);
297 int (*func)(struct k_thread *, void *), void *data);
318 void z_sched_usage_start(struct k_thread *thread);
328 void z_sched_thread_usage(struct k_thread *thread,
331 static inline void z_sched_usage_switch(struct k_thread *thread) in z_sched_usage_switch()