Home
last modified time | relevance | path

Searched refs:STACK_SIZE (Results 1 – 25 of 127) sorted by relevance

123456

/Zephyr-Core-3.5.0/tests/kernel/condvar/condvar_api/src/
Dmain.c12 #define STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACK_SIZE) macro
17 K_THREAD_STACK_DEFINE(stack_1, STACK_SIZE);
18 K_THREAD_STACK_DEFINE(condvar_wake_stack, STACK_SIZE);
40 TOTAL_THREADS_WAITING, STACK_SIZE);
42 TOTAL_THREADS_WAITING, STACK_SIZE);
146 k_thread_create(&condvar_tid, stack_1, STACK_SIZE, in ZTEST_USER()
153 k_thread_create(&condvar_wake_tid, condvar_wake_stack, STACK_SIZE, in ZTEST_USER()
172 k_thread_create(&condvar_tid, stack_1, STACK_SIZE, in ZTEST_USER()
179 k_thread_create(&condvar_wake_tid, condvar_wake_stack, STACK_SIZE, in ZTEST_USER()
198 k_thread_create(&condvar_tid, stack_1, STACK_SIZE, in ZTEST_USER()
[all …]
/Zephyr-Core-3.5.0/tests/kernel/mem_protect/futex/src/
Dmain.c24 #define STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACK_SIZE) macro
29 K_THREAD_STACK_DEFINE(stack_1, STACK_SIZE);
30 K_THREAD_STACK_DEFINE(futex_wake_stack, STACK_SIZE);
32 TOTAL_THREADS_WAITING, STACK_SIZE);
34 TOTAL_THREADS_WAITING, STACK_SIZE);
177 k_thread_create(&futex_tid, stack_1, STACK_SIZE, in ZTEST()
197 k_thread_create(&futex_tid, stack_1, STACK_SIZE, in ZTEST()
217 k_thread_create(&futex_tid, stack_1, STACK_SIZE, in ZTEST()
240 k_thread_create(&futex_tid, stack_1, STACK_SIZE, in ZTEST()
248 k_thread_create(&futex_wake_tid, futex_wake_stack, STACK_SIZE, in ZTEST()
[all …]
/Zephyr-Core-3.5.0/samples/subsys/portability/cmsis_rtos_v2/philosophers/src/
Dmain.c70 #define STACK_SIZE CONFIG_CMSIS_V2_THREAD_MAX_STACK_SIZE macro
71 static K_THREAD_STACK_ARRAY_DEFINE(stacks, NUM_PHIL, STACK_SIZE);
76 .stack_size = STACK_SIZE,
82 .stack_size = STACK_SIZE,
88 .stack_size = STACK_SIZE,
94 .stack_size = STACK_SIZE,
100 .stack_size = STACK_SIZE,
106 .stack_size = STACK_SIZE,
/Zephyr-Core-3.5.0/tests/benchmarks/footprints/src/
Dfootprint.h13 #define STACK_SIZE 512 macro
15 K_THREAD_STACK_DECLARE(my_stack_area, STACK_SIZE);
16 K_THREAD_STACK_DECLARE(my_stack_area_0, STACK_SIZE);
Duserspace.c20 #define STACK_SIZE 512 macro
67 k_thread_create(&my_thread_user, my_stack_area_0, STACK_SIZE, in drop_to_user_mode()
77 k_thread_create(&my_thread_user, my_stack_area, STACK_SIZE, in user_thread_creation()
94 k_thread_create(&my_thread_user, my_stack_area_0, STACK_SIZE, in syscall_overhead()
110 k_thread_create(&my_thread_user, my_stack_area, STACK_SIZE, in validation_overhead()
Dsystem_thread.c18 #define STACK_SIZE 512 macro
66 STACK_SIZE, in run_thread_system()
82 STACK_SIZE, in run_thread_system()
94 STACK_SIZE, in run_thread_system()
100 STACK_SIZE, in run_thread_system()
Dsemaphore.c12 #define STACK_SIZE 512 macro
35 STACK_SIZE, thread_fn, in run_semaphore()
43 STACK_SIZE, thread_fn, in run_semaphore()
/Zephyr-Core-3.5.0/tests/kernel/stack/stack/src/
Dtest_stack_contexts.c9 #define STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACK_SIZE) macro
20 K_THREAD_STACK_DEFINE(threadstack1, STACK_SIZE);
22 K_THREAD_STACK_DEFINE(threadstack_t1, STACK_SIZE);
24 K_THREAD_STACK_DEFINE(threadstack_t2, STACK_SIZE);
71 k_tid_t tid = k_thread_create(&thread_data1, threadstack1, STACK_SIZE, in tstack_thread_thread()
169 k_tid_t tid = k_thread_create(&thread_data1, threadstack1, STACK_SIZE, in ZTEST()
184 ret = k_stack_alloc_init(&kstack_test_alloc, (STACK_SIZE/2)+1); in ZTEST()
249 k_thread_create(&thread_data1, threadstack1, STACK_SIZE, in ZTEST()
254 k_thread_create(&high_pro_thread_t1, threadstack_t1, STACK_SIZE, in ZTEST()
262 k_thread_create(&high_pro_thread_t2, threadstack_t2, STACK_SIZE, in ZTEST()
[all …]
/Zephyr-Core-3.5.0/tests/kernel/sched/schedule_api/src/
Duser_api.c20 K_THREAD_STACK_DEFINE(ustack, STACK_SIZE);
34 k_tid_t tid = k_thread_create(&user_thread, ustack, STACK_SIZE, sleepy_thread, in ZTEST_USER()
70 STACK_SIZE, preempt_test_thread, NULL, NULL, NULL, in ZTEST_USER()
80 tid = k_thread_create(&user_thread, ustack, STACK_SIZE, preempt_test_thread, in ZTEST_USER()
118 k_tid_t tid = k_thread_create(&user_thread, ustack, STACK_SIZE, in ZTEST_USER()
155 k_tid_t tid = k_thread_create(&user_thread, ustack, STACK_SIZE, in ZTEST_USER()
192 k_tid_t tid = k_thread_create(&user_thread, ustack, STACK_SIZE, in ZTEST_USER()
229 k_tid_t tid = k_thread_create(&user_thread, ustack, STACK_SIZE, in ZTEST_USER()
267 k_tid_t tid = k_thread_create(&user_thread, ustack, STACK_SIZE, in ZTEST_USER()
307 k_tid_t tid = k_thread_create(&user_thread, ustack, STACK_SIZE, in ZTEST_USER()
[all …]
Dmain.c10 K_THREAD_STACK_DEFINE(tstack, STACK_SIZE);
11 K_THREAD_STACK_ARRAY_DEFINE(tstacks, MAX_NUM_THREAD, STACK_SIZE);
14 K_THREAD_STACK_DECLARE(ustack, STACK_SIZE);
Dtest_sched.h14 #define STACK_SIZE (640 + CONFIG_TEST_EXTRA_STACK_SIZE) macro
16 K_THREAD_STACK_DECLARE(tstack, STACK_SIZE);
17 K_THREAD_STACK_ARRAY_DECLARE(tstacks, MAX_NUM_THREAD, STACK_SIZE);
Dtest_sched_priority.c58 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST()
93 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST()
103 tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST()
139 tid[0] = k_thread_create(&tdata_prio[0], tstacks[0], STACK_SIZE, in ZTEST()
143 tid[1] = k_thread_create(&tdata_prio[1], tstacks[1], STACK_SIZE, in ZTEST()
147 tid[2] = k_thread_create(&tdata_prio[2], tstacks[2], STACK_SIZE, in ZTEST()
151 tid[3] = k_thread_create(&tdata_prio[3], tstacks[3], STACK_SIZE, in ZTEST()
/Zephyr-Core-3.5.0/tests/kernel/timer/timer_error_case/src/
Dmain.c13 #define STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACK_SIZE) macro
21 static K_THREAD_STACK_DEFINE(tstack, STACK_SIZE);
49 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST_USER()
83 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST_USER()
117 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST_USER()
151 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST_USER()
185 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST_USER()
218 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST_USER()
251 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST_USER()
287 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST_USER()
/Zephyr-Core-3.5.0/tests/lib/newlib/thread_safety/src/
Dlocks.c23 #define STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACK_SIZE) macro
32 static K_THREAD_STACK_DEFINE(tstack, STACK_SIZE);
127 tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST()
138 tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST()
202 tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST()
212 tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST()
272 tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST()
282 tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST()
342 tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST()
352 tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST()
[all …]
/Zephyr-Core-3.5.0/tests/kernel/mem_slab/mslab_concept/src/
Dtest_mslab_alloc_wait.c11 #define STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACK_SIZE) macro
15 static K_THREAD_STACK_ARRAY_DEFINE(tstack, THREAD_NUM, STACK_SIZE);
73 tid[0] = k_thread_create(&tdata[0], tstack[0], STACK_SIZE, in ZTEST()
77 tid[1] = k_thread_create(&tdata[1], tstack[1], STACK_SIZE, in ZTEST()
81 tid[2] = k_thread_create(&tdata[2], tstack[2], STACK_SIZE, in ZTEST()
/Zephyr-Core-3.5.0/tests/kernel/threads/thread_apis/src/
Dtest_threads_spawn.c50 k_thread_create(&tdata, tstack, STACK_SIZE, thread_entry_params, in ZTEST_USER()
69 k_thread_create(&tdata, tstack, STACK_SIZE, thread_entry_priority, in ZTEST()
87 k_thread_create(&tdata, tstack, STACK_SIZE, thread_entry_delay, in ZTEST_USER()
116 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST()
142 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST()
169 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST_USER()
Dtest_threads_cancel_abort.c45 k_thread_create(&tdata, tstack, STACK_SIZE, thread_entry_abort, in ZTEST_USER()
65 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST_USER()
74 tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST_USER()
94 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST()
135 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST()
192 k_thread_create(&tdata, tstack, STACK_SIZE, entry_abort_isr, in ZTEST()
237 tid = k_thread_create(&tdata, tstack, STACK_SIZE, entry_aborted_thread, in ZTEST()
Dmain.c24 #define STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACK_SIZE) macro
25 K_THREAD_STACK_DEFINE(tstack, STACK_SIZE);
29 static K_THREAD_STACK_DEFINE(tstack_custom, STACK_SIZE);
30 static K_THREAD_STACK_DEFINE(tstack_name, STACK_SIZE);
81 k_tid_t tid = k_thread_create(&tdata_custom, tstack_custom, STACK_SIZE, in ZTEST()
116 k_tid_t tid = k_thread_create(&tdata_name, tstack_name, STACK_SIZE, in ZTEST()
189 k_tid_t tid = k_thread_create(&tdata_name, tstack_name, STACK_SIZE, in ZTEST_USER()
214 k_tid_t tid = k_thread_create(&tdata_custom, tstack_custom, STACK_SIZE, in ZTEST_USER()
257 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST_USER()
265 K_THREAD_STACK_DEFINE(join_stack, STACK_SIZE);
[all …]
/Zephyr-Core-3.5.0/tests/kernel/semaphore/sys_sem/src/
Dmain.c11 #define STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACK_SIZE) macro
20 static K_THREAD_STACK_ARRAY_DEFINE(multi_stack_give, STACK_NUMS, STACK_SIZE);
21 static K_THREAD_STACK_ARRAY_DEFINE(multi_stack_take, STACK_NUMS, STACK_SIZE);
84 k_thread_create(&multi_tid_give[0], multi_stack_give[0], STACK_SIZE, in ZTEST_USER()
95 k_thread_create(&multi_tid_take[0], multi_stack_take[0], STACK_SIZE, in ZTEST_USER()
100 k_thread_create(&multi_tid_take[1], multi_stack_take[1], STACK_SIZE, in ZTEST_USER()
120 k_thread_create(&multi_tid_give[1], multi_stack_give[1], STACK_SIZE, in ZTEST_USER()
180 k_thread_create(&multi_tid_give[i], multi_stack_give[i], STACK_SIZE, in ZTEST_USER()
189 k_thread_create(&multi_tid_take[i], multi_stack_take[i], STACK_SIZE, in ZTEST_USER()
/Zephyr-Core-3.5.0/tests/kernel/mutex/mutex_api/src/
Dtest_mutex_apis.c9 #define STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACK_SIZE) macro
22 static K_THREAD_STACK_DEFINE(tstack, STACK_SIZE);
23 static K_THREAD_STACK_DEFINE(tstack2, STACK_SIZE);
24 static K_THREAD_STACK_DEFINE(tstack3, STACK_SIZE);
61 k_thread_create(&tdata, tstack, STACK_SIZE, in tmutex_test_lock()
77 k_thread_create(&tdata, tstack, STACK_SIZE, in tmutex_test_lock_timeout()
263 k_thread_create(&tdata3, tstack3, STACK_SIZE, in ZTEST_USER()
307 k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST_USER()
321 k_thread_create(&tdata2, tstack2, STACK_SIZE, in ZTEST_USER()
337 k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST_USER()
[all …]
/Zephyr-Core-3.5.0/samples/kernel/condition_variables/condvar/src/
Dmain.c19 #define STACK_SIZE (1024 + CONFIG_TEST_EXTRA_STACK_SIZE) macro
21 K_THREAD_STACK_ARRAY_DEFINE(tstacks, NUM_THREADS, STACK_SIZE);
85 k_thread_create(&t[0], tstacks[0], STACK_SIZE, watch_count, in main()
89 k_thread_create(&t[1], tstacks[1], STACK_SIZE, inc_count, in main()
93 k_thread_create(&t[2], tstacks[2], STACK_SIZE, inc_count, in main()
/Zephyr-Core-3.5.0/tests/kernel/threads/thread_error_case/src/
Dmain.c9 #define STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACK_SIZE) macro
15 static K_THREAD_STACK_DEFINE(tstack, STACK_SIZE);
16 static K_THREAD_STACK_DEFINE(test_stack, STACK_SIZE);
69 k_thread_create((struct k_thread *)NULL, test_stack, STACK_SIZE, in tThread_entry_negative()
80 k_thread_create(&test_tdata, NULL, STACK_SIZE, in tThread_entry_negative()
116 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in create_negative_test_thread()
/Zephyr-Core-3.5.0/tests/benchmarks/sys_kernel/src/
Dsyskernel.h17 #define STACK_SIZE 2048 macro
25 K_THREAD_STACK_DECLARE(thread_stack1, STACK_SIZE);
26 K_THREAD_STACK_DECLARE(thread_stack2, STACK_SIZE);
/Zephyr-Core-3.5.0/tests/kernel/pipe/pipe_api/src/
Dtest_pipe_contexts.c9 #define STACK_SIZE (1024 + CONFIG_TEST_EXTRA_STACK_SIZE) macro
28 K_THREAD_STACK_DEFINE(tstack, STACK_SIZE);
29 K_THREAD_STACK_DEFINE(tstack1, STACK_SIZE);
30 K_THREAD_STACK_DEFINE(tstack2, STACK_SIZE);
92 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in tpipe_thread_thread()
110 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in tpipe_kthread_to_kthread()
227 k_tid_t tid = k_thread_create(&tdata, tstack, STACK_SIZE, in ZTEST()
363 k_tid_t tid1 = k_thread_create(&tdata1, tstack1, STACK_SIZE, in ZTEST()
368 k_tid_t tid2 = k_thread_create(&tdata2, tstack2, STACK_SIZE, in ZTEST()
394 k_tid_t tid1 = k_thread_create(&tdata1, tstack1, STACK_SIZE, in ZTEST()
[all …]
/Zephyr-Core-3.5.0/tests/kernel/fifo/fifo_api/src/
Dtest_fifo_cancel.c9 #define STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACK_SIZE) macro
16 static K_THREAD_STACK_DEFINE(tstack, STACK_SIZE);
27 k_tid_t tid = k_thread_create(&thread, tstack, STACK_SIZE, in tfifo_thread_thread()

123456