Home
last modified time | relevance | path

Searched refs:user_workq (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/kernel/workq/user_work/src/
Dmain.c23 static struct k_work_user_q user_workq; variable
71 k_work_user_submit_to_queue(&user_workq, &work[0]); in test_k_work_user_submit_to_queue_fail()
73 k_work_user_submit_to_queue(&user_workq, &work[0]); in test_k_work_user_submit_to_queue_fail()
77 zassert_true(k_queue_is_empty(&user_workq.queue)); in test_k_work_user_submit_to_queue_fail()
82 ret = k_queue_alloc_append(&user_workq.queue, &work[1]); in test_k_work_user_submit_to_queue_fail()
88 k_work_user_submit_to_queue(&user_workq, &work[0]); in test_k_work_user_submit_to_queue_fail()
133 k_work_user_queue_start(&user_workq, user_tstack, STACK_SIZE, in test_work_user_queue_start_before_submit()
159 k_object_access_grant(&dummy_sema, &user_workq.thread); in test_user_workq_granted_access()
173 twork_submit(&user_workq); in test_user_work_submit_to_queue_thread()
182 k_thread_access_grant(main_thread, &sync_sema, &user_workq.thread, in workq_setup()
[all …]
/Zephyr-latest/tests/benchmarks/footprints/src/
Dworkq.c18 static struct k_work_user_q user_workq; variable
78 k_work_user_submit_to_queue(&user_workq, &user_work_item); in simple_user_workq_thread()
109 k_work_user_queue_start(&user_workq, user_workq_stack, in run_workq()
117 k_mem_domain_add_thread(&footprint_mem_domain, &user_workq.thread); in run_workq()
118 k_thread_access_grant(&user_workq.thread, &sync_sema); in run_workq()
125 &user_workq.thread, &user_workq.queue, in run_workq()