/Zephyr-Core-2.7.6/lib/os/ |
D | user_work.c | 12 struct k_work_user_q *work_q = work_q_ptr; in z_work_user_q_main() local 21 work = k_queue_get(&work_q->queue, K_FOREVER); in z_work_user_q_main() 42 void k_work_user_queue_start(struct k_work_user_q *work_q, k_thread_stack_t *stack, in k_work_user_queue_start() argument 45 k_queue_init(&work_q->queue); in k_work_user_queue_start() 50 k_thread_create(&work_q->thread, stack, stack_size, z_work_user_q_main, in k_work_user_queue_start() 51 work_q, NULL, NULL, prio, K_USER | K_INHERIT_PERMS, in k_work_user_queue_start() 53 k_object_access_grant(&work_q->queue, &work_q->thread); in k_work_user_queue_start() 55 k_thread_name_set(&work_q->thread, name); in k_work_user_queue_start() 58 k_thread_start(&work_q->thread); in k_work_user_queue_start()
|
/Zephyr-Core-2.7.6/tests/kernel/workq/user_work/src/ |
D | main.c | 104 static void twork_submit_1(struct k_work_user_q *work_q, struct k_work_user *w, in twork_submit_1() argument 113 zassert_false(k_work_user_submit_to_queue(work_q, w), in twork_submit_1() 119 struct k_work_user_q *work_q = (struct k_work_user_q *)data; in twork_submit() local 122 twork_submit_1(work_q, &work[i], work_handler); in twork_submit()
|
/Zephyr-Core-2.7.6/kernel/ |
D | poll.c | 589 struct k_work_q *work_q = twork->workq; in signal_triggered_work() local 593 z_work_submit_to_queue(work_q, &twork->work); in signal_triggered_work() 642 int k_work_poll_submit_to_queue(struct k_work_q *work_q, in k_work_poll_submit_to_queue() argument 651 __ASSERT(work_q != NULL, "NULL work_q\n"); in k_work_poll_submit_to_queue() 656 SYS_PORT_TRACING_FUNC_ENTER(k_work_poll, submit_to_queue, work_q, work, timeout); in k_work_poll_submit_to_queue() 661 if (work->workq == work_q) { in k_work_poll_submit_to_queue() 668 SYS_PORT_TRACING_FUNC_EXIT(k_work_poll, submit_to_queue, work_q, in k_work_poll_submit_to_queue() 676 SYS_PORT_TRACING_FUNC_EXIT(k_work_poll, submit_to_queue, work_q, in k_work_poll_submit_to_queue() 685 work->workq = work_q; in k_work_poll_submit_to_queue() 720 SYS_PORT_TRACING_FUNC_EXIT(k_work_poll, submit_to_queue, work_q, work, timeout, 0); in k_work_poll_submit_to_queue() [all …]
|
/Zephyr-Core-2.7.6/include/net/ |
D | openthread.h | 67 struct k_work_q work_q; member
|
/Zephyr-Core-2.7.6/subsys/net/l2/openthread/ |
D | openthread.c | 111 return ot_context ? (k_tid_t)&ot_context->work_q.thread : 0; in openthread_thread_id_get() 158 k_work_submit_to_queue(&ot_context->work_q, &ot_context->api_work); in otTaskletsSignalPending() 496 k_work_queue_start(&ot_context->work_q, ot_stack_area, in openthread_init() 500 (void)k_work_submit_to_queue(&ot_context->work_q, &ot_context->api_work); in openthread_init()
|
/Zephyr-Core-2.7.6/drivers/wifi/eswifi/ |
D | eswifi_offload.c | 132 k_work_submit_to_queue(&eswifi->work_q, &socket->connect_work); in eswifi_off_connect() 278 k_work_submit_to_queue(&eswifi->work_q, &socket->send_work); in eswifi_off_send() 334 k_work_submit_to_queue(&eswifi->work_q, &socket->send_work); in eswifi_off_sendto() 436 k_work_reschedule_for_queue(&eswifi->work_q, &socket->read_work, in eswifi_off_get()
|
D | eswifi_core.c | 428 k_work_submit_to_queue(&eswifi->work_q, &eswifi->request_work); in eswifi_mgmt_scan() 444 k_work_submit_to_queue(&eswifi->work_q, &eswifi->request_work); in eswifi_mgmt_disconnect() 493 k_work_submit_to_queue(&eswifi->work_q, in eswifi_mgmt_connect() 672 k_work_queue_start(&eswifi->work_q, eswifi_work_q_stack, in eswifi_init()
|
D | eswifi.h | 68 struct k_work_q work_q; member
|
D | eswifi_socket.c | 154 err = k_work_reschedule_for_queue(&eswifi->work_q, &socket->read_work, in eswifi_off_read_work()
|
D | eswifi_socket_offload.c | 413 k_work_reschedule_for_queue(&eswifi->work_q, &socket->read_work, in eswifi_socket_open()
|
/Zephyr-Core-2.7.6/subsys/tracing/user/ |
D | tracing_user.h | 110 #define sys_port_trace_k_work_poll_submit_to_queue_enter(work_q, work, \ argument 112 #define sys_port_trace_k_work_poll_submit_to_queue_blocking(work_q, work, \ argument 114 #define sys_port_trace_k_work_poll_submit_to_queue_exit(work_q, work, timeout, \ argument
|
/Zephyr-Core-2.7.6/include/tracing/ |
D | tracing.h | 613 #define sys_port_trace_k_work_poll_submit_to_queue_enter(work_q, work, timeout) argument 621 #define sys_port_trace_k_work_poll_submit_to_queue_blocking(work_q, work, timeout) argument 630 #define sys_port_trace_k_work_poll_submit_to_queue_exit(work_q, work, timeout, ret) argument
|
/Zephyr-Core-2.7.6/drivers/can/ |
D | can_common.c | 130 int can_attach_workq(const struct device *dev, struct k_work_q *work_q, in can_attach_workq() argument 138 work->work_queue = work_q; in can_attach_workq()
|
/Zephyr-Core-2.7.6/include/ |
D | kernel.h | 3699 static inline void k_work_q_start(struct k_work_q *work_q, in k_work_q_start() argument 3703 k_work_queue_start(work_q, stack, stack_size, prio, NULL); in k_work_q_start() 3723 static inline int k_delayed_work_submit_to_queue(struct k_work_q *work_q, in k_delayed_work_submit_to_queue() argument 3727 int rc = k_work_reschedule_for_queue(work_q, &work->work, delay); in k_delayed_work_submit_to_queue() 3935 static inline int k_work_user_submit_to_queue(struct k_work_user_q *work_q, in k_work_user_submit_to_queue() argument 3942 ret = k_queue_alloc_append(&work_q->queue, work); in k_work_user_submit_to_queue() 3977 extern void k_work_user_queue_start(struct k_work_user_q *work_q, 4084 extern int k_work_poll_submit_to_queue(struct k_work_q *work_q,
|
/Zephyr-Core-2.7.6/subsys/tracing/ctf/ |
D | tracing_ctf.h | 118 #define sys_port_trace_k_work_poll_submit_to_queue_enter(work_q, work, \ argument 120 #define sys_port_trace_k_work_poll_submit_to_queue_blocking(work_q, work, \ argument 122 #define sys_port_trace_k_work_poll_submit_to_queue_exit(work_q, work, timeout, \ argument
|
/Zephyr-Core-2.7.6/subsys/tracing/sysview/ |
D | tracing_sysview.h | 386 #define sys_port_trace_k_work_poll_submit_to_queue_enter(work_q, work, timeout) \ argument 387 SEGGER_SYSVIEW_RecordU32x3(TID_WORK_POLL_SUBMIT_TO_QUEUE, (uint32_t)(uintptr_t)work_q, \ 390 #define sys_port_trace_k_work_poll_submit_to_queue_blocking(work_q, work, timeout) argument 392 #define sys_port_trace_k_work_poll_submit_to_queue_exit(work_q, work, timeout, ret) \ argument
|
D | SYSVIEW_Zephyr.txt | 138 125 k_work_poll_submit_to_queue work_q=%I, work=%I, Timeout=%TimeOut
|
/Zephyr-Core-2.7.6/subsys/tracing/test/ |
D | tracing_test.h | 107 #define sys_port_trace_k_work_poll_submit_to_queue_enter(work_q, work, timeout) argument 108 #define sys_port_trace_k_work_poll_submit_to_queue_blocking(work_q, work, timeout) argument 109 #define sys_port_trace_k_work_poll_submit_to_queue_exit(work_q, work, timeout, ret) argument
|
/Zephyr-Core-2.7.6/include/drivers/ |
D | can.h | 550 int can_attach_workq(const struct device *dev, struct k_work_q *work_q,
|
/Zephyr-Core-2.7.6/boards/x86/qemu_x86/ |
D | qemu_x86_tiny.ld | 195 LIB_ZEPHYR_OBJECT_FILE_IN_SECT(lsect, work_q)
|
/Zephyr-Core-2.7.6/doc/releases/ |
D | release-notes-2.0.rst | 1306 * :github:`14733` - kernel/work_q.c: Improve code coverage to 100%
|