Lines Matching defs:thread
48 static ALWAYS_INLINE void *thread_runq(struct k_thread *thread) in thread_runq()
77 static ALWAYS_INLINE void runq_add(struct k_thread *thread) in runq_add()
84 static ALWAYS_INLINE void runq_remove(struct k_thread *thread) in runq_remove()
104 static inline bool should_queue_thread(struct k_thread *thread) in should_queue_thread()
109 static ALWAYS_INLINE void queue_thread(struct k_thread *thread) in queue_thread()
123 static ALWAYS_INLINE void dequeue_thread(struct k_thread *thread) in dequeue_thread()
137 void z_requeue_current(struct k_thread *thread) in z_requeue_current()
146 static inline bool is_aborting(struct k_thread *thread) in is_aborting()
152 static inline bool is_halting(struct k_thread *thread) in is_halting()
159 static inline void clear_halting(struct k_thread *thread) in clear_halting()
176 struct k_thread *thread = runq_best(); in next_up() local
255 void move_thread_to_end_of_prio_q(struct k_thread *thread) in move_thread_to_end_of_prio_q()
268 static void update_metairq_preempt(struct k_thread *thread) in update_metairq_preempt()
291 struct k_thread *thread = next_up(); in update_cache() local
316 static struct _cpu *thread_active_elsewhere(struct k_thread *thread) in thread_active_elsewhere()
338 static void ready_thread(struct k_thread *thread) in ready_thread()
357 void z_ready_thread(struct k_thread *thread) in z_ready_thread()
366 void z_move_thread_to_end_of_prio_q(struct k_thread *thread) in z_move_thread_to_end_of_prio_q()
379 static void thread_halt_spin(struct k_thread *thread, k_spinlock_key_t key) in thread_halt_spin()
400 static ALWAYS_INLINE void z_thread_halt(struct k_thread *thread, k_spinlock_key_t key, in z_thread_halt()
454 void z_impl_k_thread_suspend(k_tid_t thread) in z_impl_k_thread_suspend()
487 static inline void z_vrfy_k_thread_suspend(k_tid_t thread) in z_vrfy_k_thread_suspend()
495 void z_impl_k_thread_resume(k_tid_t thread) in z_impl_k_thread_resume()
516 static inline void z_vrfy_k_thread_resume(k_tid_t thread) in z_vrfy_k_thread_resume()
524 static void unready_thread(struct k_thread *thread) in unready_thread()
533 static void add_to_waitq_locked(struct k_thread *thread, _wait_q_t *wait_q) in add_to_waitq_locked()
546 static void add_thread_timeout(struct k_thread *thread, k_timeout_t timeout) in add_thread_timeout()
553 static void pend_locked(struct k_thread *thread, _wait_q_t *wait_q, in pend_locked()
563 void z_pend_thread(struct k_thread *thread, _wait_q_t *wait_q, in z_pend_thread()
572 void z_unpend_thread_no_timeout(struct k_thread *thread) in z_unpend_thread_no_timeout()
581 void z_sched_wake_thread(struct k_thread *thread, bool is_timeout) in z_sched_wake_thread()
613 struct k_thread *thread = CONTAINER_OF(timeout, in z_thread_timeout() local
644 struct k_thread *thread = NULL; in z_unpend1_no_timeout() local
657 void z_unpend_thread(struct k_thread *thread) in z_unpend_thread()
666 bool z_thread_prio_set(struct k_thread *thread, int prio) in z_thread_prio_set()
942 struct k_thread *thread; in z_unpend_all() local
969 void z_impl_k_thread_priority_set(k_tid_t thread, int prio) in z_impl_k_thread_priority_set()
986 static inline void z_vrfy_k_thread_priority_set(k_tid_t thread, int prio) in z_vrfy_k_thread_priority_set()
1007 struct k_thread *thread = tid; in z_impl_k_thread_deadline_set() local
1030 struct k_thread *thread = tid; in z_vrfy_k_thread_deadline_set() local
1182 void z_impl_k_wakeup(k_tid_t thread) in z_impl_k_wakeup()
1199 static inline void z_vrfy_k_wakeup(k_tid_t thread) in z_vrfy_k_wakeup()
1222 struct k_thread *thread; in unpend_all() local
1244 static ALWAYS_INLINE void halt_thread(struct k_thread *thread, uint8_t new_state) in halt_thread()
1336 void z_thread_abort(struct k_thread *thread) in z_thread_abort()
1355 void z_impl_k_thread_abort(k_tid_t thread) in z_impl_k_thread_abort()
1367 int z_impl_k_thread_join(struct k_thread *thread, k_timeout_t timeout) in z_impl_k_thread_join()
1409 static bool thread_obj_validate(struct k_thread *thread) in thread_obj_validate()
1428 static inline int z_vrfy_k_thread_join(struct k_thread *thread, in z_vrfy_k_thread_join()
1439 static inline void z_vrfy_k_thread_abort(k_tid_t thread) in z_vrfy_k_thread_abort()
1458 struct k_thread *thread; in z_sched_wake() local
1492 struct k_thread *thread; in z_sched_waitq_walk() local
1517 void z_unready_thread(struct k_thread *thread) in z_unready_thread()