Searched refs:waitq (Results 1 – 9 of 9) sorted by relevance
/Zephyr-latest/kernel/include/ |
D | wait_q.h | 25 RB_FOR_EACH_CONTAINER(&(wq)->waitq.tree, thread_ptr, base.qnode_rb) 29 w->waitq = (struct _priq_rb) { in z_waitq_init() 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, \ 49 sys_dlist_init(&w->waitq); 54 return (struct k_thread *)sys_dlist_peek_head(&w->waitq);
|
D | ksched.h | 161 _priq_wait_remove(&pended_on_thread(thread)->waitq, thread); in unpend_thread_no_timeout() 180 thread = _priq_wait_best(&wait_q->waitq); in z_unpend_first_thread()
|
/Zephyr-latest/tests/benchmarks/sched/src/ |
D | main.c | 48 _wait_q_t waitq; variable 95 z_pend_curr(&lock, key, &waitq, K_FOREVER); in partner_fn() 120 z_waitq_init(&waitq); in main() 141 z_unpend_first_thread(&waitq); in main()
|
/Zephyr-latest/include/zephyr/ |
D | kernel_structs.h | 275 struct _priq_rb waitq; member 286 sys_dlist_t waitq; member 289 #define Z_WAIT_Q_INIT(wait_q) { SYS_DLIST_STATIC_INIT(&(wait_q)->waitq) }
|
/Zephyr-latest/kernel/ |
D | pipe.c | 37 static int wait_for(_wait_q_t *waitq, struct k_pipe *pipe, k_spinlock_key_t *key, in wait_for() argument 49 if (waitq == &pipe->space) { in wait_for() 54 rc = z_pend_curr(&pipe->lock, *key, waitq, timeout); in wait_for() 110 reader = _priq_wait_best(&pipe->data.waitq); in copy_to_pending_readers()
|
D | sched.c | 542 _priq_wait_add(&wait_q->waitq, thread); in add_to_waitq_locked() 647 thread = _priq_wait_best(&wait_q->waitq); in z_unpend1_no_timeout() 1446 thread = _priq_wait_best(&wait_q->waitq); in z_sched_wake()
|
/Zephyr-latest/lib/os/ |
D | p4wq.c | 117 z_pend_curr(&queue->lock, k, &queue->waitq, K_FOREVER); in p4wq_loop() 136 z_waitq_init(&queue->waitq); in k_p4wq_init() 287 struct k_thread *th = z_unpend_first_thread(&queue->waitq); in k_p4wq_submit()
|
/Zephyr-latest/tests/lib/p4workq/src/ |
D | main.c | 129 SYS_DLIST_FOR_EACH_NODE(&wq.waitq.waitq, dummy) { in active_count()
|
/Zephyr-latest/include/zephyr/sys/ |
D | p4wq.h | 74 _wait_q_t waitq; member
|