Home
last modified time | relevance | path

Searched refs:pi_task (Results 1 – 2 of 2) sorted by relevance

/kernel/locking/
Drtmutex.c487 struct task_struct *pi_task = NULL; in rt_mutex_adjust_prio() local
492 pi_task = task_top_pi_waiter(p)->task; in rt_mutex_adjust_prio()
494 rt_mutex_setprio(p, pi_task); in rt_mutex_adjust_prio()
/kernel/sched/
Dcore.c6946 static inline int __rt_effective_prio(struct task_struct *pi_task, int prio) in __rt_effective_prio() argument
6948 if (pi_task) in __rt_effective_prio()
6949 prio = min(prio, pi_task->prio); in __rt_effective_prio()
6956 struct task_struct *pi_task = rt_mutex_get_top_task(p); in rt_effective_prio() local
6958 return __rt_effective_prio(pi_task, prio); in rt_effective_prio()
6972 void rt_mutex_setprio(struct task_struct *p, struct task_struct *pi_task) in rt_mutex_setprio() argument
6981 trace_android_rvh_rtmutex_prepare_setprio(p, pi_task); in rt_mutex_setprio()
6983 prio = __rt_effective_prio(pi_task, p->normal_prio); in rt_mutex_setprio()
6985 trace_android_rvh_rtmutex_force_update(p, pi_task, &update); in rt_mutex_setprio()
6989 if (!update && p->pi_top_task == pi_task && prio == p->prio && !dl_prio(prio)) in rt_mutex_setprio()
[all …]