Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/sched/
Drt.h40 extern void rt_mutex_setprio(struct task_struct *p, struct task_struct *pi_task);
/Linux-v6.6/include/trace/events/
Dsched.h530 TP_PROTO(struct task_struct *tsk, struct task_struct *pi_task),
532 TP_ARGS(tsk, pi_task),
545 __entry->newprio = pi_task ?
546 min(tsk->normal_prio, pi_task->prio) :
/Linux-v6.6/kernel/locking/
Drtmutex.c507 struct task_struct *pi_task = NULL; in rt_mutex_adjust_prio() local
514 pi_task = task_top_pi_waiter(p)->task; in rt_mutex_adjust_prio()
516 rt_mutex_setprio(p, pi_task); in rt_mutex_adjust_prio()
/Linux-v6.6/kernel/sched/
Dcore.c7037 static inline int __rt_effective_prio(struct task_struct *pi_task, int prio) in __rt_effective_prio() argument
7039 if (pi_task) in __rt_effective_prio()
7040 prio = min(prio, pi_task->prio); in __rt_effective_prio()
7047 struct task_struct *pi_task = rt_mutex_get_top_task(p); in rt_effective_prio() local
7049 return __rt_effective_prio(pi_task, prio); in rt_effective_prio()
7063 void rt_mutex_setprio(struct task_struct *p, struct task_struct *pi_task) in rt_mutex_setprio() argument
7072 prio = __rt_effective_prio(pi_task, p->normal_prio); in rt_mutex_setprio()
7077 if (p->pi_top_task == pi_task && prio == p->prio && !dl_prio(prio)) in rt_mutex_setprio()
7092 p->pi_top_task = pi_task; in rt_mutex_setprio()
7118 trace_sched_pi_setprio(p, pi_task); in rt_mutex_setprio()
[all …]