Home
last modified time | relevance | path

Searched refs:K_PRIO_PREEMPT (Results 1 – 25 of 128) sorted by relevance

123456

/Zephyr-latest/tests/lib/newlib/thread_safety/src/
Dlocks.c129 NULL, NULL, K_PRIO_PREEMPT(0), THREAD_OPT, in ZTEST()
140 NULL, NULL, K_PRIO_PREEMPT(0), THREAD_OPT, in ZTEST()
204 K_PRIO_PREEMPT(0), THREAD_OPT, K_NO_WAIT); in ZTEST()
214 K_PRIO_PREEMPT(0), THREAD_OPT, K_NO_WAIT); in ZTEST()
274 K_PRIO_PREEMPT(0), THREAD_OPT, K_NO_WAIT); in ZTEST()
284 K_PRIO_PREEMPT(0), THREAD_OPT, K_NO_WAIT); in ZTEST()
344 K_PRIO_PREEMPT(0), THREAD_OPT, K_NO_WAIT); in ZTEST()
354 K_PRIO_PREEMPT(0), THREAD_OPT, K_NO_WAIT); in ZTEST()
414 K_PRIO_PREEMPT(0), THREAD_OPT, K_NO_WAIT); in ZTEST()
424 K_PRIO_PREEMPT(0), THREAD_OPT, K_NO_WAIT); in ZTEST()
/Zephyr-latest/tests/kernel/timer/timer_error_case/src/
Dmain.c56 K_PRIO_PREEMPT(THREAD_TEST_PRIORITY), in ZTEST_USER()
94 K_PRIO_PREEMPT(THREAD_TEST_PRIORITY), in ZTEST_USER()
132 K_PRIO_PREEMPT(THREAD_TEST_PRIORITY), in ZTEST_USER()
170 K_PRIO_PREEMPT(THREAD_TEST_PRIORITY), in ZTEST_USER()
208 K_PRIO_PREEMPT(THREAD_TEST_PRIORITY), in ZTEST_USER()
245 K_PRIO_PREEMPT(THREAD_TEST_PRIORITY), in ZTEST_USER()
282 K_PRIO_PREEMPT(THREAD_TEST_PRIORITY), in ZTEST_USER()
322 K_PRIO_PREEMPT(THREAD_TEST_PRIORITY), in ZTEST_USER()
/Zephyr-latest/tests/kernel/sched/schedule_api/src/
Dtest_sched_timeslice_reset.c136 k_sched_time_slice_set(0, K_PRIO_PREEMPT(0)); in ZTEST()
158 k_thread_priority_set(k_current_get(), K_PRIO_PREEMPT(j)); in ZTEST()
167 NULL, K_PRIO_PREEMPT(j), 0, in ZTEST()
172 k_sched_time_slice_set(SLICE_SIZE, K_PRIO_PREEMPT(0)); in ZTEST()
194 k_sched_time_slice_set(0, K_PRIO_PREEMPT(0)); in ZTEST()
Duser_api.c82 K_PRIO_PREEMPT(1), in ZTEST_USER()
125 K_PRIO_PREEMPT(THREAD_TEST_PRIORITY), in ZTEST_USER()
166 K_PRIO_PREEMPT(THREAD_TEST_PRIORITY), in ZTEST_USER()
207 K_PRIO_PREEMPT(THREAD_TEST_PRIORITY), in ZTEST_USER()
248 K_PRIO_PREEMPT(THREAD_TEST_PRIORITY), in ZTEST_USER()
290 K_PRIO_PREEMPT(THREAD_TEST_PRIORITY), in ZTEST_USER()
334 K_PRIO_PREEMPT(THREAD_TEST_PRIORITY), in ZTEST_USER()
375 K_PRIO_PREEMPT(THREAD_TEST_PRIORITY), in ZTEST_USER()
Dtest_slice_scheduling.c99 k_sched_time_slice_set(0, K_PRIO_PREEMPT(0)); in ZTEST()
102 k_thread_priority_set(k_current_get(), K_PRIO_PREEMPT(BASE_PRIORITY)); in ZTEST()
109 K_PRIO_PREEMPT(BASE_PRIORITY), 0, in ZTEST()
114 k_sched_time_slice_set(SLICE_SIZE, K_PRIO_PREEMPT(BASE_PRIORITY)); in ZTEST()
139 k_sched_time_slice_set(0, K_PRIO_PREEMPT(0)); in ZTEST()
Dtest_sched_priority.c135 last_prio = K_PRIO_PREEMPT(2); in ZTEST()
141 K_PRIO_PREEMPT(0), 0, K_MSEC(10)); in ZTEST()
145 K_PRIO_PREEMPT(0), 0, K_MSEC(20)); in ZTEST()
149 K_PRIO_PREEMPT(1), 0, K_MSEC(10)); in ZTEST()
153 K_PRIO_PREEMPT(1), 0, K_MSEC(20)); in ZTEST()
Dtest_sched_is_preempt_thread.c41 k_thread_priority_set(k_current_get(), K_PRIO_PREEMPT(1)); in tcoop_ctx()
75 K_PRIO_PREEMPT(1), 0, K_NO_WAIT); in ZTEST()
Dtest_priority_scheduling.c76 K_PRIO_PREEMPT(BASE_PRIORITY - 1)); in ZTEST()
82 K_PRIO_PREEMPT(BASE_PRIORITY + i), 0, in ZTEST()
/Zephyr-latest/tests/kernel/mutex/mutex_api/src/
Dtest_mutex_apis.c72 K_PRIO_PREEMPT(0), in tmutex_test_lock()
88 K_PRIO_PREEMPT(0), in tmutex_test_lock_timeout()
285 K_PRIO_PREEMPT(12), in ZTEST_USER()
330 K_PRIO_PREEMPT(THREAD_LOW_PRIORITY), in ZTEST_USER()
344 K_PRIO_PREEMPT(THREAD_HIGH_PRIORITY), in ZTEST_USER()
360 K_PRIO_PREEMPT(THREAD_HIGH_PRIORITY), in ZTEST_USER()
370 K_PRIO_PREEMPT(THREAD_LOW_PRIORITY), in ZTEST_USER()
386 K_PRIO_PREEMPT(THREAD_LOW_PRIORITY), in ZTEST_USER()
396 K_PRIO_PREEMPT(THREAD_HIGH_PRIORITY), in ZTEST_USER()
403 K_PRIO_PREEMPT(THREAD_MID_PRIORITY), in ZTEST_USER()
/Zephyr-latest/tests/kernel/threads/thread_error_case/src/
Dmain.c74 K_PRIO_PREEMPT(THREAD_TEST_PRIORITY), in tThread_entry_negative()
85 K_PRIO_PREEMPT(THREAD_TEST_PRIORITY), in tThread_entry_negative()
95 K_PRIO_PREEMPT(THREAD_TEST_PRIORITY), in tThread_entry_negative()
122 K_PRIO_PREEMPT(THREAD_TEST_PRIORITY), in create_negative_test_thread()
/Zephyr-latest/tests/kernel/pipe/pipe_api/src/
Dtest_pipe_contexts.c94 K_PRIO_PREEMPT(0), in tpipe_thread_thread()
112 K_PRIO_PREEMPT(0), 0, K_NO_WAIT); in tpipe_kthread_to_kthread()
229 NULL, K_PRIO_PREEMPT(0), 0, K_NO_WAIT); in ZTEST()
367 NULL, NULL, K_PRIO_PREEMPT(0), in ZTEST()
372 NULL, NULL, K_PRIO_PREEMPT(0), in ZTEST()
398 NULL, NULL, K_PRIO_PREEMPT(0), in ZTEST()
403 NULL, NULL, K_PRIO_PREEMPT(0), in ZTEST()
419 NULL, NULL, K_PRIO_PREEMPT(0), in ZTEST()
424 NULL, NULL, K_PRIO_PREEMPT(0), in ZTEST()
444 K_PRIO_PREEMPT(0), 0, K_NO_WAIT); in ZTEST()
/Zephyr-latest/tests/kernel/mem_slab/mslab_concept/src/
Dtest_mslab_alloc_wait.c75 K_PRIO_PREEMPT(1), 0, K_NO_WAIT); in ZTEST()
79 K_PRIO_PREEMPT(0), 0, K_MSEC(10)); in ZTEST()
83 K_PRIO_PREEMPT(0), 0, K_MSEC(20)); in ZTEST()
/Zephyr-latest/samples/kernel/condition_variables/condvar/src/
Dmain.c85 INT_TO_POINTER(t1), NULL, NULL, K_PRIO_PREEMPT(10), 0, in main()
89 INT_TO_POINTER(t2), NULL, NULL, K_PRIO_PREEMPT(10), 0, in main()
93 INT_TO_POINTER(t3), NULL, NULL, K_PRIO_PREEMPT(10), 0, in main()
/Zephyr-latest/tests/kernel/tickless/tickless_concept/src/
Dmain.c102 k_sched_time_slice_set(SLICE_SIZE, K_PRIO_PREEMPT(0)); in ZTEST()
108 K_PRIO_PREEMPT(0), 0, in ZTEST()
122 k_sched_time_slice_set(0, K_PRIO_PREEMPT(0)); in ZTEST()
/Zephyr-latest/tests/kernel/semaphore/semaphore/src/
Dmain.c118 K_PRIO_PREEMPT(0), in tsema_thread_thread()
344 K_PRIO_PREEMPT(0), K_USER | K_INHERIT_PERMS, in ZTEST_USER()
524 K_PRIO_PREEMPT(0), K_USER | K_INHERIT_PERMS, in ZTEST_USER()
558 K_PRIO_PREEMPT(0), K_USER | K_INHERIT_PERMS, in ZTEST_USER()
586 K_PRIO_PREEMPT(0), 0, K_NO_WAIT); in ZTEST()
621 K_PRIO_PREEMPT(3), K_USER | K_INHERIT_PERMS, in ZTEST_USER()
627 K_PRIO_PREEMPT(2), K_USER | K_INHERIT_PERMS, in ZTEST_USER()
633 K_PRIO_PREEMPT(1), K_USER | K_INHERIT_PERMS, in ZTEST_USER()
646 NULL, K_PRIO_PREEMPT(1), K_USER | K_INHERIT_PERMS, in ZTEST_USER()
854 K_PRIO_PREEMPT(1), in ZTEST()
[all …]
/Zephyr-latest/tests/kernel/threads/thread_apis/src/
Dtest_essential_thread.c56 NULL, NULL, K_PRIO_PREEMPT(0), 0, in ZTEST()
107 NULL, NULL, NULL, K_PRIO_PREEMPT(0), 0, in ZTEST()
Dtest_kthread_for_each.c56 NULL, NULL, NULL, K_PRIO_PREEMPT(0), in thread_callback_unlocked()
106 NULL, NULL, K_PRIO_PREEMPT(0), 0, K_NO_WAIT); in ZTEST()
155 NULL, NULL, K_PRIO_PREEMPT(0), 0, K_NO_WAIT); in ZTEST()
/Zephyr-latest/tests/integration/kernel/src/
Dmain.c75 K_PRIO_PREEMPT(0), K_INHERIT_PERMS, K_NO_WAIT); in ZTEST()
143 K_PRIO_PREEMPT(0), K_INHERIT_PERMS, K_NO_WAIT); in ZTEST()
219 K_PRIO_PREEMPT(0), K_INHERIT_PERMS, K_NO_WAIT); in ZTEST()
282 K_PRIO_PREEMPT(0), K_INHERIT_PERMS, K_FOREVER); in ZTEST()
287 K_PRIO_PREEMPT(0), K_INHERIT_PERMS, K_FOREVER); in ZTEST()
/Zephyr-latest/tests/kernel/interrupt/src/
Dinterrupt_offload.c177 K_PRIO_PREEMPT(1), NULL); in init_env()
185 int thread_prio = K_PRIO_PREEMPT(0); in run_test_offload()
192 thread_prio = K_PRIO_PREEMPT(2); in run_test_offload()
/Zephyr-latest/samples/net/mqtt_sn_publisher/src/
Dcommon.h23 #define THREAD_PRIORITY K_PRIO_PREEMPT(8)
/Zephyr-latest/tests/subsys/zbus/hlp_priority_boost/src/
Dmain.c128 NULL, NULL, NULL, K_PRIO_PREEMPT(8), 0, K_NO_WAIT); in ZTEST()
130 (void *)&sub1, "sub1", NULL, K_PRIO_PREEMPT(3), 0, K_NO_WAIT); in ZTEST()
132 (void *)&msub1, "msub1", NULL, K_PRIO_PREEMPT(2), 0, K_NO_WAIT); in ZTEST()
/Zephyr-latest/tests/kernel/fifo/fifo_usage/src/
Dmain.c159 K_PRIO_PREEMPT(0), K_INHERIT_PERMS, K_NO_WAIT); in ZTEST()
190 K_PRIO_PREEMPT(0), K_INHERIT_PERMS, K_NO_WAIT); in ZTEST()
222 K_PRIO_PREEMPT(0), K_INHERIT_PERMS, K_NO_WAIT); in ZTEST()
/Zephyr-latest/tests/subsys/debug/thread_analyzer/src/
Dmain.c28 thread_entry, NULL, NULL, NULL, K_PRIO_PREEMPT(0), in main()
/Zephyr-latest/tests/kernel/stack/stack/src/
Dmain.c176 NULL, K_PRIO_PREEMPT(0), K_USER | in ZTEST_USER()
205 NULL, K_PRIO_PREEMPT(0), K_USER | in ZTEST_USER()
234 NULL, K_PRIO_PREEMPT(0), in ZTEST()
284 NULL, tx_data, K_PRIO_PREEMPT(0), 0, in ZTEST()
/Zephyr-latest/tests/kernel/mem_protect/sys_sem/src/
Dmain.c275 K_PRIO_PREEMPT(0), thread_flags, in ZTEST_USER()
301 NULL, NULL, K_PRIO_PREEMPT(0), thread_flags, in ZTEST_USER()
322 K_PRIO_PREEMPT(0), 0, K_NO_WAIT); in ZTEST()
350 K_PRIO_PREEMPT(3), thread_flags, in ZTEST_USER()
356 K_PRIO_PREEMPT(2), thread_flags, in ZTEST_USER()
362 K_PRIO_PREEMPT(1), thread_flags, in ZTEST_USER()
367 k_thread_priority_set(k_current_get(), K_PRIO_PREEMPT(3)); in ZTEST_USER()

123456