Home
last modified time | relevance | path

Searched refs:queue (Results 1 – 5 of 5) sorted by relevance

/kernel/
A Dqueue.c60 sys_sflist_init(&queue->data_q); in z_impl_k_queue_init()
62 z_waitq_init(&queue->wait_q); in z_impl_k_queue_init()
69 k_object_init(queue); in z_impl_k_queue_init()
76 z_impl_k_queue_init(queue); in z_vrfy_k_queue_init()
92 ARG_UNUSED(queue); in handle_poll_events()
117 z_reschedule(&queue->lock, key); in z_impl_k_queue_cancel_wait()
119 k_spin_unlock(&queue->lock, key); in z_impl_k_queue_cancel_wait()
127 z_impl_k_queue_cancel_wait(queue); in z_vrfy_k_queue_cancel_wait()
178 z_reschedule(&queue->lock, key); in queue_insert()
364 int ret = z_pend_curr(&queue->lock, key, &queue->wait_q, timeout); in z_impl_k_queue_get()
[all …]
A Dwork.c234 if (queue != NULL) { in notify_queue_locked()
263 if (queue == NULL) { in queue_submit_locked()
335 *queuep = work->queue; in submit_to_queue_locked()
344 *queuep = work->queue; in submit_to_queue_locked()
354 work->queue = *queuep; in submit_to_queue_locked()
447 struct k_work_q *queue = work->queue; in work_flush_locked() local
615 work = queue->work; in work_timeout_handler()
637 queue->work = work; in work_timeout_start_locked()
861 queue->thread_id = &queue->thread; in k_work_queue_start()
977 queue = dw->queue; in work_timeout()
[all …]
A Dpoll.c73 if (!k_queue_is_empty(event->queue)) {
149 __ASSERT(event->queue != NULL, "invalid queue\n");
150 add_event(&event->queue->poll_events, event, poller);
188 __ASSERT(event->queue != NULL, "invalid queue\n");
410 K_OOPS(K_SYSCALL_OBJ(e->queue, K_OBJ_QUEUE));
602 extern int z_work_submit_to_queue(struct k_work_q *queue,
A DKconfig151 optimizations can be made (e.g. having a separate run queue
301 bool "Simple linked-list ready queue"
307 prompt "Scheduler priority queue algorithm"
317 bool "Simple linked-list ready queue"
319 When selected, the scheduler ready queue will be implemented
324 threads in the queue at any given time. On most platforms
329 bool "Red/black tree ready queue"
342 bool "Traditional multi-queue ready queue"
367 prompt "Wait queue priority algorithm"
603 bool "Select whether system work queue yields"
[all …]
A DCMakeLists.txt76 queue.c

Completed in 12 milliseconds