Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/sched/
Drt.h40 extern void rt_mutex_setprio(struct task_struct *p, struct task_struct *pi_task);
/kernel/linux/linux-5.10/include/trace/events/
Dsched.h450 TP_PROTO(struct task_struct *tsk, struct task_struct *pi_task),
452 TP_ARGS(tsk, pi_task),
465 __entry->newprio = pi_task ?
466 min(tsk->normal_prio, pi_task->prio) :
/kernel/linux/linux-5.10/kernel/locking/
Drtmutex.c338 struct task_struct *pi_task = NULL; in rt_mutex_adjust_prio() local
343 pi_task = task_top_pi_waiter(p)->task; in rt_mutex_adjust_prio()
345 rt_mutex_setprio(p, pi_task); in rt_mutex_adjust_prio()
/kernel/linux/linux-5.10/kernel/sched/
Dcore.c5018 static inline int __rt_effective_prio(struct task_struct *pi_task, int prio) in __rt_effective_prio() argument
5020 if (pi_task) in __rt_effective_prio()
5021 prio = min(prio, pi_task->prio); in __rt_effective_prio()
5028 struct task_struct *pi_task = rt_mutex_get_top_task(p); in rt_effective_prio() local
5030 return __rt_effective_prio(pi_task, prio); in rt_effective_prio()
5044 void rt_mutex_setprio(struct task_struct *p, struct task_struct *pi_task) in rt_mutex_setprio() argument
5053 prio = __rt_effective_prio(pi_task, p->normal_prio); in rt_mutex_setprio()
5058 if (p->pi_top_task == pi_task && prio == p->prio && !dl_prio(prio)) in rt_mutex_setprio()
5073 p->pi_top_task = pi_task; in rt_mutex_setprio()
5099 trace_sched_pi_setprio(p, pi_task); in rt_mutex_setprio()
[all …]