Home
last modified time | relevance | path

Searched refs:old_prio (Results 1 – 11 of 11) sorted by relevance

/Zephyr-Core-2.7.6/tests/kernel/sched/schedule_api/src/
Dtest_sched_priority.c49 int old_prio = k_thread_priority_get(k_current_get()); in test_priority_cooperative() local
69 k_thread_priority_set(k_current_get(), old_prio); in test_priority_cooperative()
85 int old_prio = k_thread_priority_get(k_current_get()); in test_priority_preemptible() local
111 k_thread_priority_set(k_current_get(), old_prio); in test_priority_preemptible()
125 int old_prio = k_thread_priority_get(k_current_get()); in test_priority_preemptible_wait_prio() local
171 k_thread_priority_set(k_current_get(), old_prio); in test_priority_preemptible_wait_prio()
Dtest_priority_scheduling.c71 int old_prio = k_thread_priority_get(k_current_get()); in test_priority_scheduling() local
108 k_thread_priority_set(k_current_get(), old_prio); in test_priority_scheduling()
Dtest_slice_scheduling.c90 int old_prio = k_thread_priority_get(k_current_get()); in test_slice_scheduling() local
136 k_thread_priority_set(k_current_get(), old_prio); in test_slice_scheduling()
Dtest_sched_timeslice_reset.c132 int old_prio = k_thread_priority_get(k_current_get()); in test_slice_reset() local
193 k_thread_priority_set(k_current_get(), old_prio); in test_slice_reset()
Dtest_sched_timeslice_and_lock.c15 static int old_prio, init_prio; variable
38 old_prio = k_thread_priority_get(k_current_get()); in setup_threads()
72 k_thread_priority_set(k_current_get(), old_prio); in teardown_threads()
/Zephyr-Core-2.7.6/tests/kernel/mem_protect/stack_random/src/
Dmain.c48 int old_prio = k_thread_priority_get(k_current_get()); in test_stack_pt_randomization() local
71 k_thread_priority_set(k_current_get(), old_prio); in test_stack_pt_randomization()
/Zephyr-Core-2.7.6/tests/kernel/poll/src/
Dtest_poll.c388 int old_prio = k_thread_priority_get(k_current_get()); in test_poll_wait() local
408 k_thread_priority_set(k_current_get(), old_prio); in test_poll_wait()
443 k_thread_priority_set(k_current_get(), old_prio); in test_poll_wait()
459 (void *)(USE_FIFO | USE_MSGQ), wait_msgq_ptr, 0, old_prio + 1, in test_poll_wait()
533 int old_prio = k_thread_priority_get(k_current_get()); in test_poll_cancel() local
563 k_thread_priority_set(k_current_get(), old_prio); in test_poll_cancel()
644 int old_prio = k_thread_priority_get(k_current_get()); in test_poll_multi() local
692 k_thread_priority_set(k_current_get(), old_prio); in test_poll_multi()
737 int old_prio = k_thread_priority_get(k_current_get()); in test_poll_threadstate() local
757 k_thread_priority_set(k_current_get(), old_prio); in test_poll_threadstate()
/Zephyr-Core-2.7.6/tests/kernel/mutex/sys_mutex/src/
Dthread_competition.c91 int old_prio = k_thread_priority_get(k_current_get()); in test_mutex_multithread_competition() local
137 k_thread_priority_set(k_current_get(), old_prio); in test_mutex_multithread_competition()
/Zephyr-Core-2.7.6/tests/lib/ringbuffer/src/
Dconcurrent.c114 int old_prio = k_thread_priority_get(k_current_get()); in test_ringbuffer_concurrent() local
135 k_thread_priority_set(k_current_get(), old_prio); in test_ringbuffer_concurrent()
391 int old_prio = k_thread_priority_get(k_current_get()); in test_ringbuffer_spsc() local
436 k_thread_priority_set(k_current_get(), old_prio); in test_ringbuffer_spsc()
/Zephyr-Core-2.7.6/tests/kernel/stack/stack/src/
Dtest_stack_contexts.c235 int old_prio = k_thread_priority_get(k_current_get()); in test_stack_multithread_competition() local
279 k_thread_priority_set(k_current_get(), old_prio); in test_stack_multithread_competition()
/Zephyr-Core-2.7.6/tests/kernel/queue/src/
Dtest_queue_contexts.c481 int old_prio = k_thread_priority_get(k_current_get()); in test_queue_multithread_competition() local
527 k_thread_priority_set(k_current_get(), old_prio); in test_queue_multithread_competition()