Searched refs:pi_task (Results 1 – 5 of 5) sorted by relevance
/linux/include/linux/sched/ |
H A D | rt.h | 65 extern void rt_mutex_setprio(struct task_struct *p, struct task_struct *pi_task);
|
/linux/include/trace/events/ |
H A D | sched.h | 562 TP_PROTO(struct task_struct *tsk, struct task_struct *pi_task), 564 TP_ARGS(tsk, pi_task), 577 __entry->newprio = pi_task ? 578 min(tsk->normal_prio, pi_task->prio) :
|
/linux/kernel/locking/ |
H A D | rtmutex.c | 529 struct task_struct *pi_task = NULL; in rt_mutex_adjust_prio() local 536 pi_task = task_top_pi_waiter(p)->task; in rt_mutex_adjust_prio() 538 rt_mutex_setprio(p, pi_task); in rt_mutex_adjust_prio()
|
/linux/kernel/sched/ |
H A D | sched.h | 3882 static inline int __rt_effective_prio(struct task_struct *pi_task, int prio) in __rt_effective_prio() argument 3884 if (pi_task) in __rt_effective_prio() 3885 prio = min(prio, pi_task->prio); in __rt_effective_prio() 3892 struct task_struct *pi_task = rt_mutex_get_top_task(p); in rt_effective_prio() local 3894 return __rt_effective_prio(pi_task, prio); in rt_effective_prio()
|
H A D | core.c | 7149 void rt_mutex_setprio(struct task_struct *p, struct task_struct *pi_task) in rt_mutex_setprio() argument 7158 prio = __rt_effective_prio(pi_task, p->normal_prio); in rt_mutex_setprio() 7163 if (p->pi_top_task == pi_task && prio == p->prio && !dl_prio(prio)) in rt_mutex_setprio() 7178 p->pi_top_task = pi_task; in rt_mutex_setprio() 7204 trace_sched_pi_setprio(p, pi_task); in rt_mutex_setprio() 7234 (pi_task && dl_prio(pi_task->prio) && in rt_mutex_setprio() 7235 dl_entity_preempt(&pi_task->dl, &p->dl))) { in rt_mutex_setprio() 7236 p->dl.pi_se = pi_task->dl.pi_se; in rt_mutex_setprio()
|