/Zephyr-Core-3.4.0/subsys/testsuite/ztest/src/ |
D | ztress.c | 83 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/ |
D | main.c | 48 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/ |
D | thread.c | 44 #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/ |
D | main.c | 56 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/ |
D | pthread_key.c | 15 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/ |
D | main.c | 21 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/ |
D | main.c | 22 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/ |
D | test_sched.h | 21 struct thread_data { struct
|
D | test_sched_timeslice_and_lock.c | 13 static struct thread_data tdata[THREADS_NUM];
|
/Zephyr-Core-3.4.0/drivers/usb/udc/ |
D | udc_skeleton.c | 56 struct k_thread thread_data; member 377 k_thread_create(&priv->thread_data, \ 385 k_thread_name_set(&priv->thread_data, dev->name); \
|
D | udc_virtual.c | 40 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/ |
D | main.c | 24 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/ |
D | main.c | 25 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/ |
D | usbc_stack.h | 63 struct k_thread thread_data; member
|
D | usbc_stack.c | 64 &port->thread_data, my_stack_area_##inst, \
|
/Zephyr-Core-3.4.0/samples/bluetooth/ipsp/src/ |
D | main.c | 39 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/ |
D | ztress.h | 208 struct ztress_context_data *thread_data,
|
/Zephyr-Core-3.4.0/tests/kernel/threads/thread_init/src/ |
D | main.c | 54 static ZTEST_BMEM struct thread_data { struct
|
/Zephyr-Core-3.4.0/tests/net/context/src/ |
D | main.c | 773 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()
|