Lines Matching refs:pi_task
6959 static inline int __rt_effective_prio(struct task_struct *pi_task, int prio) in __rt_effective_prio() argument
6961 if (pi_task) in __rt_effective_prio()
6962 prio = min(prio, pi_task->prio); in __rt_effective_prio()
6969 struct task_struct *pi_task = rt_mutex_get_top_task(p); in rt_effective_prio() local
6971 return __rt_effective_prio(pi_task, prio); in rt_effective_prio()
6985 void rt_mutex_setprio(struct task_struct *p, struct task_struct *pi_task) in rt_mutex_setprio() argument
6993 trace_android_rvh_rtmutex_prepare_setprio(p, pi_task); in rt_mutex_setprio()
6995 prio = __rt_effective_prio(pi_task, p->normal_prio); in rt_mutex_setprio()
7000 if (p->pi_top_task == pi_task && prio == p->prio && !dl_prio(prio)) in rt_mutex_setprio()
7015 p->pi_top_task = pi_task; in rt_mutex_setprio()
7041 trace_sched_pi_setprio(p, pi_task); in rt_mutex_setprio()
7066 (pi_task && dl_prio(pi_task->prio) && in rt_mutex_setprio()
7067 dl_entity_preempt(&pi_task->dl, &p->dl))) { in rt_mutex_setprio()
7068 p->dl.pi_se = pi_task->dl.pi_se; in rt_mutex_setprio()