Lines Matching refs:k_thread
73 static ALWAYS_INLINE int32_t z_sched_prio_cmp(struct k_thread *thread_1, struct k_thread *thread_2) in z_sched_prio_cmp()
106 static ALWAYS_INLINE void z_priq_simple_add(sys_dlist_t *pq, struct k_thread *thread) in z_priq_simple_add()
108 struct k_thread *t; in z_priq_simple_add()
120 static ALWAYS_INLINE void z_priq_simple_remove(sys_dlist_t *pq, struct k_thread *thread) in z_priq_simple_remove()
136 struct k_thread *t; in z_priq_simple_yield()
145 t = CONTAINER_OF(n, struct k_thread, base.qnode_dlist); in z_priq_simple_yield()
158 static ALWAYS_INLINE struct k_thread *z_priq_simple_best(sys_dlist_t *pq) in z_priq_simple_best()
160 struct k_thread *thread = NULL; in z_priq_simple_best()
164 thread = CONTAINER_OF(n, struct k_thread, base.qnode_dlist); in z_priq_simple_best()
170 static ALWAYS_INLINE struct k_thread *z_priq_simple_mask_best(sys_dlist_t *pq) in z_priq_simple_mask_best()
175 struct k_thread *thread; in z_priq_simple_mask_best()
198 static ALWAYS_INLINE void z_priq_rb_add(struct _priq_rb *pq, struct k_thread *thread) in z_priq_rb_add()
200 struct k_thread *t; in z_priq_rb_add()
221 static ALWAYS_INLINE void z_priq_rb_remove(struct _priq_rb *pq, struct k_thread *thread) in z_priq_rb_remove()
238 static ALWAYS_INLINE struct k_thread *z_priq_rb_best(struct _priq_rb *pq) in z_priq_rb_best()
240 struct k_thread *thread = NULL; in z_priq_rb_best()
244 thread = CONTAINER_OF(n, struct k_thread, base.qnode_rb); in z_priq_rb_best()
293 struct k_thread *thread) in z_priq_mq_add()
308 struct k_thread *thread) in z_priq_mq_remove()
332 static ALWAYS_INLINE struct k_thread *z_priq_mq_best(struct _priq_mq *pq) in z_priq_mq_best()
343 return CONTAINER_OF(n, struct k_thread, base.qnode_dlist); in z_priq_mq_best()