Home
last modified time | relevance | path

Searched refs:new_prio (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-2.7.6/kernel/
Dmutex.c74 int new_prio = z_is_prio_higher(target, limit) ? target : limit; in new_prio_for_inheritance() local
76 new_prio = z_get_new_prio_with_ceiling(new_prio); in new_prio_for_inheritance()
78 return new_prio; in new_prio_for_inheritance()
81 static bool adjust_owner_prio(struct k_mutex *mutex, int32_t new_prio) in adjust_owner_prio() argument
83 if (mutex->owner->base.prio != new_prio) { in adjust_owner_prio()
88 new_prio, mutex->owner->base.prio); in adjust_owner_prio()
90 return z_set_prio(mutex->owner, new_prio); in adjust_owner_prio()
97 int new_prio; in z_impl_k_mutex_lock() local
137 new_prio = new_prio_for_inheritance(_current->base.prio, in z_impl_k_mutex_lock()
142 if (z_is_prio_higher(new_prio, mutex->owner->base.prio)) { in z_impl_k_mutex_lock()
[all …]
/Zephyr-Core-2.7.6/samples/subsys/portability/cmsis_rtos_v1/philosophers/src/
Dmain.c174 static int new_prio(int phil) in new_prio() function
188 int prio = new_prio(i); in start_threads()
/Zephyr-Core-2.7.6/samples/subsys/portability/cmsis_rtos_v2/philosophers/src/
Dmain.c208 static int new_prio(int phil) in new_prio() function
227 int prio = new_prio(i); in start_threads()
/Zephyr-Core-2.7.6/samples/philosophers/src/
Dmain.c182 static int new_prio(int phil) in new_prio() function
217 int prio = new_prio(i); in start_threads()
/Zephyr-Core-2.7.6/lib/posix/
Dpthread.c272 int new_prio; in pthread_setschedparam() local
286 new_prio = posix_to_zephyr_priority(param->sched_priority, policy); in pthread_setschedparam()
288 k_thread_priority_set(thread, new_prio); in pthread_setschedparam()