/Zephyr-Core-3.6.0/tests/kernel/obj_core/obj_core_stats_api/src/ |
D | main.c | 13 K_THREAD_DEFINE(test_thread, 512 + CONFIG_TEST_EXTRA_STACK_SIZE, 48 saved_enable = K_OBJ_CORE(test_thread)->type->stats_desc->enable; in ZTEST() 49 K_OBJ_CORE(test_thread)->type->stats_desc->enable = NULL; in ZTEST() 50 status = k_obj_core_stats_enable(K_OBJ_CORE(test_thread)); in ZTEST() 53 K_OBJ_CORE(test_thread)->type->stats_desc->enable = saved_enable; in ZTEST() 79 saved_disable = K_OBJ_CORE(test_thread)->type->stats_desc->disable; in ZTEST() 80 K_OBJ_CORE(test_thread)->type->stats_desc->disable = NULL; in ZTEST() 81 status = k_obj_core_stats_disable(K_OBJ_CORE(test_thread)); in ZTEST() 84 K_OBJ_CORE(test_thread)->type->stats_desc->disable = saved_disable; in ZTEST() 110 saved_reset = K_OBJ_CORE(test_thread)->type->stats_desc->reset; in ZTEST() [all …]
|
/Zephyr-Core-3.6.0/tests/benchmarks/app_kernel/src/ |
D | master.c | 45 static struct k_thread test_thread; variable 180 k_thread_create(&test_thread, test_stack, in main() 192 k_thread_start(&test_thread); in main() 194 k_thread_join(&test_thread, K_FOREVER); in main() 200 k_thread_create(&test_thread, test_stack, in main() 217 k_thread_start(&test_thread); in main() 219 k_thread_join(&test_thread, K_FOREVER); in main() 224 k_thread_create(&test_thread, test_stack, in main() 235 k_thread_access_grant(&test_thread, &DEMOQX1, &DEMOQX4, &DEMOQX192, in main() 241 k_thread_start(&test_thread); in main() [all …]
|
/Zephyr-Core-3.6.0/tests/kernel/mem_protect/userspace/src/ |
D | main.c | 58 static struct k_thread test_thread; 501 k_thread_create(&test_thread, test_stack, STACKSIZE, in ZTEST_USER() 539 k_thread_create(&test_thread, test_stack, STACKSIZE, in ZTEST_USER() 544 k_thread_join(&test_thread, K_FOREVER); in ZTEST_USER() 561 k_thread_create(&test_thread, test_stack, STACKSIZE, in ZTEST_USER() 565 k_thread_join(&test_thread, K_FOREVER); in ZTEST_USER() 691 k_thread_create(&test_thread, test_stack, STACKSIZE, user_half, in spawn_user() 695 k_thread_join(&test_thread, K_FOREVER); in spawn_user() 1027 k_thread_create(&test_thread, test_stack, STACKSIZE, tls_entry, in ZTEST() 1031 &test_thread, (void *)test_thread.userspace_local_data); in ZTEST() [all …]
|
/Zephyr-Core-3.6.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 73 test_thread, NULL, NULL, NULL, in tThread_entry_negative() 84 test_thread, NULL, NULL, NULL, in tThread_entry_negative() 94 test_thread, NULL, NULL, NULL, in tThread_entry_negative()
|
/Zephyr-Core-3.6.0/tests/kernel/obj_core/obj_core_stats/src/ |
D | main.c | 16 K_THREAD_DEFINE(test_thread, 1024 + CONFIG_TEST_EXTRA_STACK_SIZE, 235 status = k_obj_core_stats_raw(K_OBJ_CORE(test_thread), &raw1, in ZTEST() 239 status = k_obj_core_stats_query(K_OBJ_CORE(test_thread), &query1, in ZTEST() 250 status = k_obj_core_stats_raw(K_OBJ_CORE(test_thread), &raw2, in ZTEST() 254 status = k_obj_core_stats_query(K_OBJ_CORE(test_thread), &query2, in ZTEST() 276 status = k_obj_core_stats_query(K_OBJ_CORE(test_thread), &query2, in ZTEST() 280 status = k_thread_runtime_stats_get(test_thread, &query3); in ZTEST() 308 status = k_obj_core_stats_reset(K_OBJ_CORE(test_thread)); in ZTEST() 311 status = k_obj_core_stats_query(K_OBJ_CORE(test_thread), in ZTEST() 338 status = k_obj_core_stats_disable(K_OBJ_CORE(test_thread)); in ZTEST() [all …]
|
/Zephyr-Core-3.6.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.6.0/samples/arch/smp/pi/src/ |
D | main.c | 33 void test_thread(void *arg1, void *arg2, void *arg3) in test_thread() function 93 test_thread, in main()
|
/Zephyr-Core-3.6.0/tests/kernel/spinlock/src/ |
D | spinlock_fairness.c | 39 static void test_thread(void *arg1, void *arg2, void *arg3) in test_thread() function 90 (k_thread_entry_t)test_thread, in test_init()
|
/Zephyr-Core-3.6.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.6.0/tests/benchmarks/latency_measure/src/ |
D | main.c | 58 static void test_thread(void *arg1, void *arg2, void *arg3) in test_thread() function 158 K_THREAD_DEFINE(test_thread_id, STACK_SIZE, test_thread, NULL, NULL, NULL,
|
/Zephyr-Core-3.6.0/tests/kernel/sleep/src/ |
D | main.c | 101 static void test_thread(void *p1, void *p2, void *p3) in test_thread() function 209 test_thread, in ZTEST()
|
/Zephyr-Core-3.6.0/samples/arch/smp/pktqueue/src/ |
D | main.c | 69 void test_thread(void *arg1, void *arg2, void *arg3) in test_thread() function 119 test_thread, in queue_thread()
|
/Zephyr-Core-3.6.0/tests/kernel/context/src/ |
D | main.c | 1091 ZTEST(context_one_cpu, test_thread) in ZTEST() argument
|