Lines Matching +full:- +full:w
6 * SPDX-License-Identifier: Apache-2.0
25 RB_FOR_EACH_CONTAINER(&(wq)->waitq.tree, thread_ptr, base.qnode_rb)
27 static inline void z_waitq_init(_wait_q_t *w) in z_waitq_init() argument
29 w->waitq = (struct _priq_rb) { in z_waitq_init()
36 static inline struct k_thread *z_waitq_head(_wait_q_t *w) in z_waitq_head() argument
38 return (struct k_thread *)rb_get_min(&w->waitq.tree); in z_waitq_head()
44 SYS_DLIST_FOR_EACH_CONTAINER(&((wq)->waitq), thread_ptr, \
47 static inline void z_waitq_init(_wait_q_t *w)
49 sys_dlist_init(&w->waitq);
52 static inline struct k_thread *z_waitq_head(_wait_q_t *w)
54 return (struct k_thread *)sys_dlist_peek_head(&w->waitq);