/Zephyr-Core-3.5.0/tests/kernel/obj_core/obj_core_stats_api/src/ |
D | main.c | 13 K_THREAD_DEFINE(test_thread, 512, test_thread_entry, NULL, NULL, NULL, 47 saved_enable = K_OBJ_CORE(test_thread)->type->stats_desc->enable; in ZTEST() 48 K_OBJ_CORE(test_thread)->type->stats_desc->enable = NULL; in ZTEST() 49 status = k_obj_core_stats_enable(K_OBJ_CORE(test_thread)); in ZTEST() 52 K_OBJ_CORE(test_thread)->type->stats_desc->enable = saved_enable; in ZTEST() 78 saved_disable = K_OBJ_CORE(test_thread)->type->stats_desc->disable; in ZTEST() 79 K_OBJ_CORE(test_thread)->type->stats_desc->disable = NULL; in ZTEST() 80 status = k_obj_core_stats_disable(K_OBJ_CORE(test_thread)); in ZTEST() 83 K_OBJ_CORE(test_thread)->type->stats_desc->disable = saved_disable; in ZTEST() 109 saved_reset = K_OBJ_CORE(test_thread)->type->stats_desc->reset; in ZTEST() [all …]
|
/Zephyr-Core-3.5.0/tests/kernel/mem_protect/userspace/src/ |
D | main.c | 53 static struct k_thread test_thread; 467 k_thread_create(&test_thread, test_stack, STACKSIZE, in ZTEST_USER() 505 k_thread_create(&test_thread, test_stack, STACKSIZE, in ZTEST_USER() 510 k_thread_join(&test_thread, K_FOREVER); in ZTEST_USER() 527 k_thread_create(&test_thread, test_stack, STACKSIZE, in ZTEST_USER() 531 k_thread_join(&test_thread, K_FOREVER); in ZTEST_USER() 653 k_thread_create(&test_thread, test_stack, STACKSIZE, user_half, in spawn_user() 657 k_thread_join(&test_thread, K_FOREVER); in spawn_user() 989 k_thread_create(&test_thread, test_stack, STACKSIZE, tls_entry, in ZTEST() 993 &test_thread, (void *)test_thread.userspace_local_data); in ZTEST() [all …]
|
/Zephyr-Core-3.5.0/tests/kernel/threads/thread_error_case/src/ |
D | main.c | 31 static void test_thread(void *p1, void *p2, void *p3) in test_thread() function 70 test_thread, NULL, NULL, NULL, in tThread_entry_negative() 81 test_thread, NULL, NULL, NULL, in tThread_entry_negative() 91 test_thread, NULL, NULL, NULL, in tThread_entry_negative()
|
/Zephyr-Core-3.5.0/tests/benchmarks/latency_measure/src/ |
D | main.c | 32 void test_thread(void *arg1, void *arg2, void *arg3) in test_thread() function 66 K_THREAD_DEFINE(test_thread_id, STACK_SIZE, test_thread, NULL, NULL, NULL, K_PRIO_PREEMPT(10), 0, 0…
|
/Zephyr-Core-3.5.0/tests/kernel/obj_core/obj_core_stats/src/ |
D | main.c | 16 K_THREAD_DEFINE(test_thread, 1024, test_thread_entry, NULL, NULL, NULL, 233 status = k_obj_core_stats_raw(K_OBJ_CORE(test_thread), &raw1, in ZTEST() 237 status = k_obj_core_stats_query(K_OBJ_CORE(test_thread), &query1, in ZTEST() 248 status = k_obj_core_stats_raw(K_OBJ_CORE(test_thread), &raw2, in ZTEST() 252 status = k_obj_core_stats_query(K_OBJ_CORE(test_thread), &query2, in ZTEST() 274 status = k_obj_core_stats_query(K_OBJ_CORE(test_thread), &query2, in ZTEST() 278 status = k_thread_runtime_stats_get(test_thread, &query3); in ZTEST() 306 status = k_obj_core_stats_reset(K_OBJ_CORE(test_thread)); in ZTEST() 309 status = k_obj_core_stats_query(K_OBJ_CORE(test_thread), in ZTEST() 336 status = k_obj_core_stats_disable(K_OBJ_CORE(test_thread)); in ZTEST() [all …]
|
/Zephyr-Core-3.5.0/tests/kernel/threads/thread_stack/src/ |
D | main.c | 17 struct k_thread test_thread; variable 318 k_thread_create(&test_thread, scenario_data.stack, STEST_STACKSIZE, in stest_thread_launch() 322 k_thread_join(&test_thread, K_FOREVER); in stest_thread_launch() 324 ret = k_thread_stack_space_get(&test_thread, &unused); in stest_thread_launch() 483 k_thread_create(&test_thread, kern_stack, STEST_STACKSIZE, in ZTEST() 488 k_thread_join(&test_thread, K_FOREVER); in ZTEST()
|
/Zephyr-Core-3.5.0/samples/arch/smp/pi/src/ |
D | main.c | 33 void test_thread(void *arg1, void *arg2, void *arg3) in test_thread() function 93 (k_thread_entry_t)test_thread, in main()
|
/Zephyr-Core-3.5.0/tests/kernel/poll/src/ |
D | test_poll.c | 32 static struct k_thread test_thread; variable 397 k_tid_t tid1 = k_thread_create(&test_thread, test_stack, in ZTEST() 436 k_tid_t tid2 = k_thread_create(&test_thread, test_stack, in ZTEST() 456 k_tid_t tid3 = k_thread_create(&test_thread, test_stack, in ZTEST() 558 k_tid_t tid = k_thread_create(&test_thread, test_stack, in test_poll_cancel() 664 k_tid_t tid1 = k_thread_create(&test_thread, test_stack, in ZTEST() 750 k_tid_t tid = k_thread_create(&test_thread, test_stack, in ZTEST() 775 &wait_signal, &test_thread, &test_signal, in poll_test_grant_access()
|
/Zephyr-Core-3.5.0/tests/kernel/sleep/src/ |
D | main.c | 103 static void test_thread(int arg1, int arg2) in test_thread() function 208 (k_thread_entry_t) test_thread, in ZTEST()
|
/Zephyr-Core-3.5.0/samples/arch/smp/pktqueue/src/ |
D | main.c | 69 void test_thread(void *arg1, void *arg2, void *arg3) in test_thread() function 120 (k_thread_entry_t)test_thread, in queue_thread()
|
/Zephyr-Core-3.5.0/tests/kernel/context/src/ |
D | main.c | 1084 ZTEST(context_one_cpu, test_thread) in ZTEST() argument
|