/Zephyr-Core-2.7.6/tests/kernel/sched/schedule_api/src/ |
D | test_sched_priority.c | 49 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()
|
D | test_priority_scheduling.c | 71 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()
|
D | test_slice_scheduling.c | 90 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()
|
D | test_sched_timeslice_reset.c | 132 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()
|
D | test_sched_timeslice_and_lock.c | 15 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/ |
D | main.c | 48 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/ |
D | test_poll.c | 388 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/ |
D | thread_competition.c | 91 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/ |
D | concurrent.c | 114 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/ |
D | test_stack_contexts.c | 235 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/ |
D | test_queue_contexts.c | 481 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()
|