Lines Matching defs:thread
90 static ALWAYS_INLINE void *thread_runq(struct k_thread *thread) in thread_runq()
119 static ALWAYS_INLINE void runq_add(struct k_thread *thread) in runq_add()
126 static ALWAYS_INLINE void runq_remove(struct k_thread *thread) in runq_remove()
141 static inline bool should_queue_thread(struct k_thread *thread) in should_queue_thread()
146 static ALWAYS_INLINE void queue_thread(struct k_thread *thread) in queue_thread()
160 static ALWAYS_INLINE void dequeue_thread(struct k_thread *thread) in dequeue_thread()
174 void z_requeue_current(struct k_thread *thread) in z_requeue_current()
183 static inline bool is_aborting(struct k_thread *thread) in is_aborting()
189 static inline bool is_halting(struct k_thread *thread) in is_halting()
196 static inline void clear_halting(struct k_thread *thread) in clear_halting()
211 struct k_thread *thread = runq_best(); in next_up() local
290 void move_thread_to_end_of_prio_q(struct k_thread *thread) in move_thread_to_end_of_prio_q()
303 static void update_metairq_preempt(struct k_thread *thread) in update_metairq_preempt()
326 struct k_thread *thread = next_up(); in update_cache() local
351 static struct _cpu *thread_active_elsewhere(struct k_thread *thread) in thread_active_elsewhere()
373 static void ready_thread(struct k_thread *thread) in ready_thread()
392 void z_ready_thread(struct k_thread *thread) in z_ready_thread()
401 void z_move_thread_to_end_of_prio_q(struct k_thread *thread) in z_move_thread_to_end_of_prio_q()
414 static void thread_halt_spin(struct k_thread *thread, k_spinlock_key_t key) in thread_halt_spin()
435 static void z_thread_halt(struct k_thread *thread, k_spinlock_key_t key, in z_thread_halt()
484 void z_impl_k_thread_suspend(k_tid_t thread) in z_impl_k_thread_suspend()
517 static inline void z_vrfy_k_thread_suspend(k_tid_t thread) in z_vrfy_k_thread_suspend()
525 void z_impl_k_thread_resume(k_tid_t thread) in z_impl_k_thread_resume()
546 static inline void z_vrfy_k_thread_resume(k_tid_t thread) in z_vrfy_k_thread_resume()
554 static void unready_thread(struct k_thread *thread) in unready_thread()
563 static void add_to_waitq_locked(struct k_thread *thread, _wait_q_t *wait_q) in add_to_waitq_locked()
576 static void add_thread_timeout(struct k_thread *thread, k_timeout_t timeout) in add_thread_timeout()
583 static void pend_locked(struct k_thread *thread, _wait_q_t *wait_q, in pend_locked()
593 void z_pend_thread(struct k_thread *thread, _wait_q_t *wait_q, in z_pend_thread()
602 void z_unpend_thread_no_timeout(struct k_thread *thread) in z_unpend_thread_no_timeout()
611 void z_sched_wake_thread(struct k_thread *thread, bool is_timeout) in z_sched_wake_thread()
643 struct k_thread *thread = CONTAINER_OF(timeout, in z_thread_timeout() local
674 struct k_thread *thread = NULL; in z_unpend1_no_timeout() local
687 void z_unpend_thread(struct k_thread *thread) in z_unpend_thread()
696 bool z_thread_prio_set(struct k_thread *thread, int prio) in z_thread_prio_set()
952 struct k_thread *thread; in z_unpend_all() local
979 void z_impl_k_thread_priority_set(k_tid_t thread, int prio) in z_impl_k_thread_priority_set()
996 static inline void z_vrfy_k_thread_priority_set(k_tid_t thread, int prio) in z_vrfy_k_thread_priority_set()
1017 struct k_thread *thread = tid; in z_impl_k_thread_deadline_set() local
1040 struct k_thread *thread = tid; in z_vrfy_k_thread_deadline_set() local
1198 void z_impl_k_wakeup(k_tid_t thread) in z_impl_k_wakeup()
1223 static inline void z_vrfy_k_wakeup(k_tid_t thread) in z_vrfy_k_wakeup()
1246 struct k_thread *thread; in unpend_all() local
1268 static void halt_thread(struct k_thread *thread, uint8_t new_state) in halt_thread()
1362 void z_thread_abort(struct k_thread *thread) in z_thread_abort()
1382 void z_impl_k_thread_abort(k_tid_t thread) in z_impl_k_thread_abort()
1394 int z_impl_k_thread_join(struct k_thread *thread, k_timeout_t timeout) in z_impl_k_thread_join()
1436 static bool thread_obj_validate(struct k_thread *thread) in thread_obj_validate()
1455 static inline int z_vrfy_k_thread_join(struct k_thread *thread, in z_vrfy_k_thread_join()
1466 static inline void z_vrfy_k_thread_abort(k_tid_t thread) in z_vrfy_k_thread_abort()
1485 struct k_thread *thread; in z_sched_wake() local
1519 struct k_thread *thread; in z_sched_waitq_walk() local
1544 void z_unready_thread(struct k_thread *thread) in z_unready_thread()