Searched refs:waitq (Results 1 – 8 of 8) 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 | 163 _priq_wait_remove(&pended_on_thread(thread)->waitq, thread); in unpend_thread_no_timeout() 182 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 | 274 struct _priq_rb waitq; member 285 sys_dlist_t waitq; member 288 #define Z_WAIT_Q_INIT(wait_q) { SYS_DLIST_STATIC_INIT(&(wait_q)->waitq) }
|
/Zephyr-latest/lib/os/ |
D | p4wq.c | 110 z_pend_curr(&queue->lock, k, &queue->waitq, K_FOREVER); in p4wq_loop() 129 z_waitq_init(&queue->waitq); in k_p4wq_init() 275 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 | 67 _wait_q_t waitq; member
|
/Zephyr-latest/kernel/ |
D | sched.c | 572 _priq_wait_add(&wait_q->waitq, thread); in add_to_waitq_locked() 677 thread = _priq_wait_best(&wait_q->waitq); in z_unpend1_no_timeout() 1489 thread = _priq_wait_best(&wait_q->waitq); in z_sched_wake()
|