Home
last modified time | relevance | path

Searched refs:thread_data (Results 1 – 19 of 19) sorted by relevance

/Zephyr-Core-3.4.0/subsys/testsuite/ztest/src/
Dztress.c83 struct ztress_context_data *thread_data = k_timer_user_data_get(timer); in progress_timeout() local
96 if (thread_data[i].exec_cnt == 0 && thread_data[i].preempt_cnt == 0) { in progress_timeout()
100 uint32_t exec_progress = (thread_data[i].exec_cnt) ? in progress_timeout()
101 (100 * exec_cnt[i]) / thread_data[i].exec_cnt : 100; in progress_timeout()
102 uint32_t preempt_progress = (thread_data[i].preempt_cnt) ? in progress_timeout()
103 (100 * preempt_cnt[i]) / thread_data[i].preempt_cnt : 100; in progress_timeout()
287 static void ztress_init(struct ztress_context_data *thread_data) in ztress_init() argument
296 k_timer_user_data_set(&progress_timer, thread_data); in ztress_init()
321 struct ztress_context_data *thread_data, in ztress_execute() argument
344 ztress_init(thread_data); in ztress_execute()
[all …]
/Zephyr-Core-3.4.0/tests/ztest/ztress/src/
Dmain.c48 struct ztress_context_data thread_data[] = { in ZTEST() local
54 err = ztress_execute(&timer_data, thread_data, ARRAY_SIZE(thread_data)); in ZTEST()
144 struct ztress_context_data thread_data[] = { in ZTEST() local
150 err = ztress_execute(&timer_data, thread_data, ARRAY_SIZE(thread_data)); in ZTEST()
/Zephyr-Core-3.4.0/kernel/
Dthread.c44 #define _FOREACH_STATIC_THREAD(thread_data) \ argument
45 STRUCT_SECTION_FOREACH(_static_thread_data, thread_data)
755 _FOREACH_STATIC_THREAD(thread_data) { in z_init_static_threads()
757 thread_data->init_thread, in z_init_static_threads()
758 thread_data->init_stack, in z_init_static_threads()
759 thread_data->init_stack_size, in z_init_static_threads()
760 thread_data->init_entry, in z_init_static_threads()
761 thread_data->init_p1, in z_init_static_threads()
762 thread_data->init_p2, in z_init_static_threads()
763 thread_data->init_p3, in z_init_static_threads()
[all …]
/Zephyr-Core-3.4.0/tests/kernel/stack/stack/src/
Dmain.c56 struct k_thread thread_data; variable
174 k_tid_t tid = k_thread_create(&thread_data, threadstack, TSTACK_SIZE, in ZTEST_USER()
203 k_tid_t tid = k_thread_create(&thread_data, threadstack, TSTACK_SIZE, in ZTEST_USER()
232 k_tid_t tid = k_thread_create(&thread_data, threadstack, TSTACK_SIZE, in ZTEST()
282 k_tid_t tid = k_thread_create(&thread_data, threadstack, in ZTEST()
314 k_thread_access_grant(k_current_get(), &stack1, &stack2, &thread_data, in stack_setup()
/Zephyr-Core-3.4.0/lib/posix/
Dpthread_key.c15 pthread_thread_data thread_data; member
204 key_data->thread_data.key = key_obj; in pthread_setspecific()
205 key_data->thread_data.spec_data = (void *)value; in pthread_setspecific()
209 (sys_snode_t *)(&key_data->thread_data)); in pthread_setspecific()
/Zephyr-Core-3.4.0/samples/subsys/ipc/rpmsg_service/remote/src/
Dmain.c21 static struct k_thread thread_data; variable
80 k_thread_create(&thread_data, thread_stack, APP_TASK_STACK_SIZE, in main()
/Zephyr-Core-3.4.0/samples/subsys/ipc/rpmsg_service/src/
Dmain.c22 static struct k_thread thread_data; variable
90 k_thread_create(&thread_data, thread_stack, APP_TASK_STACK_SIZE, in main()
/Zephyr-Core-3.4.0/tests/kernel/sched/schedule_api/src/
Dtest_sched.h21 struct thread_data { struct
Dtest_sched_timeslice_and_lock.c13 static struct thread_data tdata[THREADS_NUM];
/Zephyr-Core-3.4.0/drivers/usb/udc/
Dudc_skeleton.c56 struct k_thread thread_data; member
377 k_thread_create(&priv->thread_data, \
385 k_thread_name_set(&priv->thread_data, dev->name); \
Dudc_virtual.c40 struct k_thread thread_data; member
660 k_thread_create(&priv->thread_data, \
668 k_thread_name_set(&priv->thread_data, dev->name); \
/Zephyr-Core-3.4.0/samples/subsys/ipc/openamp/remote/src/
Dmain.c24 static struct k_thread thread_data; variable
261 k_thread_create(&thread_data, thread_stack, APP_TASK_STACK_SIZE, in main()
/Zephyr-Core-3.4.0/samples/subsys/ipc/openamp/src/
Dmain.c25 static struct k_thread thread_data; variable
287 k_thread_create(&thread_data, thread_stack, APP_TASK_STACK_SIZE, in main()
/Zephyr-Core-3.4.0/subsys/usb/usb_c/
Dusbc_stack.h63 struct k_thread thread_data; member
Dusbc_stack.c64 &port->thread_data, my_stack_area_##inst, \
/Zephyr-Core-3.4.0/samples/bluetooth/ipsp/src/
Dmain.c39 static struct k_thread thread_data; variable
315 k_thread_create(&thread_data, thread_stack, STACKSIZE, in main()
/Zephyr-Core-3.4.0/subsys/testsuite/ztest/include/zephyr/
Dztress.h208 struct ztress_context_data *thread_data,
/Zephyr-Core-3.4.0/tests/kernel/threads/thread_init/src/
Dmain.c54 static ZTEST_BMEM struct thread_data { struct
/Zephyr-Core-3.4.0/tests/net/context/src/
Dmain.c773 static struct k_thread thread_data; variable
820 return k_thread_create(&thread_data, thread_stack, STACKSIZE, in start_timeout_v6_thread()
829 return k_thread_create(&thread_data, thread_stack, STACKSIZE, in start_timeout_v4_thread()